minitest 5.11.3 → 5.25.5

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.
@@ -0,0 +1,57 @@
1
+ require "minitest/autorun"
2
+
3
+ begin
4
+ require "hoe"
5
+ rescue LoadError => e
6
+ warn e.message
7
+ return
8
+ end
9
+
10
+ require "minitest/test_task"
11
+
12
+ Hoe.load_plugins # make sure Hoe::Test is loaded
13
+
14
+ class TestHoeTest < Minitest::Test
15
+ PATH = "test/minitest/test_minitest_test_task.rb"
16
+
17
+ def util_cmd_string *prelude_framework
18
+ mt_path = %w[lib test .].join File::PATH_SEPARATOR
19
+ mt_expected = "-I%s -w -e '%srequire %p' -- "
20
+
21
+ mt_expected % [mt_path, prelude_framework.join("; "), PATH]
22
+ end
23
+
24
+ def util_exp_cmd
25
+ @tester.make_test_cmd.sub(/ -- .+/, " -- ")
26
+ end
27
+
28
+ def test_make_test_cmd_for_minitest
29
+ skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"]
30
+
31
+ require "minitest/test_task"
32
+
33
+ framework = %(require "minitest/autorun"; )
34
+
35
+ @tester = Minitest::TestTask.create :test do |t|
36
+ t.test_globs = [PATH]
37
+ end
38
+
39
+ assert_equal util_cmd_string(framework), util_exp_cmd
40
+ end
41
+
42
+ def test_make_test_cmd_for_minitest_prelude
43
+ skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"]
44
+
45
+ require "minitest/test_task"
46
+
47
+ prelude = %(require "other/file")
48
+ framework = %(require "minitest/autorun"; )
49
+
50
+ @tester = Minitest::TestTask.create :test do |t|
51
+ t.test_prelude = prelude
52
+ t.test_globs = [PATH]
53
+ end
54
+
55
+ assert_equal util_cmd_string(prelude, framework), util_exp_cmd
56
+ end
57
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.11.3
4
+ version: 5.25.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain:
11
10
  - |
12
11
  -----BEGIN CERTIFICATE-----
13
- MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
12
+ MIIDPjCCAiagAwIBAgIBCTANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
13
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE3MTEyMTIxMTExMFoXDTE4MTEyMTIxMTExMFowRTETMBEGA1UE
14
+ GRYDY29tMB4XDTI1MDEwNjIzMjcwMVoXDTI2MDEwNjIzMjcwMVowRTETMBEGA1UE
16
15
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
17
16
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
18
17
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -21,44 +20,50 @@ cert_chain:
21
20
  GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
22
21
  qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
23
22
  gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
- HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
25
- AQAfAXSQpsW7YSxd1csRtA/M4Zt0AMXFMd76GJ8Lgtg8G0+VFbdChRyDuDb0kPlW
26
- h9QQX/YABfCW8vxmssbMGrP+VGBAn7BbdTcfTlgCWrvMX1uL5aRL74nA4urKXqdW
27
- a0nP70K4958P3GffBdtE3KGkU5xstFnXGajxuBRnL66E15KU0BNehVxdG258bdPu
28
- EKN6MqBPftFiev3tuwqDV11r2GquDpniYcT+Mi8/PgeAgVT/afBeVgbB3KaZeTRR
29
- AhXhF6Wi2GTMezlj5jlI5XV7WsJUSwTp/YiVvcmT74ZaCRvexm6EnNhkrvJJ1Xeu
30
- V+HB+LYYhXWitInO/eXxDrFB
23
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
24
+ AQAC0WQJcPOWPFwkojhzweilRVjTJ19UiLhiBTw3C1wJO3LVdBkWDmnnhAmKuX4D
25
+ r7vjQvESlABGIPdutI1Yl7mrHQzTkfLfXvNN6MT0nLChPyIYauT6SZZxubwJrUfA
26
+ 7R0c2CJTIboZ0XaGpLsXqHEF1c29H7TV1QvVuqKAN2mCjh4N82QVn+ZKtys28AwT
27
+ 6GfQX2fqLoi4KSc7xIzHKaNzqxeOICmJofk9w5VZ2rRN6yes8jvFYwz9HR41wdj8
28
+ bwfinv7Yp5fA6AysuZLhCykyfDuZVRrUp0Vb68YCKsLjJly/Theak+euNTxvHsB+
29
+ al9oSgPPHICMEX65qvLywitx
31
30
  -----END CERTIFICATE-----
