minitest-excludes 2.0.1 → 2.0.2

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
  SHA256:
3
- metadata.gz: 162e58414f4c8b82f615a45b23398a61941f7a7db881e6d45aa6dd6757efc3b6
4
- data.tar.gz: e67ff620899a192f1ece6f222cef5f711168fd23b2ab85f7441b47c9f1133cb1
3
+ metadata.gz: 213ef2d0abf1395178a8cb30bc94dd6f98de357130cbfd91681bd9b413390f18
4
+ data.tar.gz: d1a951f0160cfbc60fc9b8708c963f24e528fdf03f1b5943045607c3313d0fff
5
5
  SHA512:
6
- metadata.gz: 8a792c40d5a51613cb91079d1778ede0a1e6614e0fef947cdd69ba7c6907074374442b7716b114a8e371df83d213b9c4d6437f8c01ba87d05ca31a98f903fd07
7
- data.tar.gz: a80646693e7a9643f6688484cb068c3def2ebc1415f4f819445436f7780896eb0dddd4c4d076943e06931988e3ec19cfbc0714c56769e12a336ea4ecb78a31c7
6
+ metadata.gz: f90be41b2dc46e3d733cc55832d5dec1824d6dd5b0ea200a104780c63c5a3bfc408587f3cb3d6e8295c866d359271222e1d013d0dbbb8f473e33ffb8831761c3
7
+ data.tar.gz: d6c866320e29fc5fe372b7afbfe40d80482de229b1c117e677ce8c09acba3f6c887846db43f3a2ed2b9e913a0c328de05fa99336a3615887c59afa43bb92dfa0
checksums.yaml.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 2.0.2 / 2022-10-06
2
+
3
+ * 1 bug fix:
4
+
5
+ * Updated minitest 4 references to minitest 5.
6
+
1
7
  === 2.0.1 / 2018-03-23
2
8
 
3
9
  * 2 bug fixes:
@@ -35,4 +41,3 @@
35
41
  * Don't keep using the env var, since bad tests may modify ENV w/o restoring it. (headius)
36
42
  * Map X::Y to X/Y.rb for excludes to deal with nested test classes.
37
43
  * Remove method instead of generating a skip to avoid setup/teardown overhead.
38
-
data/README.txt CHANGED
@@ -5,7 +5,7 @@ rdoc :: http://docs.seattlerb.org/minitest-excludes
5
5
 
6
6
  == DESCRIPTION:
7
7
 
8
- minitest/excludes.rb extends MiniTest::Unit::TestCase to provide a
8
+ minitest/excludes.rb extends Minitest::Test to provide a
9
9
  clean API for excluding certain tests you don't want to run under
10
10
  certain conditions.
11
11
 
@@ -16,7 +16,7 @@ certain conditions.
16
16
 
17
17
  == SYNOPSIS:
18
18
 
19
- class TestXYZ < MiniTest::Unit::TestCase
19
+ class TestXYZ < Minitest::Test
20
20
  def test_good
21
21
  test that passes
22
22
  end
@@ -1,17 +1,17 @@
1
1
  require 'minitest/test'
2
2
 
3
3
  module Minitest::Excludes # :nodoc:
4
- VERSION = "2.0.1" # :nodoc:
4
+ VERSION = "2.0.2" # :nodoc:
5
5
  end
6
6
 
7
7
  ##
8
- # minitest/excludes.rb extends MiniTest::Unit::TestCase to provide a
8
+ # minitest/excludes.rb extends Minitest::Test to provide a
9
9
  # clean API for excluding certain tests you don't want to run under
10
10
  # certain conditions.
11
11
  #
12
12
  # For example, in test/test_xyz.rb you have:
13
13
  #
14
- # class TestXYZ < MiniTest::Unit::TestCase
14
+ # class TestXYZ < Minitest::Test
15
15
  # def test_good
16
16
  # # test that passes
17
17
  # end
@@ -3,6 +3,7 @@ require 'minitest/excludes'
3
3
 
4
4
  class TestMinitestExcludes < MetaMetaMetaTestCase
5
5
  def test_cls_excludes
6
+ Minitest.seed = 42 if Minitest.respond_to?(:seed=)
6
7
  srand 42
7
8
  old_exclude_base = Minitest::Test::EXCLUDE_DIR
8
9
 
@@ -14,13 +15,8 @@ class TestMinitestExcludes < MetaMetaMetaTestCase
14
15
 
