The NetBSD Project

CVS log for pkgsrc/devel/ruby-mize/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-mize

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 28 15:34:49 2026 UTC (2 weeks, 4 days ago) by taca
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -4 lines
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.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 1 07:25:49 2026 UTC (8 months, 2 weeks ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1
devel/ruby-mize: add package version 0.6.1

This package is required by newer devel/ruby-tins package.


Mize

The mize library provides a simple and flexible way to memoize methods and
functions in Ruby, making it easier for developers to write high-performance
code without the need for manual caching implementations.  In this
README.md, we'll explore how mize can help you optimize your Ruby projects
using memoization techniques.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>