wait 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/counters/base.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +15 -17
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 659fa7cef149a5fd00974e215c8bd38435926564
|
4
|
+
data.tar.gz: e310b8b397a9feeaf0fc7a9105dd4ce3415e82b3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4c74d44131b8a80d85d1ddce4e1c637ad722549f09cb1b14964607a8ad9b82656114c27739f07e0a0c7c388cb3971dc81415b15cd3fd859ead36c38dcf28828a
|
7
|
+
data.tar.gz: a4e1bd5679ca093e707fa2e7a81e48dd44871b724725887c0a180a033a71986624dbfc216014f767582641060d872ee3b2c36defe01c3bcee30f2d16c773d934
|
data/lib/counters/base.rb
CHANGED
@@ -6,7 +6,7 @@ class Wait
|
|
6
6
|
def initialize(total)
|
7
7
|
# Attempt to prevent causing an infinite loop by being very strict about
|
8
8
|
# the value passed.
|
9
|
-
unless total.is_a?(
|
9
|
+
unless total.is_a?(Integer) and total > 0
|
10
10
|
raise(ArgumentError, "invalid number of attempts: #{total.inspect}")
|
11
11
|
end
|
12
12
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Todd Mazierski
|
@@ -18,44 +17,43 @@ executables: []
|
|
18
17
|
extensions: []
|
19
18
|
extra_rdoc_files: []
|
20
19
|
files:
|
21
|
-
- lib/wait.rb
|
22
|
-
- lib/version.rb
|
23
20
|
- lib/counters/base.rb
|
21
|
+
- lib/delayers/base.rb
|
22
|
+
- lib/delayers/exponential.rb
|
23
|
+
- lib/delayers/regular.rb
|
24
|
+
- lib/initialize.rb
|
24
25
|
- lib/loggers/base.rb
|
25
26
|
- lib/loggers/debug.rb
|
26
|
-
- lib/rescuers/base.rb
|
27
27
|
- lib/raisers/base.rb
|
28
|
-
- lib/raisers/signal.rb
|
29
28
|
- lib/raisers/passive.rb
|
30
|
-
- lib/
|
31
|
-
- lib/
|
32
|
-
- lib/delayers/exponential.rb
|
33
|
-
- lib/delayers/regular.rb
|
29
|
+
- lib/raisers/signal.rb
|
30
|
+
- lib/rescuers/base.rb
|
34
31
|
- lib/testers/base.rb
|
35
|
-
- lib/testers/truthy.rb
|
36
32
|
- lib/testers/passive.rb
|
33
|
+
- lib/testers/truthy.rb
|
34
|
+
- lib/version.rb
|
35
|
+
- lib/wait.rb
|
37
36
|
homepage: http://github.com/toddmazierski/wait
|
38
37
|
licenses: []
|
38
|
+
metadata: {}
|
39
39
|
post_install_message:
|
40
40
|
rdoc_options: []
|
41
41
|
require_paths:
|
42
42
|
- lib
|
43
43
|
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
44
|
requirements:
|
46
|
-
- -
|
45
|
+
- - ">="
|
47
46
|
- !ruby/object:Gem::Version
|
48
47
|
version: '0'
|
49
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
49
|
requirements:
|
52
|
-
- -
|
50
|
+
- - ">="
|
53
51
|
- !ruby/object:Gem::Version
|
54
52
|
version: '0'
|
55
53
|
requirements: []
|
56
54
|
rubyforge_project:
|
57
|
-
rubygems_version:
|
55
|
+
rubygems_version: 2.6.13
|
58
56
|
signing_key:
|
59
|
-
specification_version:
|
57
|
+
specification_version: 4
|
60
58
|
summary: Executes a block until there's a valid result.
|
61
59
|
test_files: []
|