15
16
  s = 'exclude :test_test2, "because it is borked"'
16
17
 
17
- File.open File.join(path, "ATestCase.rb"), "w" do |f|
18
- f.puts s
19
- end
20
-
21
- File.open File.join(path, "ATestCase/Nested.rb"), "w" do |f|
22
- f.puts s
23
- end
18
+ File.write File.join(path, "ATestCase.rb"), s
19
+ File.write File.join(path, "ATestCase/Nested.rb"), s
24
20
 
25
21
  tc1 = tc2 = nil
26
22
 
@@ -41,14 +37,14 @@ class TestMinitestExcludes < MetaMetaMetaTestCase
41
37
 
42
38
  @tus = [tc1, tc2]
43
39
 
44
- assert_equal %w(test_test3 test_test1), ATestCase.runnable_methods
45
- assert_equal %w(test_test1 test_test3), ATestCase::Nested.runnable_methods
40
+ assert_equal %w(test_test1 test_test3), ATestCase.runnable_methods.sort
41
+ assert_equal %w(test_test1 test_test3), ATestCase::Nested.runnable_methods.sort
46
42
 
47
43
  expected = <<-EOM.gsub(/^ {8}/, '')
48
- ATestCase#test_test1 = 0.00 s = .
49
44
  ATestCase#test_test3 = 0.00 s = .
50
- ATestCase::Nested#test_test1 = 0.00 s = .
45
+ ATestCase#test_test1 = 0.00 s = .
51
46
  ATestCase::Nested#test_test3 = 0.00 s = .
47
+ ATestCase::Nested#test_test1 = 0.00 s = .
52
48
 
53
49
  Finished in 0.00
54
50
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-excludes
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE3MTEyMTIxMTExMFoXDTE4MTEyMTIxMTExMFowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTIxMTIyMzIzMTkwNFoXDTIyMTIyM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SLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh
27
+ zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7
28
+ lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB
29
+ JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
30
+ YsuyUzsMz6GQA4khyaMgKNSD
31
31
  -----END CERTIFICATE-----
32
- date: 2018-03-23 00:00:00.000000000 Z
32
+ date: 2022-10-06 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: minitest
@@ -49,32 +49,38 @@ dependencies:
49
49
  name: rdoc
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '4.0'
55
+ - - "<"
56
+ - !ruby/object:Gem::Version
57
+ version: '7'
55
58
  type: :development
56
59
  prerelease: false
57
60
  version_requirements: !ruby/object:Gem::Requirement
58
61
  requirements:
59
- - - "~>"
62
+ - - ">="
60
63
  - !ruby/object:Gem::Version
61
64
  version: '4.0'
65
+ - - "<"
66
+ - !ruby/object:Gem::Version
67
+ version: '7'
62
68
  - !ruby/object:Gem::Dependency
63
69
  name: hoe
64
70
  requirement: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '3.16'
74
+ version: '3.25'
69
75
  type: :development
70
76
  prerelease: false
71
77
  version_requirements: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '3.16'
81
+ version: '3.25'
76
82
  description: |-
77
- minitest/excludes.rb extends MiniTest::Unit::TestCase to provide a
83
+ minitest/excludes.rb extends Minitest::Test to provide a
78
84
  clean API for excluding certain tests you don't want to run under
79
85
  certain conditions.
80
86
  email:
@@ -97,8 +103,9 @@ files:
97
103
  homepage: https://github.com/seattlerb/minitest-excludes
98
104
  licenses:
99
105
  - MIT
100
- metadata: {}
101
- post_install_message:
106
+ metadata:
107
+ homepage_uri: https://github.com/seattlerb/minitest-excludes
108
+ post_install_message:
102
109
  rdoc_options:
103
110
  - "--main"
104
111
  - README.txt
@@ -115,10 +122,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
122
  - !ruby/object:Gem::Version
116
123
  version: '0'
117
124
  requirements: []
118
- rubyforge_project:
119
- rubygems_version: 2.7.3
120
- signing_key:
125
+ rubygems_version: 3.3.12
126
+ signing_key:
121
127
  specification_version: 4
122
- summary: minitest/excludes.rb extends MiniTest::Unit::TestCase to provide a clean
123
- API for excluding certain tests you don't want to run under certain conditions.
128
+ summary: minitest/excludes.rb extends Minitest::Test to provide a clean API for excluding
129
+ certain tests you don't want to run under certain conditions.
124
130
  test_files: []
metadata.gz.sig CHANGED
Binary file