32
- date: 2018-01-26 00:00:00.000000000 Z
31
+ date: 2025-03-12 00:00:00.000000000 Z
33
32
  dependencies:
34
33
  - !ruby/object:Gem::Dependency
35
34
  name: rdoc
36
35
  requirement: !ruby/object:Gem::Requirement
37
36
  requirements:
38
- - - "~>"
37
+ - - ">="
39
38
  - !ruby/object:Gem::Version
40
39
  version: '4.0'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '7'
41
43
  type: :development
42
44
  prerelease: false
43
45
  version_requirements: !ruby/object:Gem::Requirement
44
46
  requirements:
45
- - - "~>"
47
+ - - ">="
46
48
  - !ruby/object:Gem::Version
47
49
  version: '4.0'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '7'
48
53
  - !ruby/object:Gem::Dependency
49
54
  name: hoe
50
55
  requirement: !ruby/object:Gem::Requirement
51
56
  requirements:
52
57
  - - "~>"
53
58
  - !ruby/object:Gem::Version
54
- version: '3.16'
59
+ version: '4.2'
55
60
  type: :development
56
61
  prerelease: false
57
62
  version_requirements: !ruby/object:Gem::Requirement
58
63
  requirements:
59
64
  - - "~>"
60
65
  - !ruby/object:Gem::Version
61
- version: '3.16'
66
+ version: '4.2'
62
67
  description: |-
63
68
  minitest provides a complete suite of testing facilities supporting
64
69
  TDD, BDD, mocking, and benchmarking.
@@ -133,26 +138,34 @@ files:
133
138
  - lib/minitest/assertions.rb
134
139
  - lib/minitest/autorun.rb
135
140
  - lib/minitest/benchmark.rb
141
+ - lib/minitest/compress.rb
142
+ - lib/minitest/error_on_warning.rb
136
143
  - lib/minitest/expectations.rb
137
144
  - lib/minitest/hell.rb
145
+ - lib/minitest/manual_plugins.rb
138
146
  - lib/minitest/mock.rb
139
147
  - lib/minitest/parallel.rb
140
148
  - lib/minitest/pride.rb
141
149
  - lib/minitest/pride_plugin.rb
142
150
  - lib/minitest/spec.rb
143
151
  - lib/minitest/test.rb
152
+ - lib/minitest/test_task.rb
144
153
  - lib/minitest/unit.rb
145
154
  - test/minitest/metametameta.rb
155
+ - test/minitest/test_minitest_assertions.rb
146
156
  - test/minitest/test_minitest_benchmark.rb
147
157
  - test/minitest/test_minitest_mock.rb
148
158
  - test/minitest/test_minitest_reporter.rb
149
159
  - test/minitest/test_minitest_spec.rb
150
160
  - test/minitest/test_minitest_test.rb
151
- homepage: https://github.com/seattlerb/minitest
161
+ - test/minitest/test_minitest_test_task.rb
162
+ homepage: https://github.com/minitest/minitest
152
163
  licenses:
153
164
  - MIT
154
- metadata: {}
155
- post_install_message:
165
+ metadata:
166
+ homepage_uri: https://github.com/minitest/minitest
167
+ bug_tracker_uri: https://github.com/minitest/minitest/issues
168
+ changelog_uri: https://github.com/minitest/minitest/blob/master/History.rdoc
156
169
  rdoc_options:
157
170
  - "--main"
158
171
  - README.rdoc
@@ -162,16 +175,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
175
  requirements:
163
176
  - - ">="
164
177
  - !ruby/object:Gem::Version
165
- version: '0'
178
+ version: '2.7'
179
+ - - "<"
180
+ - !ruby/object:Gem::Version
181
+ version: '4.0'
166
182
  required_rubygems_version: !ruby/object:Gem::Requirement
167
183
  requirements:
168
184
  - - ">="
169
185
  - !ruby/object:Gem::Version
170
186
  version: '0'
171
187
  requirements: []
172
- rubyforge_project:
173
- rubygems_version: 2.7.3
174
- signing_key:
188
+ rubygems_version: 3.6.3
175
189
  specification_version: 4
176
190
  summary: minitest provides a complete suite of testing facilities supporting TDD,
177
191
  BDD, mocking, and benchmarking
metadata.gz.sig CHANGED
Binary file