pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-mocha
Module Name: pkgsrc
Committed By: taca
Date: Sat Jan 17 16:11:53 UTC 2026
Modified Files:
pkgsrc/devel/ruby-mocha: Makefile PLIST distinfo
Log Message:
devel/ruby-mocha: update to 3.0.1
2.8.0 (2025-11-11)
Many thanks to @etiennebarrie for his help in testing v3.0.0 release
candidates which led to many of these changes.
External changes
* Extract ParameterMatchers::BaseMethods module and deprecate inheriting
from ParameterMatchers::Base class (0ddfbe4b)
* Move matcher builder methods into ParameterMatchers::Methods module and
only include that module into API (2de41423)
* Provide deprecated access to matcher builder methods when including
ParameterMatchers module (299488e1)
* Provide deprecated access to matcher classes,
e.g. ParameterMatchers::Equals, from within tests/specs (dcced1b4)
Internal changes
* Move ParameterMatchers#parse_option -> HasEntry.parse_option (9e2a6f66)
2.8.1 (2025-11-15)
External changes
* Restore unqualified access to ParameterMatchers matcher classes, but
deprecate such access (5231a4f7)
* Restore unqualified access to ParameterMatchers::BaseMethods, but
deprecate such access (8a898567)
2.8.2 (2025-11-15)
External changes
* Improve source location of deprecation warning for ParameterMatchers
matcher classes (c5171488)
3.0.0 (2025-12-15)
External changes
* Improvements to docs for cardinality-related methods (#700)
* Drop support for Ruby v2.1 (#628 & #695)
* Improve gemspec description (#692 & #696)
* Remove docs for use_test_unit_gem option (eaf03493)
* Correct docs for MOCHA_OPTIONS "debug" value (69ef41c0)
* Use built-in Ruby debug option vs custom module (#714 & #715)
* Enable strict keyword argument matching by default in Ruby >= v3 (#697 &
#718)
* Use Ruby v1.9 Hash syntax in Hash#mocha_inspect used in failure messages
(#651 & #719)
* Improve #mocha_inspect for empty keyword argument Hash (#588 & #720) -
thanks to @herwinw for reporting
* Improve error if Mockery.teardown called before Mockery.setup (#611, #646
& #721) - thanks to @riniculous for reporting
* Freeze string literals (#722)
* Allow keyword arguments to match an expectation expecting only positional
arguments (#593 & #732) - thanks to @seandilda for reporting
* Fix compatibility with Ruby 3.5 (#755) - thanks to @Earlopain
* Add missing quotes to docs for
Mocha::ParameterMatchers::Methods#equivalent_uri (#757) - thanks to
@bensherman
* Increment assertion count on never expected invocation (#763 & #764)
* Remove deprecated ParameterMatchers::Base class; include
ParameterMatchers::BaseMethods module instead (415ae768)
* Remove deprecated ParameterMatcher methods now available in
ParameterMatcher::Methods (8de49979)
* Removed deprecated access to ParameterMatcher classes (6ea9e3f5)
Internal changes
* Add Expectation#thrice (#701) - thanks to @andrewn617
* Add base64 to Gemfile for Ruby >= v3.3.0 to avoid warning (8c49314c &
a76330d6)
* Include custom Gemfiles in Rubocop linting (04063f0d)
* Use ruby:3.4.0-rc1 vs ruby:3.4.0-preview2 in CI in preparation for the
Ruby v3.4 release (b2127407)
* Add ostruct to Gemfile for Ruby >= v3.4.0 to avoid warning (2b05e09e)
* Add Ruby v3.4 to CI build matrix (#708)
* Fix Ruby v3.4 warnings in ObjectInspectTest (#709 & #710)
* Rubocop-related improvements (#702 & #705)
* Consistently use development group in Gemfiles (#706 & #716)
* Add missing requires for 'mocha/ruby_version' (7f99db69)
* Convert ParameterMatchers::Base class -> module (#712 & #723)
* Enable ExpectMatchingDefinition option on Naming/FileName cop (#726)
* Remove duplicate DefaultReceiverTest (39d99954)
* Improvements to keyword argument matching tests (#730)
* Improvements to keyword argument matcher unit test (#731)
* Remove support for running tests with Minitest < v5 (#727)
* Remove workaround for JRuby jar-dependencies issue (#737)
* Add benchmark to Gemfile to fix warning (#733 & #740) - thanks to @nitishr
* Add documentation coverage check (#707, #743 & #745) - thanks to @nitishr
* Fix Lint/LiteralAsCondition violation (#746) - thanks to @nitishr
* Fix rdoc-related warning when running doc rake task (#741 & #747)
* Fail fast in CI builds on any Ruby warnings (#729 & #741) - thanks to
@nitishr
* Add ObjectMethods#stubba_respond_to? and use instead of Object#respond_to?
(#713, #742 & #750) - thanks to @nitishr
* Rename #stubbee -> #stubba_object and #mock_owner -> #stubbee (#463 &
#751) - thanks to @nitishr
* Fix enable-frozen-string-literal in CI build (#752) - thanks to @nitishr
* Various rubocop fixed (#754 & #756)
* Fix Layout/EmptyLinesAfterModuleInclusion violations (3f683220)
* Auto-correct Style/RedundantParentheses violations (0277a592)
* Automatically retry failed CI builds (9bbdbc66)
3.0.1 (2025-12-17)
External changes
* Fix Mocha/RSpec integration by reinstating argument default value for
Hooks#mocha_setup (#768 & #769) - thanks to @mackuba for reporting.
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/ruby-mocha/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/ruby-mocha/PLIST
cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/ruby-mocha/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-mocha/Makefile
diff -u pkgsrc/devel/ruby-mocha/Makefile:1.42 pkgsrc/devel/ruby-mocha/Makefile:1.43
--- pkgsrc/devel/ruby-mocha/Makefile:1.42 Mon Dec 9 13:53:10 2024
+++ pkgsrc/devel/ruby-mocha/Makefile Sat Jan 17 16:11:53 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2024/12/09 13:53:10 taca Exp $
+# $NetBSD: Makefile,v 1.43 2026/01/17 16:11:53 taca Exp $
-DISTNAME= mocha-2.7.1
+DISTNAME= mocha-3.0.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/devel/ruby-mocha/PLIST
diff -u pkgsrc/devel/ruby-mocha/PLIST:1.32 pkgsrc/devel/ruby-mocha/PLIST:1.33
--- pkgsrc/devel/ruby-mocha/PLIST:1.32 Sun May 5 16:45:54 2024
+++ pkgsrc/devel/ruby-mocha/PLIST Sat Jan 17 16:11:53 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2024/05/05 16:45:54 taca Exp $
+@comment $NetBSD: PLIST,v 1.33 2026/01/17 16:11:53 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/.github/FUNDING.yml
@@ -13,19 +13,22 @@ ${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/RELEASE.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/gemfiles/Gemfile.minitest.latest
+${GEM_LIBDIR}/gemfiles/Gemfile.rubocop
${GEM_LIBDIR}/gemfiles/Gemfile.test-unit.latest
${GEM_LIBDIR}/lib/mocha.rb
${GEM_LIBDIR}/lib/mocha/any_instance_method.rb
+${GEM_LIBDIR}/lib/mocha/any_instance_receiver.rb
${GEM_LIBDIR}/lib/mocha/api.rb
${GEM_LIBDIR}/lib/mocha/argument_iterator.rb
${GEM_LIBDIR}/lib/mocha/backtrace_filter.rb
-${GEM_LIBDIR}/lib/mocha/block_matcher.rb
+${GEM_LIBDIR}/lib/mocha/block_matchers.rb
${GEM_LIBDIR}/lib/mocha/cardinality.rb
${GEM_LIBDIR}/lib/mocha/central.rb
${GEM_LIBDIR}/lib/mocha/change_state_side_effect.rb
${GEM_LIBDIR}/lib/mocha/class_methods.rb
${GEM_LIBDIR}/lib/mocha/configuration.rb
-${GEM_LIBDIR}/lib/mocha/debug.rb
+${GEM_LIBDIR}/lib/mocha/default_name.rb
+${GEM_LIBDIR}/lib/mocha/default_receiver.rb
${GEM_LIBDIR}/lib/mocha/deprecation.rb
${GEM_LIBDIR}/lib/mocha/detection/minitest.rb
${GEM_LIBDIR}/lib/mocha/detection/test_unit.rb
@@ -36,33 +39,36 @@ ${GEM_LIBDIR}/lib/mocha/expectation_erro
${GEM_LIBDIR}/lib/mocha/expectation_error_factory.rb
${GEM_LIBDIR}/lib/mocha/expectation_list.rb
${GEM_LIBDIR}/lib/mocha/hooks.rb
+${GEM_LIBDIR}/lib/mocha/ignoring_warning.rb
+${GEM_LIBDIR}/lib/mocha/impersonating_any_instance_name.rb
+${GEM_LIBDIR}/lib/mocha/impersonating_name.rb
${GEM_LIBDIR}/lib/mocha/in_state_ordering_constraint.rb
${GEM_LIBDIR}/lib/mocha/inspect.rb
${GEM_LIBDIR}/lib/mocha/instance_method.rb
+${GEM_LIBDIR}/lib/mocha/integration.rb
${GEM_LIBDIR}/lib/mocha/integration/assertion_counter.rb
${GEM_LIBDIR}/lib/mocha/integration/minitest.rb
${GEM_LIBDIR}/lib/mocha/integration/minitest/adapter.rb
-${GEM_LIBDIR}/lib/mocha/integration/minitest/exception_translation.rb
${GEM_LIBDIR}/lib/mocha/integration/monkey_patcher.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit/adapter.rb
${GEM_LIBDIR}/lib/mocha/invocation.rb
-${GEM_LIBDIR}/lib/mocha/is_a.rb
${GEM_LIBDIR}/lib/mocha/logger.rb
${GEM_LIBDIR}/lib/mocha/macos_version.rb
${GEM_LIBDIR}/lib/mocha/method_matcher.rb
${GEM_LIBDIR}/lib/mocha/minitest.rb
${GEM_LIBDIR}/lib/mocha/mock.rb
${GEM_LIBDIR}/lib/mocha/mockery.rb
-${GEM_LIBDIR}/lib/mocha/names.rb
+${GEM_LIBDIR}/lib/mocha/name.rb
${GEM_LIBDIR}/lib/mocha/not_initialized_error.rb
${GEM_LIBDIR}/lib/mocha/object_methods.rb
+${GEM_LIBDIR}/lib/mocha/object_receiver.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers/all_of.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers/any_of.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers/any_parameters.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers/anything.rb
-${GEM_LIBDIR}/lib/mocha/parameter_matchers/base.rb
+${GEM_LIBDIR}/lib/mocha/parameter_matchers/base_methods.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers/equals.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers/equivalent_uri.rb
${GEM_LIBDIR}/lib/mocha/parameter_matchers/has_entries.rb
@@ -83,7 +89,6 @@ ${GEM_LIBDIR}/lib/mocha/parameter_matche
${GEM_LIBDIR}/lib/mocha/parameter_matchers/yaml_equivalent.rb
${GEM_LIBDIR}/lib/mocha/parameters_matcher.rb
${GEM_LIBDIR}/lib/mocha/raised_exception.rb
-${GEM_LIBDIR}/lib/mocha/receivers.rb
${GEM_LIBDIR}/lib/mocha/return_values.rb
${GEM_LIBDIR}/lib/mocha/ruby_version.rb
${GEM_LIBDIR}/lib/mocha/sequence.rb
Index: pkgsrc/devel/ruby-mocha/distinfo
diff -u pkgsrc/devel/ruby-mocha/distinfo:1.44 pkgsrc/devel/ruby-mocha/distinfo:1.45
--- pkgsrc/devel/ruby-mocha/distinfo:1.44 Mon Dec 9 13:53:10 2024
+++ pkgsrc/devel/ruby-mocha/distinfo Sat Jan 17 16:11:53 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.44 2024/12/09 13:53:10 taca Exp $
+$NetBSD: distinfo,v 1.45 2026/01/17 16:11:53 taca Exp $
-BLAKE2s (mocha-2.7.1.gem) = 4fadb4aca1ad789cd25bd2f9082a94883e51cfa53293da907d8aa5cedcf89731
-SHA512 (mocha-2.7.1.gem) = d60af903e47e9f402a1fff7b39baeda4bae0f6240d0ebfa5d0e28875e5c4dabd0f47ef8753502bab7ef4f8e3dfbabf3cb650b91521ceeefebc4b8f1427d01fa3
-Size (mocha-2.7.1.gem) = 69632 bytes
+BLAKE2s (mocha-3.0.1.gem) = 7996f5881bc5f81f2e062958e35f3671b9a8c9a2f4f0141ad2b9524248efd388
+SHA512 (mocha-3.0.1.gem) = 63a10f649c67a1ea254c8529f3ef1e4c5e04297945e42065e09c8a94873256b730cb3558c3e0ec3ce292ba80bcd7d184b2b019810ec6432679d7f2438c1a9c44
+Size (mocha-3.0.1.gem) = 72192 bytes
Home |
Main Index |
Thread Index |
Old Index