block_repeater 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/block_repeater/repeater.rb +1 -1
- data/lib/block_repeater/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c825473265235d6023e522cea628292b5c724744853d0c6aea2b01d8aa4965d0
|
4
|
+
data.tar.gz: 2c839662ce9edd229937f45515494eb2b0039e47cfb95c0792c4e8d98bc48512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d27d00f4d2bfb5967e6b529d997e751ccd1cad757a6079eebc9b56fdbbf873cfd8f1f6d55b0a44e719652567c3ea74f12f170858af4032305a6573010b2b453
|
7
|
+
data.tar.gz: a9d88e4586702cd49021a7736425e279816eb0a65c4e71be47523ecf74a0909aaf80f442d47ed22d5887f337a6fd0772f4c2b4e5d43c6dcce576ec3234709825
|
data/Gemfile.lock
CHANGED
@@ -29,7 +29,7 @@ module BlockRepeater
|
|
29
29
|
# @param delay - The amount of time to wait between each attempt
|
30
30
|
# @param **_ - Capture any extra keyword arguments and discard them
|
31
31
|
# @return The result of calling the main block the final time
|
32
|
-
def repeat(times: 25, delay: 0.2)
|
32
|
+
def repeat(times: 25, delay: 0.2, **_)
|
33
33
|
result, @condition_met, exception = nil
|
34
34
|
times.times do
|
35
35
|
result = @repeat_block.call
|