rekiq 0.9.1 → 0.9.2

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: b73d53db4d0a73d28494d0d8b5b01fa6ecca713d
4
- data.tar.gz: 02f6dd9dff7966554edcffe37160d72836aea3f6
3
+ metadata.gz: e970392060bfe3fcb6194631697f85a7f5096de7
4
+ data.tar.gz: 25da26330912b4a56a072bc51e8d49370ed787e1
5
5
  SHA512:
6
- metadata.gz: be563c8c5f06c08eddd1fb4ce2804d94183d055529daf5763bdc07d9f87b7729d44496deceb8e6fe1dfba384e53b4b84c3c43eb3f6b30dd7d9d5829648158500
7
- data.tar.gz: e79449099693eaa2e61dbb2574f5d258155d65391a097c6bf57d26f97c456638167d7f409bba902d6b66c2e1815fc3208ebfcd2f152061c54eb5ff6ccd32e339
6
+ metadata.gz: 5698cbf78ca139d3309d8d2dc0e44b483257fc853738e780429e64f0988b0af46de60ab2f9f0ed5c8bfb3759f220f724ed19f33d6ee8f145f57537d36f2eecb0
7
+ data.tar.gz: 6d471125cdb9dd69871182efe661032b99f567f28c973d3fac2481b435eef009749ae7ed2031a36eb9fde3136c04bd98e92ff51a4106bb8cbad52250aa17cebb
@@ -4,7 +4,7 @@ module Rekiq
4
4
  def call(worker, msg, queue)
5
5
  if worker.respond_to?(:scheduled_work_time) and
6
6
  msg.key?('rq:at')
7
- worker.scheduled_work_time = Time.at(msg['rq:at']).utc
7
+ worker.scheduled_work_time = Time.at(msg['rq:at'].to_f).utc
8
8
  end
9
9
 
10
10
  yield
data/lib/rekiq/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rekiq
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
data/lib/rekiq/worker.rb CHANGED
@@ -37,7 +37,7 @@ module Rekiq
37
37
  .new(name, queue, args, job, @config.addon, @config.cancel_args)
38
38
  .schedule
39
39
 
40
- if jid.nil?
40
+ unless jid.nil?
41
41
  ::Sidekiq.logger.info \
42
42
  "recurring work for #{name} scheduled for " \
43
43
  "#{work_time} with jid #{jid}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - junhanamaki