pkgsrc/devel/ruby-minitest/Makefile

15 lines
345 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2020/01/16 15:35:43 taca Exp $
DISTNAME= minitest-5.14.0
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/seattlerb/minitest
COMMENT= Complete suite of testing facilities for Ruby
devel/ruby-minitest: update to 5.11.1. === 5.11.1 / 2018-01-02 * 1 bug fix: * Fixed Result (a superclass of Test) overriding Runnable's name accessors. (y-yagi, MSP-Greg) === 5.11.0 / 2018-01-01 * 2 major enhancements: * Added Minitest::Result and Minitest::Result.from(runnable). * Changed Minitest::Test to subclass Result and refactored methods up. * 7 minor enhancements: * Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally. * Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull) * Added deprecation warning for Runnable#marshal_dump. * Minitest.run_one_method now checks for instance of Result, not exact same class. * Minitest::Test.run returns a Result version of self, not self. * ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers. * 4 bug fixes: * Object.stub no longer calls the passed block if stubbed with a callable. * Object.stub now passes blocks down to the callable result. * Pushed Minitest::Test#time & #time_it up to Runnable. * Test nil equality directly in assert_equal. Fixes #679. (voxik) === 5.11.0b1 / 2017-12-20 * 2 major enhancements: * Added Minitest::Result and Minitest::Result.from(runnable). * Changed Minitest::Test to subclass Result and refactored methods up. * 6 minor enhancements: * Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally. * Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull) * Minitest.run_one_method now checks for instance of Result, not exact same class. * Minitest::Test.run returns a Result version of self, not self. * ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers. * Removed Runnable.marshal_dump/load. * 4 bug fixes: * Object.stub no longer calls the passed block if stubbed with a callable. * Object.stub now passes blocks down to the callable result. * Pushed Minitest::Test#time & #time_it up to Runnable. * Test nil equality directly in assert_equal. Fixes #679. (voxik)
2018-01-04 14:16:32 +01:00
LICENSE= mit
devel/ruby-minitest: update to 5.13.0 Update ruby-minitest to 5.13.0. === 5.13.0 / 2019-10-29 * 9 minor enhancements: * Added Minitest::Guard#osx? * Added examples to documentation for assert_raises. (lxxxvi) * Added expectations #path_must_exist and #path_wont_exist. Not thrilled with the names. * Added fail_after(year, month, day, msg) to allow time-bombing after a deadline. * Added skip_until(year, month, day, msg) to allow deferring until a deadline. * Deprecated Minitest::Guard#maglev? * Deprecated Minitest::Guard#rubinius? * Finally added assert_path_exists and refute_path_exists. (deivid-rodriguez) * Refactored and pulled Assertions#things_to_diff out of #diff. (BurdetteLamar) * 3 bug fixes: * Fix autorun bug that affects fork exit status in tests. (dylanahsmith/jhawthorn) * Improved documentation for _/value/expect, especially for blocks. (svoop) * Support new Proc#to_s format. (ko1) === 5.12.2 / 2019-09-28 * 1 bug fix: * After chatting w/ @y-yagi and others, decided to lower support to include ruby 2.2. === 5.12.1 / 2019-09-28 * 1 minor enhancement: * Added documentation for Reporter classes. (sshaw) * 3 bug fixes: * Avoid using 'match?' to support older ruby versions. (y-yagi) * Fixed broken link to reference on goodness-of-fit testing. (havenwood) * Update requirements in readme and Rakefile/hoe spec. === 5.12.0 / 2019-09-22 * 8 minor enhancements: * Added a descriptive error if assert_output or assert_raises called without a block. (okuramasafumi) * Changed mu_pp_for_diff to make having both \n and \\n easier to debug. * Deprecated $N for specifying number of parallel test runners. Use MT_CPU. * Deprecated use of global expectations. To be removed from MT6. * Extended Assertions#mu_pp to encoding validity output for strings to improve diffs. * Extended Assertions#mu_pp to output encoding and validity if invalid to improve diffs. * Extended Assertions#mu_pp_for_diff to make escaped newlines more obvious in diffs. * Fail gracefully when expectation used outside of `it`. * 3 bug fixes: * Check `option[:filter]` klass before match. Fixes 2.6 warning. (y-yagi) * Fixed Assertions#diff from recalculating if set to nil * Fixed spec section of readme to not use deprecated global expectations. (CheezItMan)
2019-10-30 16:16:50 +01:00
USE_LANGUAGES= # none
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"