Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (2h)  pkgsrc-2024Q1 (11d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (90d)  pkgsrc-2023Q3 (169d) 

2024-05-28 13:16:05 UTC Now

2022-08-11 13:24:37 UTC MAIN commitmail json YAML

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 oddities

(taca)