pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-minitest



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu Aug 11 13:24:37 UTC 2022

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

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/ruby-minitest/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/ruby-minitest/PLIST
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/ruby-minitest/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-minitest/Makefile
diff -u pkgsrc/devel/ruby-minitest/Makefile:1.25 pkgsrc/devel/ruby-minitest/Makefile:1.26
--- pkgsrc/devel/ruby-minitest/Makefile:1.25    Sun Dec 19 06:34:13 2021
+++ pkgsrc/devel/ruby-minitest/Makefile Thu Aug 11 13:24:37 2022
@@ -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@localhost

Index: pkgsrc/devel/ruby-minitest/PLIST
diff -u pkgsrc/devel/ruby-minitest/PLIST:1.7 pkgsrc/devel/ruby-minitest/PLIST:1.8
--- pkgsrc/devel/ruby-minitest/PLIST:1.7        Wed Oct 30 15:16:50 2019
+++ pkgsrc/devel/ruby-minitest/PLIST    Thu Aug 11 13:24:37 2022
@@ -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_minites
 ${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

Index: pkgsrc/devel/ruby-minitest/distinfo
diff -u pkgsrc/devel/ruby-minitest/distinfo:1.26 pkgsrc/devel/ruby-minitest/distinfo:1.27
--- pkgsrc/devel/ruby-minitest/distinfo:1.26    Sun Dec 19 06:34:13 2021
+++ pkgsrc/devel/ruby-minitest/distinfo Thu Aug 11 13:24:37 2022
@@ -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



Home | Main Index | Thread Index | Old Index