minitest-retry 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/minitest/retry/version.rb +1 -1
- data/lib/minitest/retry.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e01a3183f857a2f744f9fb82ec0964d1890a53f1
|
4
|
+
data.tar.gz: 16987d42ebef0e7a218c41b9236d3010d7df3cd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5696bd10521565131ceb26375d25d29ff3e7286a7ca8e03e3d07cd7ddb9d2aca5b7c5e4aed9310e8a6c3e5109dc6e7e07e2ccbce92f010a5a0c156d11c843a1d
|
7
|
+
data.tar.gz: 616ee7b8435b4dda4e52c09fdf8595ac0a6755790c5a82d40d5e563203eae339d964b357a74b1c15d9bbdf8ab987dea3642284da9dbeef8edddcb68b11bf06ef
|
data/CHANGELOG.md
ADDED
data/lib/minitest/retry.rb
CHANGED
@@ -23,7 +23,7 @@ module Minitest
|
|
23
23
|
def run_one_method(klass, method_name)
|
24
24
|
retry_count = Minitest::Retry.retry_count
|
25
25
|
result = super(klass, method_name)
|
26
|
-
|
26
|
+
if !result.failures.empty? && !result.skipped?
|
27
27
|
retry_count.times do |count|
|
28
28
|
if Minitest::Retry.verbose && Minitest::Retry.io
|
29
29
|
msg = "[MiniestRetry] retry '%s' count: %s, msg: %s\n" %
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-retry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuji Yaginuma
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -61,6 +61,7 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
63
|
- ".travis.yml"
|
64
|
+
- CHANGELOG.md
|
64
65
|
- Gemfile
|
65
66
|
- LICENSE.txt
|
66
67
|
- README.md
|