minitest 5.25.4 → 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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +4 -2
- data/History.rdoc +9 -0
- data/README.rdoc +16 -9
- data/Rakefile +1 -1
- data/lib/minitest/expectations.rb +2 -2
- data/lib/minitest/test.rb +1 -1
- data/lib/minitest.rb +1 -1
- data/test/minitest/test_minitest_test.rb +18 -0
- data.tar.gz.sig +0 -0
- metadata +12 -15
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2ea23b9f86dd37b5f5f3d45fb451303827cbdf9414215d8f769da3624184325
|
4
|
+
data.tar.gz: 3d976e8b864261af92ba50d466235e4fa529f31d3560d60ec4deba8e724fc872
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1258d24412b8461fe9a94acb9b795a1cd2a25db2d16f924ce6367662478d9e0672532636b5a2ccd809f549ba8ba6ab8f0cbeb6e8a249b1b91161cc4297f31c92
|
7
|
+
data.tar.gz: 4d6a977e948f40d05e7786d07656616e9f3a4e4469a59e7b5a8e571b8f6821284989156ca4225e8e7a29cfe640bbaf544248697e14536f7c63946ffc2a34232e
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,4 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
j��F�<_{@EJ�9��t������
|
2
|
+
xǥ���U˗��Y�,�K��
|
3
|
+
�2�7,�rԽS
|
4
|
+
�s�{�!�U����@@�S��{�uxՀ��h
|
data/History.rdoc
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
=== 5.25.5 / 2025-03-12
|
2
|
+
|
3
|
+
* 4 bug fixes:
|
4
|
+
|
5
|
+
* Bumped minimum ruby to 2.7.
|
6
|
+
* Fixed expectation docs for must/wont_pattern_match. (jaredcwhite)
|
7
|
+
* Reorder Minitest::Test.ancestors to allow reaching Minitest::Assertions#skipped? (Edouard-chin)
|
8
|
+
* Update the ruby and rails compatibility tables. (bquorning)
|
9
|
+
|
1
10
|
=== 5.25.4 / 2024-12-03
|
2
11
|
|
3
12
|
* 1 bug fix:
|
data/README.rdoc
CHANGED
@@ -412,33 +412,40 @@ supporting versions of ruby that are long past EOL. Hopefully I'll be
|
|
412
412
|
able to support only current versions of ruby sometime in the near
|
413
413
|
future.
|
414
414
|
|
415
|
-
|
415
|
+
NOTICE: At this point, I will only locally test/dev against the
|
416
|
+
currently 3 supported (non-EOL) versions of ruby. I cannot and will
|
417
|
+
not maintain that many builds.
|
418
|
+
|
419
|
+
(As of 2025-02-03)
|
416
420
|
|
417
421
|
Current versions of rails: (https://endoflife.date/rails)
|
418
422
|
|
419
423
|
| rails | min ruby | minitest | status | EOL Date |
|
420
424
|
|-------+----------+----------+----------+------------|
|
421
|
-
|
|
422
|
-
| 7.
|
423
|
-
|
|
425
|
+
| 8.0 | >= 3.2 | >= 5.1 | Current | 2026-11-07 |
|
426
|
+
| 7.2 | >= 3.1 | >= 5.1 | Current | 2026-08-09 |
|
427
|
+
| 7.1 | >= 2.7 | >= 5.1 | Security | 2025-10-01 |
|
428
|
+
| 7.0 | >= 2.7 | >= 5.1 | Security | 2025-04-01 |
|
429
|
+
| 6.1 | >= 2.5 | >= 5.1 | EOL | 2024-10-01 |
|
424
430
|
| 6.0 | >= 2.5 | >= 5.1 | EOL | 2023-06-01 |
|
425
431
|
| 5.2 | >= 2.2.2 | ~> 5.1 | EOL | 2022-06-01 |
|
426
432
|
|
427
433
|
If you want to look at the requirements for a specific version, run:
|
428
434
|
|
429
|
-
gem spec -r --ruby rails -v
|
435
|
+
gem spec -r --ruby rails -v 8.0.0
|
430
436
|
|
431
437
|
Current versions of ruby: (https://endoflife.date/ruby)
|
432
438
|
|
433
439
|
| ruby | Status | EOL Date |
|
434
440
|
|------+---------+------------|
|
435
|
-
| 3.
|
436
|
-
| 3.
|
437
|
-
| 3.
|
441
|
+
| 3.4 | Current | 2028-03-31 |
|
442
|
+
| 3.3 | Maint | 2027-03-31 |
|
443
|
+
| 3.2 | Security| 2026-03-31 |
|
444
|
+
| 3.1 | EOL | 2025-03-31 |
|
438
445
|
| 3.0 | EOL | 2024-03-31 |
|
439
446
|
| 2.7 | EOL | 2023-03-31 |
|
440
447
|
| 2.6 | EOL | 2022-03-31 |
|
441
|
-
| 2.5 | EOL | 2021-03-31 |
|
448
|
+
| 2.5 | EOL | 2021-03-31 |
|
442
449
|
|
443
450
|
=== How to test SimpleDelegates?
|
444
451
|
|
data/Rakefile
CHANGED
@@ -125,7 +125,7 @@ module Minitest::Expectations
|
|
125
125
|
infect_an_assertion :assert_output, :must_output, :block
|
126
126
|
|
127
127
|
##
|
128
|
-
# See Minitest::Assertions#
|
128
|
+
# See Minitest::Assertions#assert_pattern
|
129
129
|
#
|
130
130
|
# _ { ... }.must_pattern_match [...]
|
131
131
|
#
|
@@ -293,7 +293,7 @@ module Minitest::Expectations
|
|
293
293
|
infect_an_assertion :refute_operator, :wont_be, :reverse
|
294
294
|
|
295
295
|
##
|
296
|
-
# See Minitest::Assertions#
|
296
|
+
# See Minitest::Assertions#refute_pattern
|
297
297
|
#
|
298
298
|
# _ { ... }.wont_pattern_match [...]
|
299
299
|
#
|
data/lib/minitest/test.rb
CHANGED
data/lib/minitest.rb
CHANGED
@@ -157,6 +157,24 @@ class TestMinitestUnit < MetaMetaMetaTestCase
|
|
157
157
|
refute_predicate test, :skipped?
|
158
158
|
end
|
159
159
|
|
160
|
+
def test_skipped_is_reachable
|
161
|
+
test_class = Class.new FakeNamedTest do
|
162
|
+
def test_omg
|
163
|
+
skip
|
164
|
+
ensure
|
165
|
+
flunk unless skipped?
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
test = test_class.new :test_omg
|
170
|
+
test.run
|
171
|
+
|
172
|
+
refute_predicate test, :error?
|
173
|
+
refute_predicate test, :passed?
|
174
|
+
|
175
|
+
assert_predicate test, :skipped?
|
176
|
+
end
|
177
|
+
|
160
178
|
def util_expand_bt bt
|
161
179
|
bt.map { |f| f.start_with?(".") ? File.expand_path(f) : f }
|
162
180
|
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.25.
|
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
|
-
|
12
|
+
MIIDPjCCAiagAwIBAgIBCTANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
13
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
14
|
+
GRYDY29tMB4XDTI1MDEwNjIzMjcwMVoXDTI2MDEwNjIzMjcwMVowRTETMBEGA1UE
|
16
15
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
16
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
17
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,14 +21,14 @@ cert_chain:
|
|
22
21
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
22
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
23
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
24
|
+
AQAC0WQJcPOWPFwkojhzweilRVjTJ19UiLhiBTw3C1wJO3LVdBkWDmnnhAmKuX4D
|
25
|
+
r7vjQvESlABGIPdutI1Yl7mrHQzTkfLfXvNN6MT0nLChPyIYauT6SZZxubwJrUfA
|
26
|
+
7R0c2CJTIboZ0XaGpLsXqHEF1c29H7TV1QvVuqKAN2mCjh4N82QVn+ZKtys28AwT
|
27
|
+
6GfQX2fqLoi4KSc7xIzHKaNzqxeOICmJofk9w5VZ2rRN6yes8jvFYwz9HR41wdj8
|
28
|
+
bwfinv7Yp5fA6AysuZLhCykyfDuZVRrUp0Vb68YCKsLjJly/Theak+euNTxvHsB+
|
29
|
+
al9oSgPPHICMEX65qvLywitx
|
31
30
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
31
|
+
date: 2025-03-12 00:00:00.000000000 Z
|
33
32
|
dependencies:
|
34
33
|
- !ruby/object:Gem::Dependency
|
35
34
|
name: rdoc
|
@@ -167,7 +166,6 @@ metadata:
|
|
167
166
|
homepage_uri: https://github.com/minitest/minitest
|
168
167
|
bug_tracker_uri: https://github.com/minitest/minitest/issues
|
169
168
|
changelog_uri: https://github.com/minitest/minitest/blob/master/History.rdoc
|
170
|
-
post_install_message:
|
171
169
|
rdoc_options:
|
172
170
|
- "--main"
|
173
171
|
- README.rdoc
|
@@ -177,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
175
|
requirements:
|
178
176
|
- - ">="
|
179
177
|
- !ruby/object:Gem::Version
|
180
|
-
version: '2.
|
178
|
+
version: '2.7'
|
181
179
|
- - "<"
|
182
180
|
- !ruby/object:Gem::Version
|
183
181
|
version: '4.0'
|
@@ -187,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
185
|
- !ruby/object:Gem::Version
|
188
186
|
version: '0'
|
189
187
|
requirements: []
|
190
|
-
rubygems_version: 3.
|
191
|
-
signing_key:
|
188
|
+
rubygems_version: 3.6.3
|
192
189
|
specification_version: 4
|
193
190
|
summary: minitest provides a complete suite of testing facilities supporting TDD,
|
194
191
|
BDD, mocking, and benchmarking
|
metadata.gz.sig
CHANGED
Binary file
|