summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2022-08-11 13:24:37 +0000
committertaca <taca@pkgsrc.org>2022-08-11 13:24:37 +0000
commitd2bd078d13f4e103d47168c3b98b84a29a77987a (patch)
treeedc4fddae61df78377dba484419eac9943a2c76d
parentcaccd4490e41f051cf9a0b82227d04d372a4a707 (diff)
downloadpkgsrc-d2bd078d13f4e103d47168c3b98b84a29a77987a.tar.gz
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 –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
-rw-r--r--devel/ruby-minitest/Makefile4
-rw-r--r--devel/ruby-minitest/PLIST4
-rw-r--r--devel/ruby-minitest/distinfo8
3 files changed, 9 insertions, 7 deletions
diff --git a/devel/ruby-minitest/Makefile b/devel/ruby-minitest/Makefile
index ac40c23d848..f93c60f3976 100644
--- a/devel/ruby-minitest/Makefile
+++ b/devel/ruby-minitest/Makefile
@@ -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
diff --git a/devel/ruby-minitest/PLIST b/devel/ruby-minitest/PLIST
index ee12c31f83f..9608f994c38 100644
--- a/devel/ruby-minitest/PLIST
+++ b/devel/ruby-minitest/PLIST
@@ -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
@@ -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
@@ -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
diff --git a/devel/ruby-minitest/distinfo b/devel/ruby-minitest/distinfo
index c0022bb14a6..a959064e75d 100644
--- a/devel/ruby-minitest/distinfo
+++ b/devel/ruby-minitest/distinfo
@@ -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