pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-mize



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Oct 28 15:34:49 UTC 2026

Modified Files:
        pkgsrc/devel/ruby-mize: Makefile PLIST distinfo

Log Message:
devel/ruby-mize: update to 0.7.0

0.7.0 (2026-10-17)

Breaking

* Removed support for Ruby 3.0 from the CI test matrix.

* Removed the vestigial MonitorMixin inclusion from Mize::DefaultCache, as
  the class is now a plain Hash wrapper relying on the GVL for atomicity.

Features

* Added Mize.synchronize API to expose the internal MUTEX for atomic
* multi-step operations, with specific handling for ThreadError in trap
  contexts.

* Added a GitHub Actions workflow (static.yml) to generate YARD
  documentation and deploy it to GitHub Pages.

* Added changelog configuration to the Rakefile to enable automated
  generation of CHANGES.md.

* Added source_code_uri metadata to the gemspec.

Improvements

* Added comprehensive YARD documentation to all library modules (Mize,
  Mize::Memoize, Mize::CacheMethods, Mize::CacheProtocol, Mize::Configure,
  Mize::DefaultCache, Mize::GlobalClear, Mize::Railtie, and Mize::Reload).

* Improved the generated lib/mize/version.rb template with module-level and
  constant-level YARD comments.

* Replaced manual SimpleCov initialization in spec/spec_helper.rb with
  gem_hadar/simplecov and added error handling for missing dependencies.

* Migrated internal Mize::MUTEX.synchronize calls in global_clear.rb,
  memoize.rb, and reload.rb to use the new Mize.synchronize API.

* Removed the obsolete .utilsrc configuration file.

* Removed unused config/config.yml and config/broken_config.yml files.

* Corrected the typo "memoziation" to "memoization" in the gem summary and
  description.

Build & CI

* Updated CI configuration to support Ruby 4.0 by adding yaml-dev and
  openssl-dev dependencies and updating the bundler setup.

* Aligned .all_images.yml with standard multi-image configuration, including
  before/after hooks for Gemfile.lock cleanup and result echoing.

* Updated gem_hadar development dependency to 2.20.1.

* Updated rubygems_version in the gemspec to 4.0.22.

* Removed bundle update --all from the CI script in favor of bundle install
  --jobs=$(getconf _NPROCESSORS_ONLN).

Testing

* Added spec/mize_spec.rb to verify Mize.synchronize block return values and
  lock identity.

* Added -rspec_helper to .rspec and removed explicit require 'spec_helper'
  statements from spec files.

Documentation

* Restructured README.md to cover the full API surface, including options
  (freeze:, store_nil:), keyword arguments, targeted cache clearing, global
  cache, custom cache backends, and Rails integration.

* Replaced the introductory text with a concise description and added proper
  fenced code blocks with language tags.

* Removed the redundant "Download" section, folding the repository link into
  the "Repository" section.

* Added a "Documentation" section to README.md linking to the hosted API
  documentation.

* Updated README.md to reflect the removal of MonitorMixin from the default
  cache backend description.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ruby-mize/Makefile \
    pkgsrc/devel/ruby-mize/PLIST pkgsrc/devel/ruby-mize/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-mize/Makefile
diff -u pkgsrc/devel/ruby-mize/Makefile:1.1 pkgsrc/devel/ruby-mize/Makefile:1.2
--- pkgsrc/devel/ruby-mize/Makefile:1.1 Sun Mar  1 07:25:49 2026
+++ pkgsrc/devel/ruby-mize/Makefile     Wed Oct 28 15:34:49 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2026/03/01 07:25:49 taca Exp $
+# $NetBSD: Makefile,v 1.2 2026/10/28 15:34:49 taca Exp $
 
-DISTNAME=      mize-0.6.1
+DISTNAME=      mize-0.7.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/devel/ruby-mize/PLIST
diff -u pkgsrc/devel/ruby-mize/PLIST:1.1 pkgsrc/devel/ruby-mize/PLIST:1.2
--- pkgsrc/devel/ruby-mize/PLIST:1.1    Sun Mar  1 07:25:49 2026
+++ pkgsrc/devel/ruby-mize/PLIST        Wed Oct 28 15:34:49 2026
@@ -1,18 +1,16 @@
-@comment $NetBSD: PLIST,v 1.1 2026/03/01 07:25:49 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/10/28 15:34:49 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.all_images.yml
+${GEM_LIBDIR}/.github/workflows/static.yml
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.rspec
 ${GEM_LIBDIR}/.travis.yml
-${GEM_LIBDIR}/.utilsrc
 ${GEM_LIBDIR}/CHANGES.md
 ${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/VERSION
-${GEM_LIBDIR}/config/broken_config.yml
-${GEM_LIBDIR}/config/config.yml
 ${GEM_LIBDIR}/lib/mize.rb
 ${GEM_LIBDIR}/lib/mize/cache_methods.rb
 ${GEM_LIBDIR}/lib/mize/cache_protocol.rb
@@ -28,5 +26,6 @@ ${GEM_LIBDIR}/spec/mize/global_clear_spe
 ${GEM_LIBDIR}/spec/mize/memoize_method_spec.rb
 ${GEM_LIBDIR}/spec/mize/memoize_reload_spec.rb
 ${GEM_LIBDIR}/spec/mize/version_spec.rb
+${GEM_LIBDIR}/spec/mize_spec.rb
 ${GEM_LIBDIR}/spec/spec_helper.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/devel/ruby-mize/distinfo
diff -u pkgsrc/devel/ruby-mize/distinfo:1.1 pkgsrc/devel/ruby-mize/distinfo:1.2
--- pkgsrc/devel/ruby-mize/distinfo:1.1 Sun Mar  1 07:25:49 2026
+++ pkgsrc/devel/ruby-mize/distinfo     Wed Oct 28 15:34:49 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2026/03/01 07:25:49 taca Exp $
+$NetBSD: distinfo,v 1.2 2026/10/28 15:34:49 taca Exp $
 
-BLAKE2s (mize-0.6.1.gem) = 2d041379cf0ce0ca5185d5c387612b8ae943007264a0ae0f638ebaa31150a02f
-SHA512 (mize-0.6.1.gem) = 8e6bad0ecd851dabb23eaa3bfdb6076c3c1b76428f2c131a6e1081d0784798b52df40457bd551ea239beafafd58c0eafa0d46c5b8c46f580b0cfc20d7cffd4c8
-Size (mize-0.6.1.gem) = 13312 bytes
+BLAKE2s (mize-0.7.0.gem) = 5d960c5e63a02a85e054e20ac825a54d7d7ed46974ae5fd142d83cb7837cd13b
+SHA512 (mize-0.7.0.gem) = 64b6d815add7da9298b0bee5418ee26038fbf106f45153408f6faafd7d1a14e7672cd40d80d0511d766ecdd8f895d03018a3943d7284797efb6ddefd7acaf182
+Size (mize-0.7.0.gem) = 19456 bytes



Home | Main Index | Thread Index | Old Index