minitest-retry 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: e01a3183f857a2f744f9fb82ec0964d1890a53f1
4
- data.tar.gz: 16987d42ebef0e7a218c41b9236d3010d7df3cd9
3
+ metadata.gz: 7187e2a96eb701381689c1bbecde36ddda168f5e
4
+ data.tar.gz: a3ddf1808ffe45f9839f45789dd2156e7b9c362a
5
5
  SHA512:
6
- metadata.gz: 5696bd10521565131ceb26375d25d29ff3e7286a7ca8e03e3d07cd7ddb9d2aca5b7c5e4aed9310e8a6c3e5109dc6e7e07e2ccbce92f010a5a0c156d11c843a1d
7
- data.tar.gz: 616ee7b8435b4dda4e52c09fdf8595ac0a6755790c5a82d40d5e563203eae339d964b357a74b1c15d9bbdf8ab987dea3642284da9dbeef8edddcb68b11bf06ef
6
+ metadata.gz: d70fe4ca5aa7013da901672005e6f4cdbfbe9134bb6e12101272f0197dd2014163bb2359642d826d865644ccdafa0800f2b6ca7ed36f909699a6db5fe65b2c47
7
+ data.tar.gz: 6abdcf5ed42cf11696743c5bbc365ecdf3c9611c9416121d466a880e587e1abaee477f6ef1fc3680a976f9b3304958fb7d786dcf67a01d59480c2bb23ac66457
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.6
4
- - 2.2.2
3
+ - 2.1.7
4
+ - 2.2.3
5
5
  before_install: gem install bundler -v 1.10.4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.4
2
+
3
+ * Fix typo in verbose output [semanticart]
4
+
1
5
  ## 0.1.3
2
6
 
3
7
  * modify so as not to retry it a had gone to retry the skip test.
data/README.md CHANGED
@@ -32,7 +32,7 @@ Minitest::Retry.use!
32
32
 
33
33
  Options can be specified to `use!` method. Can specify options are as follows:
34
34
 
35
- ```
35
+ ```ruby
36
36
  Minitest::Retry.use!(
37
37
  retry_count: 3 # The number of times to retry. The default is 3.
38
38
  verbose: true # Whether or not to display the message at the time of retry. The default is true.
@@ -56,9 +56,9 @@ end
56
56
  ```console
57
57
  # Running:
58
58
 
59
- [MiniestRetry] retry 'test_fail' count: 1, msg: test fail
60
- [MiniestRetry] retry 'test_fail' count: 2, msg: test fail
61
- [MiniestRetry] retry 'test_fail' count: 3, msg: test fail
59
+ [MinitestRetry] retry 'test_fail' count: 1, msg: test fail
60
+ [MinitestRetry] retry 'test_fail' count: 2, msg: test fail
61
+ [MinitestRetry] retry 'test_fail' count: 3, msg: test fail
62
62
  F
63
63
 
64
64
  Finished in 0.002479s, 403.4698 runs/s, 403.4698 assertions/s.
@@ -72,3 +72,7 @@ test fail
72
72
 
73
73
  Bug reports and pull requests are welcome on GitHub at https://github.com/y-yagi/minitest-retry.
74
74
 
75
+
76
+ ## License
77
+
78
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -26,7 +26,7 @@ module Minitest
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
- msg = "[MiniestRetry] retry '%s' count: %s, msg: %s\n" %
29
+ msg = "[MinitestRetry] retry '%s' count: %s, msg: %s\n" %
30
30
  [method_name, count + 1, result.failures.join(",")]
31
31
  Minitest::Retry.io.puts(msg)
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Retry
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
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.3
4
+ version: 0.1.4
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-08-05 00:00:00.000000000 Z
11
+ date: 2015-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest