minitest-rails 7.1.1 → 8.1.0

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: 366bdf646c76a474e4a6e32bc9bc9194b83ed5f62b428ab97dc8db42f2d3e343
4
- data.tar.gz: f31b60001d5ec8228e1fb013b2a7dccfd728ab8b9c043c34703c2bb557a8c9a4
3
+ metadata.gz: 8974abacb162f274a9e6770da8c219c4e4d5c854e5cfa7613b8165fa74e59436
4
+ data.tar.gz: 48a5da677d8b2942d70d5817671cabfdeb0888ae4a46f69f0b483af8ea6ea227
5
5
  SHA512:
6
- metadata.gz: 055fb9425c3e51c50906ae6265e929d0526cdc88e17183125f08e7f641793706a234ea594cfea1a9017c0346858315bd89c213c53c3a7b29372e5b14e49ca3a1
7
- data.tar.gz: 72abc22aee14f721e025977babfd28f1448b5ee531df93c0bf00c8a0ef08598753e6cbefb6076eb7cbabd385d46cdfb67f31aab10ec585f0a3ecab811afa082c
6
+ metadata.gz: 1ba65cf8bb3c7b89a5ab6d7a90ff009069e2d9ca5919979e12a2a63f5d1742eb447389a64a62fd01fe3b8a420dd9491e6570fc5161c165534d11bd0f542ce18e
7
+ data.tar.gz: fb66261a81bf446026543cbcd2c4fa2e5966ee36c5663801a109620d237f2a5ab55a34a3cd23cac4403efd9952bc448ab2e5c51a99d2f601f68a94c628e6019c
checksums.yaml.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ ��4X�Q����O&0}���j(/�D׬��j*�ѩ~�nA} �4�sT�6v�R�\\�FƵ��7�Y4Q�N(C�D��J���"h"�8�*�R5ԆF������7��c�����w�ټϭs@�Ө7�y��e#��
2
+ ;����T�;r� n��� ���E�f��:����mV��a����9�w.D�@2�^^����@�� ؎P�4e���� z���i�\m8:�g���8dˇ�
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changes
2
2
 
3
+ ### 8.1.0 / 2025-10-28
4
+
5
+ Support Rails 8.1.
6
+
7
+ ### 8.0.0 / 2024-12-18
8
+
9
+ Support Rails 8.0.
10
+
11
+ ### 7.2.0 / 2024-12-17
12
+
13
+ Support Rails 7.2.
14
+
3
15
  ### 7.1.0 / 2023-10-26
4
16
 
5
17
  Support Rails 7.1.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # minitest-rails
2
2
 
3
- Minitest integration for Rails 7.1
3
+ Minitest integration for Rails 8.1
4
4
 
5
5
  [![CI](https://github.com/minitest/minitest-rails/actions/workflows/ci.yml/badge.svg)](https://github.com/minitest/minitest-rails/actions/workflows/ci.yml)
6
6
  [![CodeQL](https://github.com/minitest/minitest-rails/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/minitest/minitest-rails/actions/workflows/github-code-scanning/codeql)
@@ -22,7 +22,25 @@ Create a new rails app:
22
22
  ### Choosing a version
23
23
 
24
24
  This gem follows the versioning of Rails.
25
- For example, if you are using Rails 7.1 you will specify:
25
+ For example, if you are using Rails 8.1 you will specify:
26
+
27
+ ```ruby
28
+ gem "minitest-rails", "~> 8.1.0"
29
+ ```
30
+
31
+ If you are running Rails 8.0 you will specify:
32
+
33
+ ```ruby
34
+ gem "minitest-rails", "~> 8.0.0"
35
+ ```
36
+
37
+ If you are running Rails 7.2 you will specify:
38
+
39
+ ```ruby
40
+ gem "minitest-rails", "~> 7.2.0"
41
+ ```
42
+
43
+ If you are running Rails 7.1 you will specify:
26
44
 
27
45
  ```ruby
28
46
  gem "minitest-rails", "~> 7.1.0"
data/UPDATING.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Updating from previous versions
2
2
 
3
- If you are upgrading from previous versions, then there are some subtle changes that you should be aware of. Do you see a change that is not listed in this document? Then please [open an issue](https://github.com/blowmage/minitest-rails/issues/new) to add it.
3
+ If you are upgrading from previous versions, then there are some subtle changes that you should be aware of. Do you see a change that is not listed in this document? Then please [open an issue](https://github.com/minitest/minitest-rails/issues/new) to add it.
4
4
 
5
5
  ## Spec DSL
6
6
 
@@ -25,7 +25,7 @@ class ActionCable::TestCase
25
25
  # end
26
26
  #
27
27
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_have_broadcasts
28
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
28
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
29
29
  #
30
30
  # :method: assert_broadcasts
31
31
  # :call-seq: assert_broadcasts(stream, number)
@@ -52,7 +52,7 @@ class ActionCable::TestCase
52
52
  # assert_broadcasts 'messages', 0, &block
53
53
  #
54
54
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#wont_have_broadcasts
55
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
55
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
56
56
  #
57
57
  # :method: refute_broadcasts
58
58
  # :call-seq: refute_broadcasts(stream, &block)
@@ -75,7 +75,7 @@ class ActionCable::TestCase
75
75
  # end
76
76
  #
77
77
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_broadcast_on
78
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
78
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
79
79
  #
80
80
  # :method: assert_broadcast_on
81
81
  # :call-seq: assert_broadcast_on(stream, data)
@@ -108,7 +108,7 @@ class ActionCable::Channel::TestCase
108
108
  # end
109
109
  #
110
110
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_have_broadcasts
111
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
111
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
112
112
  #
113
113
  # :method: assert_broadcasts
114
114
  # :call-seq: assert_broadcasts(stream, number)
@@ -135,7 +135,7 @@ class ActionCable::Channel::TestCase
135
135
  # assert_broadcasts 'messages', 0, &block
136
136
  #
137
137
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#wont_have_broadcasts
138
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
138
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
139
139
  #
140
140
  # :method: refute_broadcasts
141
141
  # :call-seq: refute_broadcasts(stream, &block)
@@ -158,7 +158,7 @@ class ActionCable::Channel::TestCase
158
158
  # end
159
159
  #
160
160
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_broadcast_on
161
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
161
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
162
162
  #
163
163
  # :method: assert_broadcast_on
164
164
  # :call-seq: assert_broadcast_on(stream, data)
@@ -172,7 +172,7 @@ class ActionCable::Channel::TestCase
172
172
  # end
173
173
  #
174
174
  # See also Minitest::Rails::Expectations::ActionCable::Channel#wont_have_streams
175
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
175
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
176
176
  #
177
177
  # :method: refute_streams
178
178
  alias refute_streams assert_no_streams
@@ -186,7 +186,7 @@ class ActionCable::Channel::TestCase
186
186
  # end
187
187
  #
188
188
  # See also Minitest::Rails::Expectations::ActionCable::Channel#must_have_streams
189
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
189
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
190
190
  #
191
191
  # :method: assert_has_stream
192
192
  # :call-seq: assert_has_stream(stream)
@@ -200,7 +200,7 @@ class ActionCable::Channel::TestCase
200
200
  # end
201
201
  #
202
202
  # See also Minitest::Rails::Expectations::ActionCable::Channel#must_have_stream_for
203
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
203
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
204
204
  #
205
205
  # :method: assert_has_stream_for
206
206
  # :call-seq: assert_has_stream_for(object)
@@ -226,7 +226,7 @@ class ActionCable::Connection::TestCase
226
226
  # end
227
227
  #
228
228
  # See also Minitest::Rails::Expectations::ActionCable#must_reject_connection
229
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
229
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
230
230
  #
231
231
  # :method: assert_reject_connection
232
232
  end
@@ -25,7 +25,7 @@ class ActionMailer::TestCase
25
25
  # end
26
26
  #
27
27
  # See also Minitest::Rails::Expectations::ActionMailer#must_have_emails
28
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_emails
28
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_emails
29
29
  #
30
30
  # :method: assert_emails
31
31
  # :call-seq: assert_emails(number, &block)
@@ -51,7 +51,7 @@ class ActionMailer::TestCase
51
51
  # assert_emails 0, &block
52
52
  #
53
53
  # See also Minitest::Rails::Expectations::ActionMailer#wont_have_emails
54
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
54
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
55
55
  #
56
56
  # :method: refute_emails
57
57
  # :call-seq: refute_emails(&block)
@@ -84,7 +84,7 @@ class ActionMailer::TestCase
84
84
  # end
85
85
  #
86
86
  # See also Minitest::Rails::Expectations::ActionMailer#must_have_enqueued_emails
87
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
87
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
88
88
  #
89
89
  # :method: assert_enqueued_emails
90
90
  # :call-seq: assert_enqueued_emails(number, &block)
@@ -122,7 +122,7 @@ class ActionMailer::TestCase
122
122
  # end
123
123
  #
124
124
  # See also Minitest::Rails::Expectations::ActionMailer#must_enqueue_email_with
125
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
125
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
126
126
  #
127
127
  # :method: assert_enqueued_email_with
128
128
  # :call-seq: assert_enqueued_email_with(mailer, method, args: nil, queue: "mailers", &block)
@@ -145,7 +145,7 @@ class ActionMailer::TestCase
145
145
  # end
146
146
  #
147
147
  # See also Minitest::Rails::Expectations::ActionMailer#wont_have_enqueued_emails
148
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
148
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
149
149
  #
150
150
  # :method: refute_enqueued_emails
151
151
  # :call-seq: refute_enqueued_emails(&block)
@@ -8,7 +8,7 @@ class ActiveSupport::TestCase
8
8
  # end
9
9
  #
10
10
  # See also Minitest::Rails::Expectations::ActiveSupport#must_change
11
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
11
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
12
12
  #
13
13
  # :method: assert_changes
14
14
  # :call-seq: assert_changes(expression, message = nil, from: UNTRACKED, to: UNTRACKED, &block)
@@ -22,7 +22,7 @@ class ActiveSupport::TestCase
22
22
  # end
23
23
  #
24
24
  # See also Minitest::Rails::Expectations::ActiveSupport#wont_change
25
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
25
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
26
26
  #
27
27
  # :args: expression, message = nil, &block
28
28
  alias refute_changes assert_no_changes
@@ -36,7 +36,7 @@ class ActiveSupport::TestCase
36
36
  # end
37
37
  #
38
38
  # See also Minitest::Rails::Expectations::ActiveSupport#must_change
39
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
39
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
40
40
  #
41
41
  # :method: assert_difference
42
42
  # :call-seq: assert_difference(expression, *args, &block)
@@ -50,7 +50,7 @@ class ActiveSupport::TestCase
50
50
  # end
51
51
  #
52
52
  # See also Minitest::Rails::Expectations::ActiveSupport#wont_change
53
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
53
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
54
54
  #
55
55
  # :args: expression, message = nil, &block
56
56
  alias refute_difference assert_no_difference
@@ -31,7 +31,7 @@ module Minitest
31
31
  # end
32
32
  #
33
33
  # See also ActionCable::TestHelper#assert_broadcasts
34
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
34
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
35
35
  #
36
36
  # :method: must_have_broadcasts
37
37
  # :call-seq: must_have_broadcasts(stream, number)
@@ -58,7 +58,7 @@ module Minitest
58
58
  # must_have_broadcasts 'messages', 0, &block
59
59
  #
60
60
  # See also ActionCable::TestHelper#wont_have_broadcasts
61
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
61
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
62
62
  #
63
63
  # :method: wont_have_broadcasts
64
64
  # :call-seq: wont_have_broadcasts(stream, &block)
@@ -80,7 +80,7 @@ module Minitest
80
80
  # end
81
81
  #
82
82
  # See also ActionCable::TestHelper#assert_broadcast_on
83
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
83
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
84
84
  #
85
85
  # :method: must_broadcast_on
86
86
  # :call-seq: must_broadcast_on(stream, data)
@@ -104,7 +104,7 @@ module Minitest
104
104
  # end
105
105
  #
106
106
  # See also ActionCable::Channel::TestCase#assert_no_streams
107
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
107
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
108
108
  #
109
109
  # :method: wont_have_streams
110
110
 
@@ -117,7 +117,7 @@ module Minitest
117
117
  # end
118
118
  #
119
119
  # See also ActionCable::Channel::TestCase#assert_has_stream
120
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
120
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
121
121
  #
122
122
  # :method: must_have_streams
123
123
  # :call-seq: must_have_streams(stream)
@@ -131,7 +131,7 @@ module Minitest
131
131
  # end
132
132
  #
133
133
  # See also ActionCable::Channel::TestCase#assert_has_stream_for
134
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
134
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
135
135
  #
136
136
  # :method: must_have_stream_for
137
137
  # :call-seq: must_have_stream_for(object)
@@ -166,7 +166,7 @@ module Minitest
166
166
  # end
167
167
  #
168
168
  # See also ActionCable::Connection::TestCase#assert_reject_connection
169
- # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
169
+ # See https://api.rubyonrails.org/v8.1/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
170
170
  #
171
171
  # :method: must_reject_connection
172
172
 
@@ -30,7 +30,7 @@ module Minitest
30
30
  # end
31
31
  #
32
32
  # See also ActionMailer::TestClass#assert_emails
33
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_emails
33
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_emails
34
34
  #
35
35
  # :method: must_have_emails
36
36
  # :call-seq: must_have_emails(number, &block)
@@ -56,7 +56,7 @@ module Minitest
56
56
  # must_have_emails 0, &block
57
57
  #
58
58
  # See also ActionMailer::TestClass#wont_have_emails
59
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
59
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
60
60
  #
61
61
  # :method: wont_have_emails
62
62
  # :call-seq: wont_have_emails(&block)
@@ -88,7 +88,7 @@ module Minitest
88
88
  # end
89
89
  #
90
90
  # See also ActionMailer::TestClass#assert_enqueued_emails
91
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
91
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
92
92
  #
93
93
  # :method: must_have_enqueued_emails
94
94
  # :call-seq: must_have_enqueued_emails(number, &block)
@@ -126,7 +126,7 @@ module Minitest
126
126
  # end
127
127
  #
128
128
  # See also ActionMailer::TestClass#assert_enqueued_email_with
129
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
129
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
130
130
  #
131
131
  # :method: must_enqueue_email_with
132
132
  # :call-seq: must_enqueue_email_with(mailer, method, args: nil, queue: "mailers", &block)
@@ -149,7 +149,7 @@ module Minitest
149
149
  # end
150
150
  #
151
151
  # See also ActionMailer::TestClass#assert_no_enqueued_emails
152
- # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
152
+ # See https://api.rubyonrails.org/v8.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
153
153
  #
154
154
  # :method: wont_have_enqueued_emails
155
155
  # :call-seq: wont_have_enqueued_emails(&block)
@@ -12,7 +12,7 @@ module Minitest
12
12
  # end }.must_change "User.count", from: 5, to: 8
13
13
  #
14
14
  # See also ActiveSupport::TestCase#assert_difference
15
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
15
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
16
16
  #
17
17
  # :method: must_change
18
18
  # :args: expression, from: UNTRACKED, to: UNTRACKED
@@ -27,7 +27,7 @@ module Minitest
27
27
  # end
28
28
  #
29
29
  # See also ActiveSupport::TestCase#assert_difference
30
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
30
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
31
31
  #
32
32
  # :method: wont_change
33
33
  # :args: expression
@@ -43,7 +43,7 @@ module Minitest
43
43
  # end }.must_differ "User.count", 3
44
44
  #
45
45
  # See also ActiveSupport::TestCase#assert_difference
46
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
46
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
47
47
  #
48
48
  # :method: must_differ
49
49
  # :args: expression, *args
@@ -56,7 +56,7 @@ module Minitest
56
56
  # value { User.new }.wont_differ "User.count"
57
57
  #
58
58
  # See also ActiveSupport::TestCase#refute_difference
59
- # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
59
+ # See https://api.rubyonrails.org/v8.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
60
60
  #
61
61
  # :method: wont_differ
62
62
  # :args: expression
@@ -25,8 +25,8 @@ end
25
25
  module Kernel # :nodoc:
26
26
  alias describe_before_minitest_spec_constant_fix describe
27
27
  private :describe_before_minitest_spec_constant_fix
28
- def describe *args, &block
29
- cls = describe_before_minitest_spec_constant_fix(*args, &block)
28
+ def describe(*, &block)
29
+ cls = describe_before_minitest_spec_constant_fix(*, &block)
30
30
  cls_const = "Test__#{cls.name.to_s.split(/\W/).reject(&:empty?).join('_'.freeze)}"
31
31
  if block.source_location
32
32
  source_path, line_num = block.source_location
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Rails
3
- VERSION = "7.1.1".freeze
3
+ VERSION = "8.1.0".freeze
4
4
  end
5
5
  end
data.tar.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+
2
+ �<η����_ݝ�%D�r��]?{(�l�Ԉ���)���w=?�Y�����K:�
metadata CHANGED
@@ -1,14 +1,34 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.1
4
+ version: 8.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
- autorequire:
9
8
  bindir: bin
10
- cert_chain: []
11
- date: 2024-06-25 00:00:00.000000000 Z
9
+ cert_chain:
10
+ - |
11
+ -----BEGIN CERTIFICATE-----
12
+ MIIDPjCCAiagAwIBAgIBCTANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
13
+ ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
14
+ GRYDY29tMB4XDTI1MDEwNjIzMjcwMVoXDTI2MDEwNjIzMjcwMVowRTETMBEGA1UE
15
+ AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
16
+ JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
17
+ b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
18
+ taCPaLmfYIaFcHHCSY4hYDJijRQkLxPeB3xbOfzfLoBDbjvx5JxgJxUjmGa7xhcT
19
+ oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
20
+ GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
21
+ qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
22
+ gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
23
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
24
+ AQAC0WQJcPOWPFwkojhzweilRVjTJ19UiLhiBTw3C1wJO3LVdBkWDmnnhAmKuX4D
25
+ r7vjQvESlABGIPdutI1Yl7mrHQzTkfLfXvNN6MT0nLChPyIYauT6SZZxubwJrUfA
26
+ 7R0c2CJTIboZ0XaGpLsXqHEF1c29H7TV1QvVuqKAN2mCjh4N82QVn+ZKtys28AwT
27
+ 6GfQX2fqLoi4KSc7xIzHKaNzqxeOICmJofk9w5VZ2rRN6yes8jvFYwz9HR41wdj8
28
+ bwfinv7Yp5fA6AysuZLhCykyfDuZVRrUp0Vb68YCKsLjJly/Theak+euNTxvHsB+
29
+ al9oSgPPHICMEX65qvLywitx
30
+ -----END CERTIFICATE-----
31
+ date: 1980-01-02 00:00:00.000000000 Z
12
32
  dependencies:
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: minitest
@@ -30,20 +50,20 @@ dependencies:
30
50
  requirements:
31
51
  - - ">="
32
52
  - !ruby/object:Gem::Version
33
- version: 7.1.0
53
+ version: 8.1.0
34
54
  - - "<"
35
55
  - !ruby/object:Gem::Version
36
- version: 8.0.0
56
+ version: 8.2.0
37
57
  type: :runtime
38
58
  prerelease: false
39
59
  version_requirements: !ruby/object:Gem::Requirement
40
60
  requirements:
41
61
  - - ">="
42
62
  - !ruby/object:Gem::Version
43
- version: 7.1.0
63
+ version: 8.1.0
44
64
  - - "<"
45
65
  - !ruby/object:Gem::Version
46
- version: 8.0.0
66
+ version: 8.2.0
47
67
  - !ruby/object:Gem::Dependency
48
68
  name: minitest-autotest
49
69
  requirement: !ruby/object:Gem::Requirement
@@ -78,42 +98,42 @@ dependencies:
78
98
  requirements:
79
99
  - - "~>"
80
100
  - !ruby/object:Gem::Version
81
- version: '5.2'
101
+ version: '5.3'
82
102
  type: :development
83
103
  prerelease: false
84
104
  version_requirements: !ruby/object:Gem::Requirement
85
105
  requirements:
86
106
  - - "~>"
87
107
  - !ruby/object:Gem::Version
88
- version: '5.2'
108
+ version: '5.3'
89
109
  - !ruby/object:Gem::Dependency
90
110
  name: rdoc
91
111
  requirement: !ruby/object:Gem::Requirement
92
112
  requirements:
93
113
  - - "~>"
94
114
  - !ruby/object:Gem::Version
95
- version: '6.5'
115
+ version: '6.14'
96
116
  type: :development
97
117
  prerelease: false
98
118
  version_requirements: !ruby/object:Gem::Requirement
99
119
  requirements:
100
120
  - - "~>"
101
121
  - !ruby/object:Gem::Version
102
- version: '6.5'
122
+ version: '6.14'
103
123
  - !ruby/object:Gem::Dependency
104
124
  name: rubocop
105
125
  requirement: !ruby/object:Gem::Requirement
106
126
  requirements:
107
127
  - - "~>"
108
128
  - !ruby/object:Gem::Version
109
- version: 1.57.0
129
+ version: 1.81.0
110
130
  type: :development
111
131
  prerelease: false
112
132
  version_requirements: !ruby/object:Gem::Requirement
113
133
  requirements:
114
134
  - - "~>"
115
135
  - !ruby/object:Gem::Version
116
- version: 1.57.0
136
+ version: 1.81.0
117
137
  description: Adds Minitest as the default testing library in Rails
118
138
  email:
119
139
  - mike@blowmage.com
@@ -189,7 +209,6 @@ licenses:
189
209
  - MIT
190
210
  metadata:
191
211
  rubygems_mfa_required: 'true'
192
- post_install_message:
193
212
  rdoc_options: []
194
213
  require_paths:
195
214
  - lib
@@ -197,15 +216,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
197
216
  requirements:
198
217
  - - ">="
199
218
  - !ruby/object:Gem::Version
200
- version: 2.7.0
219
+ version: '3.2'
201
220
  required_rubygems_version: !ruby/object:Gem::Requirement
202
221
  requirements:
203
222
  - - ">="
204
223
  - !ruby/object:Gem::Version
205
224
  version: '0'
206
225
  requirements: []
207
- rubygems_version: 3.5.13
208
- signing_key:
226
+ rubygems_version: 3.7.2
209
227
  specification_version: 4
210
228
  summary: Minitest integration for Rails
211
229
  test_files: []
metadata.gz.sig ADDED
Binary file