minitest 5.3.0 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 595796aaf004192153301e233836d6bef959d8ff
4
- data.tar.gz: 2b88e68313e47c30fb0baefe95f9b111107717f4
3
+ metadata.gz: f7e3e7acef0ac62b5f542ab83fb15fcaa4eca925
4
+ data.tar.gz: 9018a390ab4c339eaed0214402f4971c656a88f7
5
5
  SHA512:
6
- metadata.gz: f9d24fe5cf14d032a0efdcbcf93cd57e30365603df256e912a6514ef1847ec9348d4471f085d7b2ca5aaad7ef81158494942e60ba08ff4dcaef486e43d756237
7
- data.tar.gz: 0e9267cec4df14676655d54b209629d7ccd317f6de0cd7da9404d203b97d4a29f9c19f8cc6fe56fa4ce9af012ab0bccc65d733b417f2bd8759b33f1369efa7f7
6
+ metadata.gz: b2fab4375e4b7518369c9f7ab85429f483450fdccafdefa2ccf900953033d9e968c63c55ff52020b453110e5aa37ee88a825a1fec58f985546ef9c9a59be8dba
7
+ data.tar.gz: 67bc0baba49897561cc8011a7a18b7d313a2c5f9e9afbf2b5bfded423ba6b49611cfe303b1003c185cc96a9943baa7af020bf35273b404bc1281d57da27af9e2
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- |��[1]����1mc ��MzE{+M��B#���C �S<�ueƸ�m'nߨNXJw����Xƌ?3� �ҧo㥠ɏ���j4I���+Q���ٵ���]����"Me|Z�~��aY��_��y qܬ.�+ٸ
2
- _~�N'p:�Flj*H]�"3%ڗT���2��/֋�O��ވ�]O��}LtXO��"&�+
1
+ EV�?�����#�ӭhX3��e���5"q��sb*ťQz�o$�6����%0/F���f�,���{9{H��hxR��N�* ��L��|�>B�$ĝ��� ԓ6�B@�C���������cL#s�ݧ
2
+ 8%it�ȭaXH��3Z돷���z�L�Y�5�0�=\d��d��f60*�.De��+�}?�����.5��C��� ~hn��tQ&@���0����N�5��ܮF�ߪ=�`� ��T�a
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ === 5.3.1 / 2014-03-14
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Modified verbage on bad 'let' names to be more helpful. (Archytaus)
6
+
7
+ * 1 bug fix:
8
+
9
+ * Fixed 2 cases still using MiniTest. (mikesea)
10
+
1
11
  === 5.3.0 / 2014-02-25
2
12
 
3
13
  * 1 minor enhancement:
data/README.txt CHANGED
@@ -382,67 +382,91 @@ for you, so make sure you don't do it twice.
382
382
 
383
383
  == Known Extensions:
384
384
 
385
- capybara_minitest_spec :: Bridge between Capybara RSpec matchers and MiniTest::Spec expectations (e.g. page.must_have_content("Title")).
385
+ capybara_minitest_spec :: Bridge between Capybara RSpec matchers and
386
+ Minitest::Spec expectations (e.g.
387
+ page.must_have_content("Title")).
386
388
  minispec-metadata :: Metadata for describe/it blocks
387
389
  (e.g. `it "requires JS driver", js: true do`)
388
390
  minitest-ansi :: Colorize minitest output with ANSI colors.
389
- minitest-around :: Around block for minitest. An alternative to setup/teardown dance.
390
- minitest-capistrano :: Assertions and expectations for testing Capistrano recipes
391
- minitest-capybara :: Capybara matchers support for minitest unit and spec
391
+ minitest-around :: Around block for minitest. An alternative to
392
+ setup/teardown dance.
393
+ minitest-capistrano :: Assertions and expectations for testing
394
+ Capistrano recipes.
395
+ minitest-capybara :: Capybara matchers support for minitest unit and
396
+ spec.
392
397
  minitest-chef-handler :: Run Minitest suites as Chef report handlers
393
- minitest-ci :: CI reporter plugin for MiniTest.
394
- minitest-colorize :: Colorize MiniTest output and show failing tests instantly.
395
- minitest-context :: Defines contexts for code reuse in MiniTest
398
+ minitest-ci :: CI reporter plugin for Minitest.
399
+ minitest-colorize :: Colorize Minitest output and show failing tests
400
+ instantly.
401
+ minitest-context :: Defines contexts for code reuse in Minitest
396
402
  specs that share common expectations.
397
403
  minitest-debugger :: Wraps assert so failed assertions drop into
398
404
  the ruby debugger.
399
- minitest-display :: Patches MiniTest to allow for an easily configurable output.
400
- minitest-documentation :: Minimal documentation format inspired by rspec's
405
+ minitest-display :: Patches Minitest to allow for an easily
406
+ configurable output.
407
+ minitest-documentation :: Minimal documentation format inspired by rspec's.
401
408
  minitest-doc_reporter :: Detailed output inspired by rspec's documentation
402
409
  format.
403
- minitest-emoji :: Print out emoji for your test passes, fails, and skips.
404
- minitest-english :: Semantically symmetric aliases for assertions and expectations.
410
+ minitest-emoji :: Print out emoji for your test passes, fails, and
411
+ skips.
412
+ minitest-english :: Semantically symmetric aliases for assertions and
413
+ expectations.
405
414
  minitest-excludes :: Clean API for excluding certain tests you
406
415
  don't want to run under certain conditions.
407
- minitest-filesystem :: Adds assertion and expectation to help testing filesystem contents.
408
- minitest-firemock :: Makes your MiniTest mocks more resilient.
409
- minitest-great_expectations :: Generally useful additions to minitest's assertions and expectations
416
+ minitest-filesystem :: Adds assertion and expectation to help testing
417
+ filesystem contents.
418
+ minitest-firemock :: Makes your Minitest mocks more resilient.
419
+ minitest-great_expectations :: Generally useful additions to minitest's
420
+ assertions and expectations.
410
421
  minitest-growl :: Test notifier for minitest via growl.
411
422
  minitest-implicit-subject :: Implicit declaration of the test subject.
412
423
  minitest-instrument :: Instrument ActiveSupport::Notifications when
413
- test method is executed
414
- minitest-instrument-db :: Store information about speed of test
415
- execution provided by minitest-instrument in database
424
+ test method is executed.
425
+ minitest-instrument-db :: Store information about speed of test execution
426
+ provided by minitest-instrument in database.
416
427
  minitest-libnotify :: Test notifier for minitest via libnotify.
417
- minitest-line :: Run test at line number
418
- minitest-macruby :: Provides extensions to minitest for macruby UI testing.
419
- minitest-matchers :: Adds support for RSpec-style matchers to minitest.
428
+ minitest-line :: Run test at line number.
429
+ minitest-macruby :: Provides extensions to minitest for macruby UI
430
+ testing.
431
+ minitest-matchers :: Adds support for RSpec-style matchers to
432
+ minitest.
420
433
  minitest-metadata :: Annotate tests with metadata (key-value).
421
- minitest-mongoid :: Mongoid assertion matchers for MiniTest
422
- minitest-must_not :: Provides must_not as an alias for wont in MiniTest
423
- minitest-nc :: Test notifier for minitest via Mountain Lion's Notification Center
424
- minitest-predicates :: Adds support for .predicate? methods
425
- minitest-rails :: MiniTest integration for Rails 3.x
426
- minitest-rails-capybara :: Capybara integration for MiniTest::Rails
427
- minitest-reporters :: Create customizable MiniTest output formats
428
- minitest-rspec_mocks :: Use RSpec Mocks with Minitest
429
- minitest-should_syntax :: RSpec-style +x.should == y+ assertions for MiniTest
430
- minitest-shouldify :: Adding all manner of shoulds to MiniTest (bad idea)
431
- minitest-spec-context :: Provides rspec-ish context method to MiniTest::Spec
432
- minitest-spec-expect :: Expect syntax for MiniTest::Spec - expect(sequences).to_include :celery_man
433
- minitest-spec-magic :: Minitest::Spec extensions for Rails and beyond
434
- minitest-spec-rails :: Drop in MiniTest::Spec superclass for ActiveSupport::TestCase.
435
- minitest-stub_any_instance :: Stub any instance of a method on the given class for the duration of a block
436
- minitest-stub-const :: Stub constants for the duration of a block
437
- minitest-tags :: add tags for minitest
438
- minitest-vcr :: Automatic cassette managment with MiniTest::Spec and VCR
434
+ minitest-mongoid :: Mongoid assertion matchers for Minitest.
435
+ minitest-must_not :: Provides must_not as an alias for wont in
436
+ Minitest.
437
+ minitest-nc :: Test notifier for minitest via Mountain Lion's
438
+ Notification Center.
439
+ minitest-predicates :: Adds support for .predicate? methods.
440
+ minitest-rails :: Minitest integration for Rails 3.x.
441
+ minitest-rails-capybara :: Capybara integration for Minitest::Rails.
442
+ minitest-reporters :: Create customizable Minitest output formats.
443
+ minitest-rspec_mocks :: Use RSpec Mocks with Minitest.
444
+ minitest-should_syntax :: RSpec-style +x.should == y+ assertions for
445
+ Minitest.
446
+ minitest-shouldify :: Adding all manner of shoulds to Minitest (bad
447
+ idea)
448
+ minitest-spec-context :: Provides rspec-ish context method to
449
+ Minitest::Spec.
450
+ minitest-spec-expect :: Expect syntax for Minitest::Spec (e.g.
451
+ expect(sequences).to_include :celery_man).
452
+ minitest-spec-magic :: Minitest::Spec extensions for Rails and beyond.
453
+ minitest-spec-rails :: Drop in Minitest::Spec superclass for
454
+ ActiveSupport::TestCase.
455
+ minitest-stub_any_instance :: Stub any instance of a method on the given class
456
+ for the duration of a block.
457
+ minitest-stub-const :: Stub constants for the duration of a block.
458
+ minitest-tags :: Add tags for minitest.
459
+ minitest-vcr :: Automatic cassette managment with Minitest::Spec
460
+ and VCR.
439
461
  minitest-wscolor :: Yet another test colorizer.
440
462
  minitest_owrapper :: Get tests results as a TestResult object.
441
463
  minitest_should :: Shoulda style syntax for minitest test::unit.
442
- minitest_tu_shim :: minitest_tu_shim bridges between test/unit and minitest.
443
- mongoid-minitest :: MiniTest matchers for Mongoid.
444
- pry-rescue :: A pry plugin w/ minitest support. See pry-rescue/minitest.rb.
445
- rspec2minitest :: Easily translate any RSpec matchers to MiniTest assertions and expectations.
464
+ minitest_tu_shim :: Bridges between test/unit and minitest.
465
+ mongoid-minitest :: Minitest matchers for Mongoid.
466
+ pry-rescue :: A pry plugin w/ minitest support. See
467
+ pry-rescue/minitest.rb.
468
+ rspec2minitest :: Easily translate any RSpec matchers to Minitest
469
+ assertions and expectations.
446
470
 
447
471
  == Unknown Extensions:
448
472
 
data/lib/minitest.rb CHANGED
@@ -7,7 +7,7 @@ require "minitest/parallel"
7
7
  # :include: README.txt
8
8
 
9
9
  module Minitest
10
- VERSION = "5.3.0" # :nodoc:
10
+ VERSION = "5.3.1" # :nodoc:
11
11
 
12
12
  @@installed_at_exit ||= false
13
13
  @@after_run = []
@@ -31,7 +31,7 @@ module Minitest
31
31
 
32
32
  module ClassMethods
33
33
  def run_one_method klass, method_name, reporter
34
- MiniTest.parallel_executor << [klass, method_name, reporter]
34
+ Minitest.parallel_executor << [klass, method_name, reporter]
35
35
  end
36
36
  def test_order; :parallel; end
37
37
  end
data/lib/minitest/spec.rb CHANGED
@@ -224,9 +224,12 @@ class Minitest::Spec < Minitest::Test
224
224
 
225
225
  def let name, &block
226
226
  name = name.to_s
227
- raise ArgumentError, 'name cannot begin with "test"' if name =~ /\Atest/
228
- raise ArgumentError, "##{name} cannot be overridden" if
229
- (Minitest::Spec.instance_methods.map(&:to_s) - %w[subject]).include? name
227
+ pre, post = "let '#{name}' cannot ", ". Please use another name."
228
+ methods = Minitest::Spec.instance_methods.map(&:to_s) - %w[subject]
229
+ raise ArgumentError, "#{pre}begin with 'test'#{post}" if
230
+ name =~ /\Atest/
231
+ raise ArgumentError, "#{pre}override a method in Minitest::Spec#{post}" if
232
+ methods.include? name
230
233
 
231
234
  define_method name do
232
235
  @_memoized ||= {}
@@ -266,7 +266,7 @@ class TestMinitestMock < Minitest::Test
266
266
  end
267
267
 
268
268
  def test_mock_block_is_passed_function_block
269
- mock = MiniTest::Mock.new
269
+ mock = Minitest::Mock.new
270
270
  block = proc { 'bar' }
271
271
  mock.expect :foo, nil do |arg, &blk|
272
272
  arg == 'foo' &&
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.0
4
+ version: 5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -29,7 +29,7 @@ cert_chain:
29
29
  Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
30
30
  xx3n58i0lQkBE1EpKE0lFu/y
31
31
  -----END CERTIFICATE-----
32
- date: 2014-02-26 00:00:00.000000000 Z
32
+ date: 2014-03-14 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rdoc
@@ -51,14 +51,14 @@ dependencies:
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '3.9'
54
+ version: '3.10'
55
55
  type: :development
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '3.9'
61
+ version: '3.10'
62
62
  description: |-
63
63
  minitest provides a complete suite of testing facilities supporting
64
64
  TDD, BDD, mocking, and benchmarking.
@@ -123,7 +123,6 @@ extra_rdoc_files:
123
123
  - README.txt
124
124
  files:
125
125
  - .autotest
126
- - .gemtest
127
126
  - History.txt
128
127
  - Manifest.txt
129
128
  - README.txt
@@ -149,6 +148,7 @@ files:
149
148
  - test/minitest/test_minitest_reporter.rb
150
149
  - test/minitest/test_minitest_spec.rb
151
150
  - test/minitest/test_minitest_unit.rb
151
+ - .gemtest
152
152
  homepage: https://github.com/seattlerb/minitest
153
153
  licenses:
154
154
  - MIT
@@ -170,8 +170,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  requirements: []
173
- rubyforge_project: minitest
174
- rubygems_version: 2.2.1
173
+ rubyforge_project:
174
+ rubygems_version: 2.0.14
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: minitest provides a complete suite of testing facilities supporting TDD,
metadata.gz.sig CHANGED
Binary file