devel/ruby-minitest: update to 5.16.2 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 窶都how-skips option to show skips at end of run but not require 窶砺erbose. (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 odditiesdiff -r1.25 -r1.26 pkgsrc/devel/ruby-minitest/Makefile
(taca)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.25 2021/12/19 06:34:13 taca Exp $ | 1 | # $NetBSD: Makefile,v 1.26 2022/08/11 13:24:37 taca Exp $ | |
2 | 2 | |||
3 | DISTNAME= minitest-5.15.0 | 3 | DISTNAME= minitest-5.16.2 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | 5 | |||
6 | MAINTAINER= pkgsrc-users@NetBSD.org | 6 | MAINTAINER= pkgsrc-users@NetBSD.org | |
7 | HOMEPAGE= https://github.com/seattlerb/minitest | 7 | HOMEPAGE= https://github.com/seattlerb/minitest | |
8 | COMMENT= Complete suite of testing facilities for Ruby | 8 | COMMENT= Complete suite of testing facilities for Ruby | |
9 | LICENSE= mit | 9 | LICENSE= mit | |
10 | 10 | |||
11 | USE_LANGUAGES= # none | 11 | USE_LANGUAGES= # none | |
12 | 12 | |||
13 | .include "../../lang/ruby/gem.mk" | 13 | .include "../../lang/ruby/gem.mk" | |
14 | .include "../../mk/bsd.pkg.mk" | 14 | .include "../../mk/bsd.pkg.mk" |
@@ -1,30 +1,32 @@ | @@ -1,30 +1,32 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.7 2019/10/30 15:16:50 taca Exp $ | 1 | @comment $NetBSD: PLIST,v 1.8 2022/08/11 13:24:37 taca Exp $ | |
2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | 2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | |
3 | ${GEM_LIBDIR}/.autotest | 3 | ${GEM_LIBDIR}/.autotest | |
4 | ${GEM_LIBDIR}/History.rdoc | 4 | ${GEM_LIBDIR}/History.rdoc | |
5 | ${GEM_LIBDIR}/Manifest.txt | 5 | ${GEM_LIBDIR}/Manifest.txt | |
6 | ${GEM_LIBDIR}/README.rdoc | 6 | ${GEM_LIBDIR}/README.rdoc | |
7 | ${GEM_LIBDIR}/Rakefile | 7 | ${GEM_LIBDIR}/Rakefile | |
8 | ${GEM_LIBDIR}/design_rationale.rb | 8 | ${GEM_LIBDIR}/design_rationale.rb | |
9 | ${GEM_LIBDIR}/lib/hoe/minitest.rb | 9 | ${GEM_LIBDIR}/lib/hoe/minitest.rb | |
10 | ${GEM_LIBDIR}/lib/minitest.rb | 10 | ${GEM_LIBDIR}/lib/minitest.rb | |
11 | ${GEM_LIBDIR}/lib/minitest/assertions.rb | 11 | ${GEM_LIBDIR}/lib/minitest/assertions.rb | |
12 | ${GEM_LIBDIR}/lib/minitest/autorun.rb | 12 | ${GEM_LIBDIR}/lib/minitest/autorun.rb | |
13 | ${GEM_LIBDIR}/lib/minitest/benchmark.rb | 13 | ${GEM_LIBDIR}/lib/minitest/benchmark.rb | |
14 | ${GEM_LIBDIR}/lib/minitest/expectations.rb | 14 | ${GEM_LIBDIR}/lib/minitest/expectations.rb | |
15 | ${GEM_LIBDIR}/lib/minitest/hell.rb | 15 | ${GEM_LIBDIR}/lib/minitest/hell.rb | |
16 | ${GEM_LIBDIR}/lib/minitest/mock.rb | 16 | ${GEM_LIBDIR}/lib/minitest/mock.rb | |
17 | ${GEM_LIBDIR}/lib/minitest/parallel.rb | 17 | ${GEM_LIBDIR}/lib/minitest/parallel.rb | |
18 | ${GEM_LIBDIR}/lib/minitest/pride.rb | 18 | ${GEM_LIBDIR}/lib/minitest/pride.rb | |
19 | ${GEM_LIBDIR}/lib/minitest/pride_plugin.rb | 19 | ${GEM_LIBDIR}/lib/minitest/pride_plugin.rb | |
20 | ${GEM_LIBDIR}/lib/minitest/spec.rb | 20 | ${GEM_LIBDIR}/lib/minitest/spec.rb | |
21 | ${GEM_LIBDIR}/lib/minitest/test.rb | 21 | ${GEM_LIBDIR}/lib/minitest/test.rb | |
22 | ${GEM_LIBDIR}/lib/minitest/test_task.rb | |||
22 | ${GEM_LIBDIR}/lib/minitest/unit.rb | 23 | ${GEM_LIBDIR}/lib/minitest/unit.rb | |
23 | ${GEM_LIBDIR}/test/minitest/metametameta.rb | 24 | ${GEM_LIBDIR}/test/minitest/metametameta.rb | |
24 | ${GEM_LIBDIR}/test/minitest/test_minitest_assertions.rb | 25 | ${GEM_LIBDIR}/test/minitest/test_minitest_assertions.rb | |
25 | ${GEM_LIBDIR}/test/minitest/test_minitest_benchmark.rb | 26 | ${GEM_LIBDIR}/test/minitest/test_minitest_benchmark.rb | |
26 | ${GEM_LIBDIR}/test/minitest/test_minitest_mock.rb | 27 | ${GEM_LIBDIR}/test/minitest/test_minitest_mock.rb | |
27 | ${GEM_LIBDIR}/test/minitest/test_minitest_reporter.rb | 28 | ${GEM_LIBDIR}/test/minitest/test_minitest_reporter.rb | |
28 | ${GEM_LIBDIR}/test/minitest/test_minitest_spec.rb | 29 | ${GEM_LIBDIR}/test/minitest/test_minitest_spec.rb | |
29 | ${GEM_LIBDIR}/test/minitest/test_minitest_test.rb | 30 | ${GEM_LIBDIR}/test/minitest/test_minitest_test.rb | |
31 | ${GEM_LIBDIR}/test/minitest/test_minitest_test_task.rb | |||
30 | ${GEM_HOME}/specifications/${GEM_NAME}.gemspec | 32 | ${GEM_HOME}/specifications/${GEM_NAME}.gemspec |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.26 2021/12/19 06:34:13 taca Exp $ | 1 | $NetBSD: distinfo,v 1.27 2022/08/11 13:24:37 taca Exp $ | |
2 | 2 | |||
3 | BLAKE2s (minitest-5.15.0.gem) = 9d8c7e9c631b3efaf9738f6eba83048a6c83d424e504ec3870d42ac058886556 | 3 | BLAKE2s (minitest-5.16.2.gem) = d1b001608c8e73b18d8ac9463df68de91876a9df60cc47bb89d48d09b10eaf1e | |
4 | SHA512 (minitest-5.15.0.gem) = 5e97a7aa616966ffc60e10cdc0ba123a7e793f10283ec3b6bf36066177036788cb950ad566fbac49e613b93f08b9846534f463017cde966b4890c3a34a2286be | 4 | SHA512 (minitest-5.16.2.gem) = 714dc201e9a8a45eefa080ee1a45fa66acb2de0cf624e7c6233e7e1745c35ef9e1a8d24236ecf33f440c05c03f09e017c6ff1e077473b22e3abe5d1ff3126989 | |
5 | Size (minitest-5.15.0.gem) = 87040 bytes | 5 | Size (minitest-5.16.2.gem) = 93184 bytes |