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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fa94c57c5b2158cdd0282fa0fc377bdc00a18ad
4
- data.tar.gz: db52bf8adbd34c2560fc6a91d8f6a700eb51c929
3
+ metadata.gz: afcafcaec54b5fe2bc583477d5255cce663a3caf
4
+ data.tar.gz: aa60cd02d7463a680515dce7347178d9874d16b8
5
5
  SHA512:
6
- metadata.gz: de7cc728aa081da12cd986569003f503c6018470ebdc66b6db3f5a081ebef3145bec49f7e021eb5c2bf87c7f10daf00bbc3662e65dfa082b5ef5f67e4d542dab
7
- data.tar.gz: caac6fc9531dd5f221731574361c31c1f02a751ff06bb46a3d4272c88c10cd2bea8d4ced01ba16e75fb463cdcfdc607cd4289660c79a524703b920ee31dbc6ce
6
+ metadata.gz: 6140a7569d5c1d19e8f8f4b28699dc1ddb4a912a2f68d1c291de2cf96232bb932bbd0ef913bca61d1222d9a8691d721affc67e5c08e177fc0574d26f763e4721
7
+ data.tar.gz: af03d80c41bd4b4bfbdc35e658a6a295dc9d68421870c252feb8a9b2e0571113b89dd351c017566c593ae2f5a1f6002200e521cf4ca2badc002bb7db279c8972
@@ -1,3 +1,3 @@
1
1
  module SidekiqSchedulerManager
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-scheduler-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vudn-job