minitest 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 1.7.1 / 2010-09-01
2
+
3
+ * 1 bug fix:
4
+
5
+ * 1.9.2 fixes for spec tests
6
+
1
7
  === 1.7.0 / 2010-07-15
2
8
 
3
9
  * 5 minor enhancements:
@@ -497,7 +497,7 @@ module MiniTest
497
497
  end
498
498
 
499
499
  class Unit
500
- VERSION = "1.7.0" # :nodoc:
500
+ VERSION = "1.7.1" # :nodoc:
501
501
 
502
502
  attr_accessor :report, :failures, :errors, :skips # :nodoc:
503
503
  attr_accessor :test_count, :assertion_count # :nodoc:
@@ -44,7 +44,7 @@ describe MiniTest::Spec do
44
44
  bad = %w[not raise throw send output be_silent]
45
45
 
46
46
  expected_wonts = expected_musts.map { |m| m.sub(/^must/, 'wont') }
47
- expected_wonts.reject! { |m| m =~ /wont_#{Regexp.union bad}/ }
47
+ expected_wonts.reject! { |m| m =~ /wont_#{Regexp.union(*bad)}/ }
48
48
 
49
49
  musts.must_equal expected_musts
50
50
  wonts.must_equal expected_wonts
@@ -213,7 +213,7 @@ class TestMeta < MiniTest::Unit::TestCase
213
213
  top_methods = %w(setup teardown test_0001_top_level_it)
214
214
  inner_methods = %w(setup test_0001_inner_it)
215
215
 
216
- assert_equal top_methods, x.instance_methods(false).sort.map { |o| o.to_s }
217
- assert_equal inner_methods, y.instance_methods(false).sort.map{|o| o.to_s }
216
+ assert_equal top_methods, x.instance_methods(false).sort.map {|o| o.to_s }
217
+ assert_equal inner_methods, y.instance_methods(false).sort.map {|o| o.to_s }
218
218
  end
219
219
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 0
10
- version: 1.7.0
9
+ - 1
10
+ version: 1.7.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -36,7 +36,7 @@ cert_chain:
36
36
  FBHgymkyj/AOSqKRIpXPhjC6
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2010-07-15 00:00:00 -07:00
39
+ date: 2010-09-01 00:00:00 -07:00
40
40
  default_executable:
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
@@ -63,12 +63,12 @@ dependencies:
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- hash: 15
66
+ hash: 11
67
67
  segments:
68
68
  - 1
69
- - 6
69
+ - 7
70
70
  - 0
71
- version: 1.6.0
71
+ version: 1.7.0
72
72
  type: :development
73
73
  version_requirements: *id002
74
74
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file