Skip to content

Commit

Permalink
devel/ruby-minitest: update to 5.16.2
Browse files Browse the repository at this point in the history
5.16.2 (2022-07-03)

4 bug fixes:

* Added MT_KWARGS_HACK kludge for stub to deal with ruby 2.7 kwargs
  nastiness. (tsugimoto)

* In #expect, pop Hash class from args if $MT_KWARGS_HACK. (casperisfine)

* In above scenario, set expected kwargs (as Objects) based on actual
  kwargs.

* Nuke ivars if exception fails to marshal twice (eg better_errors).
  (irphilli)

5.16.1 (2022-06-20)

2 bug fixes:

* Apparently adding real kwarg support to mocks/stubs broke some
  code. Fixed.

	o Use `MT_KWARGS_HACK=1` to activate the kludgy kwargs support w/
	  caveats.

* Clarified some doco wrt the block on #stub.

5.16.0 (2022-06-14)

2 major enhancements:

* Added Minitest::TestTask.

* Dropping ruby 2.2 - 2.5. 2.6 is DTM soon too.

11 minor enhancements:

* Added –show-skips option to show skips at end of run but not require
  –verbose. (MSP-Greg)

* Added Minitest.seed, the random seed used by the run.

* Calling `srand Minitest.seed` before all shuffles to ensure determinism.

* Extended #stub to handle kwargs for both block and call args.
  (SampsonCrowley)

* Extended Mock#__call to display kwargs.

* Extended Mock#expect to record kwargs.

* Extended Mock#method_missing to take kwargs & compare them against
  expected.

* Mock#method_missing displays better errors on arity mismatch.

* Removed minor optimization removing empty suites before run.

* Simplified test randomization (test order will change even with fixed
  seed).

* assert_match now returns the MatchData on success. (Nakilon)

3 bug fixes:

* (Re)Fixed marshalling of exceptions, neutering them in 2 passes.

* Fixed more problems with rdoc.

* Had to patch up mock and stub to deal with <=2.7 kwargs oddities
  • Loading branch information
taca committed Aug 11, 2022
1 parent caccd44 commit d2bd078
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions devel/ruby-minitest/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.25 2021/12/19 06:34:13 taca Exp $
# $NetBSD: Makefile,v 1.26 2022/08/11 13:24:37 taca Exp $

DISTNAME= minitest-5.15.0
DISTNAME= minitest-5.16.2
CATEGORIES= devel

MAINTAINER= pkgsrc-users@NetBSD.org
Expand Down
4 changes: 3 additions & 1 deletion devel/ruby-minitest/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.7 2019/10/30 15:16:50 taca Exp $
@comment $NetBSD: PLIST,v 1.8 2022/08/11 13:24:37 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/History.rdoc
Expand All @@ -19,6 +19,7 @@ ${GEM_LIBDIR}/lib/minitest/pride.rb
${GEM_LIBDIR}/lib/minitest/pride_plugin.rb
${GEM_LIBDIR}/lib/minitest/spec.rb
${GEM_LIBDIR}/lib/minitest/test.rb
${GEM_LIBDIR}/lib/minitest/test_task.rb
${GEM_LIBDIR}/lib/minitest/unit.rb
${GEM_LIBDIR}/test/minitest/metametameta.rb
${GEM_LIBDIR}/test/minitest/test_minitest_assertions.rb
Expand All @@ -27,4 +28,5 @@ ${GEM_LIBDIR}/test/minitest/test_minitest_mock.rb
${GEM_LIBDIR}/test/minitest/test_minitest_reporter.rb
${GEM_LIBDIR}/test/minitest/test_minitest_spec.rb
${GEM_LIBDIR}/test/minitest/test_minitest_test.rb
${GEM_LIBDIR}/test/minitest/test_minitest_test_task.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
8 changes: 4 additions & 4 deletions devel/ruby-minitest/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.26 2021/12/19 06:34:13 taca Exp $
$NetBSD: distinfo,v 1.27 2022/08/11 13:24:37 taca Exp $

BLAKE2s (minitest-5.15.0.gem) = 9d8c7e9c631b3efaf9738f6eba83048a6c83d424e504ec3870d42ac058886556
SHA512 (minitest-5.15.0.gem) = 5e97a7aa616966ffc60e10cdc0ba123a7e793f10283ec3b6bf36066177036788cb950ad566fbac49e613b93f08b9846534f463017cde966b4890c3a34a2286be
Size (minitest-5.15.0.gem) = 87040 bytes
BLAKE2s (minitest-5.16.2.gem) = d1b001608c8e73b18d8ac9463df68de91876a9df60cc47bb89d48d09b10eaf1e
SHA512 (minitest-5.16.2.gem) = 714dc201e9a8a45eefa080ee1a45fa66acb2de0cf624e7c6233e7e1745c35ef9e1a8d24236ecf33f440c05c03f09e017c6ff1e077473b22e3abe5d1ff3126989
Size (minitest-5.16.2.gem) = 93184 bytes

0 comments on commit d2bd078

Please sign in to comment.