holdon 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/holdon.rb +6 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTA2MTYzMzY3ZGZiZjgzODgzMDlkYzZkYzQ1NmU2ODA1N2NiOWQ1NA==
4
+ ZGFmZDhhYzEyNjhlNGJjZmQ0MTA0N2ExMzVmYjFlN2MyODFlZTA1ZA==
5
5
  data.tar.gz: !binary |-
6
- YzQyN2MwZDE0ZDQ0ODM5MmM3OWE4ZTJlYzAwYjM0Zjk1ZjQ1ZTc2Yg==
6
+ OWMzYzkwNjcxMzY0NzNhMTNkYTczZjg0MmQ5NWI4ZDc1MDQzNmVkZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWNkZmQ1Y2Q3ZjYxNDNiMWUxMDFlNjQ2MzcxMDMzMzAxOTEwNGVhMTU1MTM3
10
- YmY2YzQ0OTgxYmU5NDZlNjM0NWIyNWQ1MTkyZmI2NTRjODFhMmYxZTk4ODBh
11
- MjkxZTFhODA3YzAyY2ZmMzdjN2MxMGZiODU5ODRkYmMzNDA0MmM=
9
+ MTAzOGQyMTgxOWVlZWQwNTM0M2MwNDNhMzc0NjUyNmRiOGQ4YjdhMTVjYjFj
10
+ MTg4YTYxNTcxMDdlZDEyMGE2ZjNhZWU4OTAzNWIzZGQzNzZhMmFhYzk0MzMz
11
+ Yjk4NmUzODZiOWNmYWE5ODFlYWIwYzdjNzdlOGE5NjY4OWEyNmY=
12
12
  data.tar.gz: !binary |-
13
- ZDI4MWIyMjAxMjdjZGY1OWQwMThlNDhjYjU5YjM3OTg2Y2ZiZGI3YzRlMjQy
14
- MTA3MWI1YjNhMjEyYTc1NjRkOTdiOWIwMjBhMGU1ZmM1YjgyMjI4NWJlY2Rl
15
- NTU3MDMwZGMzYjJiNGM1NWUwYzM0MDY2NTBlYzdiOWVjYmY3NTE=
13
+ ZGNhNGMzNmVlYjFmMDk5OTNhMWQ2NzkyNzFmMWY5Yzg3MTIzODRmNTNjNWFm
14
+ NDdjMDdiNWJmMGM5Mjk4YTY3OGQ4ZTIzN2Q1MDU4NmQ1YzBkZThhM2I1MzU2
15
+ YTY3NGJiMzRhYzA2YzZjNGMyNGMxNWMwYWFjNzhjN2U0OTY5N2E=
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holdon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Lauber