minitest 5.14.1 → 5.14.2
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 +0 -0
- data.tar.gz.sig +2 -2
- data/History.rdoc +8 -3
- data/Rakefile +1 -1
- data/lib/minitest.rb +1 -1
- data/test/minitest/test_minitest_assertions.rb +16 -8
- metadata +7 -4
- 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: 463f6b37e39c4fb39d08330f5a8fdf88fc942796b5df85858681920918dc42d3
|
4
|
+
data.tar.gz: 4c3c32504fa31bba4ac7399d878fb1f36961f3647f5cae849f0bbdafa0dacc26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d0bee9dacb54b6c9d04b2ab5d9bc497907af2c468443e4a12aaf7b44fd13aa417c06c9ff9076b76590994e67a722bac7f45ef954c08d0a57c2ce21a19c8c70e
|
7
|
+
data.tar.gz: ffc6922ff0a89ab7bbecac705df59b7a285c2d475085ec59e6767cd7f61a14795b9cee253490112932865971c464c4f1a2e7195523a3bba426d434aa06aa3838
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Y�Z4͘ ��D�o5(,��������#�X`����:��܄H.����æ�%&l���Nv�#�`�ɑ�^�P̪>Lv���va��ㅇ`>[ǹ��M��Բt]
|
2
|
+
�M�B��o�_8�
|
data/History.rdoc
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== 5.14.2 / 2020-08-31
|
2
|
+
|
3
|
+
* 1 bug fix:
|
4
|
+
|
5
|
+
* Bumped ruby version to include 3.0 (trunk).
|
6
|
+
|
1
7
|
=== 5.14.1 / 2020-05-15
|
2
8
|
|
3
9
|
* 3 minor enhancements:
|
@@ -205,7 +211,7 @@
|
|
205
211
|
* 2 bug fixes:
|
206
212
|
|
207
213
|
* Re-release to refresh gem certificate signing. ugh.
|
208
|
-
* Fixed hoe/minitest to not augment load path if we're actually testing minitest.
|
214
|
+
* Fixed hoe/minitest to not augment load path if we're actually testing minitest.
|
209
215
|
|
210
216
|
=== 5.9.0 / 2016-05-16
|
211
217
|
|
@@ -229,7 +235,7 @@
|
|
229
235
|
* 2 bug fixes:
|
230
236
|
|
231
237
|
* Re-release to refresh gem certificate signing. ugh.
|
232
|
-
* Fixed hoe/minitest to not augment load path if we're actually testing minitest.
|
238
|
+
* Fixed hoe/minitest to not augment load path if we're actually testing minitest.
|
233
239
|
|
234
240
|
=== 5.8.4 / 2016-01-21
|
235
241
|
|
@@ -1389,4 +1395,3 @@ back.
|
|
1389
1395
|
* 1 major enhancement
|
1390
1396
|
|
1391
1397
|
* Birthday!
|
1392
|
-
|
data/Rakefile
CHANGED
data/lib/minitest.rb
CHANGED
@@ -1118,16 +1118,20 @@ class TestMinitestAssertions < Minitest::Test
|
|
1118
1118
|
end
|
1119
1119
|
end
|
1120
1120
|
|
1121
|
+
def assert_fail_after t
|
1122
|
+
@tc.fail_after t.year, t.month, t.day, "remove the deprecations"
|
1123
|
+
end
|
1124
|
+
|
1121
1125
|
def test_fail_after
|
1122
|
-
|
1123
|
-
|
1126
|
+
d0 = Time.now
|
1127
|
+
d1 = d0 + 86_400 # I am an idiot
|
1124
1128
|
|
1125
1129
|
assert_silent do
|
1126
|
-
|
1130
|
+
assert_fail_after d1
|
1127
1131
|
end
|
1128
1132
|
|
1129
1133
|
assert_triggered "remove the deprecations" do
|
1130
|
-
|
1134
|
+
assert_fail_after d0
|
1131
1135
|
end
|
1132
1136
|
end
|
1133
1137
|
|
@@ -1342,18 +1346,22 @@ class TestMinitestAssertions < Minitest::Test
|
|
1342
1346
|
end
|
1343
1347
|
end
|
1344
1348
|
|
1349
|
+
def assert_skip_until t, msg
|
1350
|
+
@tc.skip_until t.year, t.month, t.day, msg
|
1351
|
+
end
|
1352
|
+
|
1345
1353
|
def test_skip_until
|
1346
1354
|
@assertion_count = 0
|
1347
1355
|
|
1348
|
-
|
1349
|
-
|
1356
|
+
d0 = Time.now
|
1357
|
+
d1 = d0 + 86_400 # I am an idiot
|
1350
1358
|
|
1351
1359
|
assert_output "", /Stale skip_until \"not yet\" at .*?:\d+$/ do
|
1352
|
-
|
1360
|
+
assert_skip_until d0, "not yet"
|
1353
1361
|
end
|
1354
1362
|
|
1355
1363
|
assert_triggered "not ready yet", Minitest::Skip do
|
1356
|
-
|
1364
|
+
assert_skip_until d1, "not ready yet"
|
1357
1365
|
end
|
1358
1366
|
end
|
1359
1367
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.14.
|
4
|
+
version: 5.14.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
m5x9IDiApM+vCELNwDXXGNFEnQBBK+wAe4Pek8o1V1TTOxL1kGPewVOitX1p3xoN
|
30
30
|
h7iEjga8iM1LbZUfiISZ+WrB
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2020-
|
32
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rdoc
|
@@ -169,16 +169,19 @@ require_paths:
|
|
169
169
|
- lib
|
170
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
|
-
- - "
|
172
|
+
- - ">="
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '2.2'
|
175
|
+
- - "<"
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '3.1'
|
175
178
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
179
|
requirements:
|
177
180
|
- - ">="
|
178
181
|
- !ruby/object:Gem::Version
|
179
182
|
version: '0'
|
180
183
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
184
|
+
rubygems_version: 3.1.4
|
182
185
|
signing_key:
|
183
186
|
specification_version: 4
|
184
187
|
summary: minitest provides a complete suite of testing facilities supporting TDD,
|
metadata.gz.sig
CHANGED
Binary file
|