holdon 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/holdon.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGFmZDhhYzEyNjhlNGJjZmQ0MTA0N2ExMzVmYjFlN2MyODFlZTA1ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWMzYzkwNjcxMzY0NzNhMTNkYTczZjg0MmQ5NWI4ZDc1MDQzNmVkZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTAzOGQyMTgxOWVlZWQwNTM0M2MwNDNhMzc0NjUyNmRiOGQ4YjdhMTVjYjFj
|
10
|
+
MTg4YTYxNTcxMDdlZDEyMGE2ZjNhZWU4OTAzNWIzZGQzNzZhMmFhYzk0MzMz
|
11
|
+
Yjk4NmUzODZiOWNmYWE5ODFlYWIwYzdjNzdlOGE5NjY4OWEyNmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGNhNGMzNmVlYjFmMDk5OTNhMWQ2NzkyNzFmMWY5Yzg3MTIzODRmNTNjNWFm
|
14
|
+
NDdjMDdiNWJmMGM5Mjk4YTY3OGQ4ZTIzN2Q1MDU4NmQ1YzBkZThhM2I1MzU2
|
15
|
+
YTY3NGJiMzRhYzA2YzZjNGMyNGMxNWMwYWFjNzhjN2U0OTY5N2E=
|
data/lib/holdon.rb
CHANGED
@@ -28,7 +28,10 @@ module HoldOn
|
|
28
28
|
begin
|
29
29
|
self.until(options, &block)
|
30
30
|
rescue HoldOn::Timeout
|
31
|
+
return false
|
31
32
|
end
|
33
|
+
|
34
|
+
return true
|
32
35
|
end
|
33
36
|
|
34
37
|
|
@@ -39,7 +42,10 @@ module HoldOn
|
|
39
42
|
begin
|
40
43
|
self.while(options, &block)
|
41
44
|
rescue HoldOn::Timeout
|
45
|
+
return false
|
42
46
|
end
|
47
|
+
|
48
|
+
return true
|
43
49
|
end
|
44
50
|
|
45
51
|
|