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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ea765a693b5e0ff21498e24a2880144f5e407283d225a6052dde11fbe6165a5
4
- data.tar.gz: 73f500c0dd7bbd0cbedcfa7c68d72da8f089f9397cd17d4a03e8f5bad0b40537
3
+ metadata.gz: e2ea23b9f86dd37b5f5f3d45fb451303827cbdf9414215d8f769da3624184325
4
+ data.tar.gz: 3d976e8b864261af92ba50d466235e4fa529f31d3560d60ec4deba8e724fc872
5
5
  SHA512:
6
- metadata.gz: 1028ca9777f3dc15155dbe813565e886df7c6d1b69d3074fdae470784c4bd8f96ee49602d2ea048832a71647b84b2d42ab9dcba0c2d948b8ec1cfb40c0e304b3
7
- data.tar.gz: 05fb281d6ba736c47ade5c871472ab339ef8a7f14d68c88f9fbb7190d3f2e9c7d387f571e6d45fa9d25076b0794e6eb16cc993b79637b67e55996954e51678d8
6
+ metadata.gz: 1258d24412b8461fe9a94acb9b795a1cd2a25db2d16f924ce6367662478d9e0672532636b5a2ccd809f549ba8ba6ab8f0cbeb6e8a249b1b91161cc4297f31c92
7
+ data.tar.gz: 4d6a977e948f40d05e7786d07656616e9f3a4e4469a59e7b5a8e571b8f6821284989156ca4225e8e7a29cfe640bbaf544248697e14536f7c63946ffc2a34232e
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,4 @@
1
- A kb�㢩��)8)����H�����sF=2�/�|d��b~8x�(K�h�ԡ`�m��F�`�Bz� ��`8��W�$G4m0�-r�p�7K��8}�Ҳ�LN�!�/:k�s���p�D]��k/c97�^ �GHN‰]�j��s-��~L K�o=���C
2
- y2��=O��Y򫑣&�&�0�0�?�N�ե��fW1 ���-�|��d��3���R�5O�+B_��)Cڡ���Q�#E�OLF}��&�����}��
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
- (As of 2024-05-10)
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
- | 7.1 | >= 2.7 | >= 5.1 | Current | 2026-06-01?|
422
- | 7.0 | >= 2.7 | >= 5.1 | Maint | 2025-06-01?|
423
- | 6.1 | >= 2.5 | >= 5.1 | Security | 2024-06-01?|
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 7.0.0
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.3 | Current | 2027-03-31 |
436
- | 3.2 | Maint | 2026-03-31 |
437
- | 3.1 | Security| 2025-03-31 |
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 | DO YOU SEE WHAT I'M STUCK WITH???
448
+ | 2.5 | EOL | 2021-03-31 |
442
449
 
443
450
  === How to test SimpleDelegates?
444
451
 
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ Hoe.spec "minitest" do
12
12
 
13
13
  license "MIT"
14
14
 
15
- require_ruby_version [">= 2.6", "< 4.0"]
15
+ require_ruby_version [">= 2.7", "< 4.0"]
16
16
  end
17
17
 
18
18
  desc "Find missing expectations"
@@ -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#assert_pattern_match
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#refute_pattern_match
296
+ # See Minitest::Assertions#refute_pattern
297
297
  #
298
298
  # _ { ... }.wont_pattern_match [...]
299
299
  #
data/lib/minitest/test.rb CHANGED
@@ -9,8 +9,8 @@ module Minitest
9
9
 
10
10
  class Test < Runnable
11
11
  require "minitest/assertions"
12
- include Minitest::Assertions
13
12
  include Minitest::Reportable
13
+ include Minitest::Assertions
14
14
 
15
15
  def class_name # :nodoc:
16
16
  self.class.name # for Minitest::Reportable
data/lib/minitest.rb CHANGED
@@ -10,7 +10,7 @@ require_relative "minitest/compress"
10
10
  # runtime. See +Minitest.run+ for more information.
11
11
 
12
12
  module Minitest
13
- VERSION = "5.25.4" # :nodoc:
13
+ VERSION = "5.25.5" # :nodoc:
14
14
 
15
15
  @@installed_at_exit ||= false
16
16
  @@after_run = []
@@ -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
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
- MIIDPjCCAiagAwIBAgIBCDANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
12
+ MIIDPjCCAiagAwIBAgIBCTANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
13
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTI0MDEwMjIxMjEyM1oXDTI1MDEwMTIxMjEyM1owRTETMBEGA1UE
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
- AQCygvpmncmkiSs9r/Kceo4bBPDszhTv6iBi4LwMReqnFrpNLMOWJw7xi8x+3eL2
26
- XS09ZPNOt2zm70KmFouBMgOysnDY4k2dE8uF6B8JbZOO8QfalW+CoNBliefOTcn2
27
- bg5IOP7UoGM5lC174/cbDJrJnRG9bzig5FAP0mvsgA8zgTRXQzIUAZEo92D5K7p4
28
- B4/O998ho6BSOgYBI9Yk1ttdCtti6Y+8N9+fZESsjtWMykA+WXWeGUScHqiU+gH8
29
- S7043fq9EbQdBr2AXdj92+CDwuTfHI6/Hj5FVBDULufrJaan4xUgL70Hvc6pTTeW
30
- deKfBjgVAq7EYHu1AczzlUly
24
+ AQAC0WQJcPOWPFwkojhzweilRVjTJ19UiLhiBTw3C1wJO3LVdBkWDmnnhAmKuX4D
25
+ r7vjQvESlABGIPdutI1Yl7mrHQzTkfLfXvNN6MT0nLChPyIYauT6SZZxubwJrUfA
26
+ 7R0c2CJTIboZ0XaGpLsXqHEF1c29H7TV1QvVuqKAN2mCjh4N82QVn+ZKtys28AwT
27
+ 6GfQX2fqLoi4KSc7xIzHKaNzqxeOICmJofk9w5VZ2rRN6yes8jvFYwz9HR41wdj8
28
+ bwfinv7Yp5fA6AysuZLhCykyfDuZVRrUp0Vb68YCKsLjJly/Theak+euNTxvHsB+
29
+ al9oSgPPHICMEX65qvLywitx
31
30
  -----END CERTIFICATE-----
32
- date: 2024-12-04 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
@@ -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.6'
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.5.23
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