sidekiq-scheduler-manager 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq-scheduler-manager/version.rb +1 -1
- data/lib/sidekiq-scheduler-manager/web.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afcafcaec54b5fe2bc583477d5255cce663a3caf
|
4
|
+
data.tar.gz: aa60cd02d7463a680515dce7347178d9874d16b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6140a7569d5c1d19e8f8f4b28699dc1ddb4a912a2f68d1c291de2cf96232bb932bbd0ef913bca61d1222d9a8691d721affc67e5c08e177fc0574d26f763e4721
|
7
|
+
data.tar.gz: af03d80c41bd4b4bfbdc35e658a6a295dc9d68421870c252feb8a9b2e0571113b89dd351c017566c593ae2f5a1f6002200e521cf4ca2badc002bb7db279c8972
|
@@ -36,7 +36,7 @@ module SidekiqSchedulerManager
|
|
36
36
|
if not params[:scheduler]['cron'].to_s.strip.empty?
|
37
37
|
data[:cron] = params[:scheduler]['cron']
|
38
38
|
elsif not params[:scheduler]['every'].to_s.strip.empty?
|
39
|
-
data[:every] = params[:scheduler]['every']
|
39
|
+
data[:every] = JSON.parse params[:scheduler]['every']
|
40
40
|
end
|
41
41
|
|
42
42
|
Sidekiq.set_schedule(job_name, data)
|