sinatra-hexacta 1.7.17 → 1.7.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sinatra/helpers/schedule.rb +2 -2
- 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: 8c9e3709270cd64bef803f1d381dd05d6336bd4fba3c14f08be4352470179573
|
4
|
+
data.tar.gz: a214690224f58528af782cf2e68d81c39d56048f73e83125fbaded3541aacfcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f16f135324e926d4b6a874a53fdc6918c2415d561c45310aa653e5ec8e8fdff4d32887a8e58ba15458f92032ce4e4551d373e563e7e3242886869aa9dea4c98b
|
7
|
+
data.tar.gz: ff01d5f9e159f0f0f2930a519231ab5f665e2fc47c6c9f8a43735d350ef8a3c9a336b8c5f4c30614c5b95736903bf889c2e8c8e9f10061c34b0ba96a664a7cc6
|
@@ -19,7 +19,7 @@ module Sinatra
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
def schedule_every(time,specific_lock_file)
|
22
|
+
def schedule_every(time,specific_lock_file=nil)
|
23
23
|
@@scheduler.every time do
|
24
24
|
|
25
25
|
unless check_file_locked?(specific_lock_file)
|
@@ -52,7 +52,7 @@ module Sinatra
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
def schedule_at(cron_expression,specific_lock_file)
|
55
|
+
def schedule_at(cron_expression,specific_lock_file=nil)
|
56
56
|
@@scheduler.cron cron_expression do
|
57
57
|
|
58
58
|
unless check_file_locked?(specific_lock_file)
|