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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d01443ebb1b12e1ceb49cbf169aa512cfead5d8cd4115982b1d22e6e15f63497
4
- data.tar.gz: fc8b3a9171e2fcd4ebac49d3cff5282794620137aefd1a4c988a3e24d9de25f4
3
+ metadata.gz: 8c9e3709270cd64bef803f1d381dd05d6336bd4fba3c14f08be4352470179573
4
+ data.tar.gz: a214690224f58528af782cf2e68d81c39d56048f73e83125fbaded3541aacfcf
5
5
  SHA512:
6
- metadata.gz: 0d5da392906cdf62184f1b8a3733884981b367f8113cd185d8b036df36697375ed7eedf00395f18587dec8d408d1ae492a4da87e8c07a34f74d7e9e42b1558c6
7
- data.tar.gz: 17756b64a15a6024be29f234806df72f1741bb08867d55dc49af2c67520a19045ca450e6996010d6f969f2db060ccd8feec7f1652003a581c66dd8f17daaf223
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.17
4
+ version: 1.7.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger