minitest 5.14.1 → 5.14.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ed38adcad085c6c7c1cb81e9b580908d0b5b1b3696ad0014485b6524c20e344
4
- data.tar.gz: c3574e199c963262186d5c865f248570194b1614ab4fcba13e5dfa8a2419785c
3
+ metadata.gz: 463f6b37e39c4fb39d08330f5a8fdf88fc942796b5df85858681920918dc42d3
4
+ data.tar.gz: 4c3c32504fa31bba4ac7399d878fb1f36961f3647f5cae849f0bbdafa0dacc26
5
5
  SHA512:
6
- metadata.gz: 543a116cf39777334557ecae8d76768afcb860995555945295669a68c20c9268543112368f65c848081ff0ab2ca727a87590676c3cadf1bc87bebc5986f08e92
7
- data.tar.gz: b23ea10b6259ad60c96dbd3a384e8d39dcac48d3f961a26b3aa6e910ed947e6fc2d4b36fb06e8e84667457a6d897e3dca855771c0c6c3bfb81b38d3d83c1b3af
6
+ metadata.gz: 1d0bee9dacb54b6c9d04b2ab5d9bc497907af2c468443e4a12aaf7b44fd13aa417c06c9ff9076b76590994e67a722bac7f45ef954c08d0a57c2ce21a19c8c70e
7
+ data.tar.gz: ffc6922ff0a89ab7bbecac705df59b7a285c2d475085ec59e6767cd7f61a14795b9cee253490112932865971c464c4f1a2e7195523a3bba426d434aa06aa3838
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- $&z���ké_CS�q
2
- nrpT.���膎P7
1
+ YZ4͘ ��Do5(,������� �#�X`����:��܄H.����æ�%&l���Nv�#�`�ɑ�^�P̪>Lv���va��ㅇ`>[ǹ��M��Բt]
2
+ �M�B��o�_8�
@@ -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
@@ -11,7 +11,7 @@ Hoe.spec "minitest" do
11
11
 
12
12
  license "MIT"
13
13
 
14
- require_ruby_version "~> 2.2"
14
+ require_ruby_version [">= 2.2", "< 3.1"]
15
15
  end
16
16
 
17
17
  desc "Find missing expectations"
@@ -8,7 +8,7 @@ require "stringio"
8
8
  # :include: README.rdoc
9
9
 
10
10
  module Minitest
11
- VERSION = "5.14.1" # :nodoc:
11
+ VERSION = "5.14.2" # :nodoc:
12
12
  ENCS = "".respond_to? :encoding # :nodoc:
13
13
 
14
14
  @@installed_at_exit ||= false
@@ -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
- t = Time.now
1123
- y, m, d = t.year, t.month, t.day
1126
+ d0 = Time.now
1127
+ d1 = d0 + 86_400 # I am an idiot
1124
1128
 
1125
1129
  assert_silent do
1126
- @tc.fail_after y, m, d+1, "remove the deprecations"
1130
+ assert_fail_after d1
1127
1131
  end
1128
1132
 
1129
1133
  assert_triggered "remove the deprecations" do
1130
- @tc.fail_after y, m, d, "remove the deprecations"
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
- t = Time.now
1349
- y, m, d = t.year, t.month, t.day
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
- @tc.skip_until y, m, d, "not yet"
1360
+ assert_skip_until d0, "not yet"
1353
1361
  end
1354
1362
 
1355
1363
  assert_triggered "not ready yet", Minitest::Skip do
1356
- @tc.skip_until y, m, d+1, "not ready yet"
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.1
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-05-16 00:00:00.000000000 Z
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.0.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