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:           Tue Nov 29 13:04:17 UTC 2022

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

Log Message:
devel/ruby-mocha: update to 2.0.2

2.0.0 (2022-11-01)

External changes

* Remove support for Ruby v1.9 - thanks to @wasabigeek (#552)
* Support strict keyword argument matching - see docs for Expectation#with &
  Configuration#strict_keyword_argument_matching=
  - thanks to @wasabigeek (#446,#535,#544,#562)
* Deprecate Hash args that don't strictly match (#563,981c31be)
* Drop support for older versions of test-unit - gem versions of test-unit
  earlier than v2.5.1 and versions of test-unit from the Ruby v1.8 standard
  library are no longer supported (#540,969f4845)
* Drop support for older versions of minitest - versions of minitest earlier
  than v3.3.0 are no longer supported (#541,ca69dc9e)
* Remove deprecated mocha/setup.rb mechanism (642a0ff4)
* Add missing docs for API#stub parameter (257b4cb4)
* Remove optional reinstatement of v1.9 behaviour (#436,#438,#569,1473ee25)
* Remove deprecated methods in Configuration (#421,e7ff7528)
* Fail fast when mock receives invocations in another test
  (#440,#442,cb054d59)
* Improve docs re using matchers in Expectation#with (da7237cd)
* Expand Expectation#with docs re keyword arguments (fed6808d)
* Improve docs for strict_keyword_argument_matching (8d8f881d)
* Remove deprecated Rails plugin init.rb file (1c617175)
* Improve strict keyword argument matching deprecation warning by including
  the source location of the stub definition (77c0d4cc)
* Add README section re semantic versioning (00758246)

Internal changes

* Separate linting from tests in terms of Rake tasks & CircleCI jobs
  - thanks to @wasabigeek (#556)
* Remove tests specific to Ruby v1.8 behaviour (46fca7ac, 3b369e99)
* Multi-line rubocop disable in Mock#method_missing (af2194c4)
* Remove unused arg for HashMethods#mocha_inspect (4f59e27f)
* Improve test runner assertions - failure vs error (eec7200a)
* Improve test coverage of PositionalOrKeywordHash (c294fe70)
* More consistent Test::Unit & Minitest integration (27dd3817)
* Remove redundant require statements (d82218a8,fa17b114)
* Add missing require statement (73493761)
* Disable Style/Semicolon cop globally (8cd0b705)

2.0.1 (2022-11-03)

External changes

* Fix LoadError when using v2.0.0 with Ruby < v2.7 by moving declaration of
  runtime dependency on ruby2_keywords gem from Gemfile to mocha.gemspec -
  thanks to @mishina2228 for reporting (#581, #582, cdeb0356)

2.0.2 (2022-11-07)

External changes

* Fix regression in Mock#responds_like behaviour - thanks to
  @adrianna-chang-shopify for reporting (#580,#583,ba4d619e)


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/ruby-mocha/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/ruby-mocha/PLIST
cvs rdiff -u -r1.34 -r1.35 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.32 pkgsrc/devel/ruby-mocha/Makefile:1.33
--- pkgsrc/devel/ruby-mocha/Makefile:1.32       Sun Oct  9 07:20:04 2022
+++ pkgsrc/devel/ruby-mocha/Makefile    Tue Nov 29 13:04:17 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2022/10/09 07:20:04 taca Exp $
+# $NetBSD: Makefile,v 1.33 2022/11/29 13:04:17 taca Exp $
 
-DISTNAME=      mocha-1.15.0
+DISTNAME=      mocha-2.0.2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,5 +10,7 @@ LICENSE=      ruby-license OR mit
 
 USE_LANGUAGES= # none
 
+DEPENDS+=      ${RUBY_PKGPREFIX}-ruby2_keywords>=0.0.5:../../devel/ruby-ruby2_keywords
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/ruby-mocha/PLIST
diff -u pkgsrc/devel/ruby-mocha/PLIST:1.29 pkgsrc/devel/ruby-mocha/PLIST:1.30
--- pkgsrc/devel/ruby-mocha/PLIST:1.29  Sun Oct  9 07:20:04 2022
+++ pkgsrc/devel/ruby-mocha/PLIST       Tue Nov 29 13:04:17 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2022/10/09 07:20:04 taca Exp $
+@comment $NetBSD: PLIST,v 1.30 2022/11/29 13:04:17 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gemtest
 ${GEM_LIBDIR}/.github/FUNDING.yml
@@ -14,7 +14,6 @@ ${GEM_LIBDIR}/RELEASE.md
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/gemfiles/Gemfile.minitest.latest
 ${GEM_LIBDIR}/gemfiles/Gemfile.test-unit.latest
-${GEM_LIBDIR}/init.rb
 ${GEM_LIBDIR}/lib/mocha.rb
 ${GEM_LIBDIR}/lib/mocha/any_instance_method.rb
 ${GEM_LIBDIR}/lib/mocha/api.rb
@@ -40,30 +39,13 @@ ${GEM_LIBDIR}/lib/mocha/hooks.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/mini_test.rb
 ${GEM_LIBDIR}/lib/mocha/integration/mini_test/adapter.rb
 ${GEM_LIBDIR}/lib/mocha/integration/mini_test/exception_translation.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/nothing.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_13.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_140.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_141.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_142_to_172.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_200.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_201_to_222.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_2110_to_2111.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_2112_to_320.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_230_to_2101.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/integration/test_unit/gem_version_200.rb
-${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_201_to_202.rb
-${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_203_to_220.rb
-${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_230_to_250.rb
-${GEM_LIBDIR}/lib/mocha/integration/test_unit/nothing.rb
-${GEM_LIBDIR}/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb
 ${GEM_LIBDIR}/lib/mocha/invocation.rb
 ${GEM_LIBDIR}/lib/mocha/is_a.rb
 ${GEM_LIBDIR}/lib/mocha/logger.rb
@@ -95,6 +77,7 @@ ${GEM_LIBDIR}/lib/mocha/parameter_matche
 ${GEM_LIBDIR}/lib/mocha/parameter_matchers/kind_of.rb
 ${GEM_LIBDIR}/lib/mocha/parameter_matchers/not.rb
 ${GEM_LIBDIR}/lib/mocha/parameter_matchers/optionally.rb
+${GEM_LIBDIR}/lib/mocha/parameter_matchers/positional_or_keyword_hash.rb
 ${GEM_LIBDIR}/lib/mocha/parameter_matchers/regexp_matches.rb
 ${GEM_LIBDIR}/lib/mocha/parameter_matchers/responds_with.rb
 ${GEM_LIBDIR}/lib/mocha/parameter_matchers/yaml_equivalent.rb
@@ -104,7 +87,6 @@ ${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
-${GEM_LIBDIR}/lib/mocha/setup.rb
 ${GEM_LIBDIR}/lib/mocha/single_return_value.rb
 ${GEM_LIBDIR}/lib/mocha/state_machine.rb
 ${GEM_LIBDIR}/lib/mocha/stubbed_method.rb

Index: pkgsrc/devel/ruby-mocha/distinfo
diff -u pkgsrc/devel/ruby-mocha/distinfo:1.34 pkgsrc/devel/ruby-mocha/distinfo:1.35
--- pkgsrc/devel/ruby-mocha/distinfo:1.34       Sun Oct  9 07:20:04 2022
+++ pkgsrc/devel/ruby-mocha/distinfo    Tue Nov 29 13:04:17 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.34 2022/10/09 07:20:04 taca Exp $
+$NetBSD: distinfo,v 1.35 2022/11/29 13:04:17 taca Exp $
 
-BLAKE2s (mocha-1.15.0.gem) = dd5e76f05f448a68c68071f6ec55e164aeab7d7e928347788e4be4be913204d4
-SHA512 (mocha-1.15.0.gem) = f381d54a782961777d78fb836661077017e0aeaefa56b8a6e4591765fd95417d225c188cf558e960bfe962b0947ec7cab60de57dfb319c9abc74674e54d9bc2d
-Size (mocha-1.15.0.gem) = 68096 bytes
+BLAKE2s (mocha-2.0.2.gem) = 0335cdeb94ef15de2ba9d79c854d5cfc6a00b60fe8a210f18cab5812442242bc
+SHA512 (mocha-2.0.2.gem) = d701f77ad839c68e4bac6760a58d35e92c78c5fe1c3cacce819037bcf57296085b0e681d1c4b9eabcbc1facc1c7530bead5ddbb1d80aacebe89854c3229eb24c
+Size (mocha-2.0.2.gem) = 65536 bytes



Home | Main Index | Thread Index | Old Index