sidekiq-scheduler 2.0.2 → 2.0.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: e6fb5253c21173ba4c38ff783846ebf9f7e66f80
4
- data.tar.gz: d5a0226a5ca48169389447ba69e4f3d1b2d61a8e
3
+ metadata.gz: f6766179078471d4bbb226b1c7d0b9ea62ff8910
4
+ data.tar.gz: 62e804fc6a38035a23cc7ce6040aed830b32ec57
5
5
  SHA512:
6
- metadata.gz: e09e5fda75f41ad8ceefdc6fe37940e4a678abd56422015004cab1b88741e945178b1f79ee3c23749d5c04610529a9fde600804e28c601b6f9fb96050c404c30
7
- data.tar.gz: 4130fbe4f5a93b7030f0822c78e2e8e99c8a5d71064127a97ee7ed6c4def928691bdb5cef4609ce7c2304b859a62950224397d4d78240723e13433b2c3d4d071
6
+ metadata.gz: dcbb3e68f950e13223d6fe0d76616abef9aa1969493abc84c3ee71ed102862e8228a62399af5f285106cf8f9e106e0b1cf245141b84248bd087771163e83a829
7
+ data.tar.gz: 293774941cc79640c697fdc8a7b8d84b599a6faf46790245bba147aa8eb91a00ce529eea3390046a27e0c9a248eb3f787468032b912e8dec5daf5fdf2ca361f7
data/README.md CHANGED
@@ -257,6 +257,6 @@ MIT License
257
257
 
258
258
  ## Copyright
259
259
 
260
- Copyright 2013 Moove-IT
260
+ Copyright 2013 - 2016 Moove-IT
261
261
  Copyright 2012 Morton Jonuschat
262
262
  Some parts copyright 2010 Ben VandenBos
@@ -1,5 +1,5 @@
1
1
  module SidekiqScheduler
2
2
 
3
- VERSION = '2.0.2'
3
+ VERSION = '2.0.3'
4
4
 
5
5
  end
@@ -140,7 +140,7 @@ module Sidekiq
140
140
  config['class'] = config['class'].constantize if config['class'].is_a?(String)
141
141
  config['args'] = Array(config['args'])
142
142
 
143
- if defined?(ActiveJob) && config['class'].included_modules.include?(ActiveJob::Enqueuing)
143
+ if defined?(ActiveJob::Enqueuing) && config['class'].included_modules.include?(ActiveJob::Enqueuing)
144
144
  config['class'].new.enqueue(config)
145
145
  else
146
146
  Sidekiq::Client.push(config)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morton Jonuschat
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-12 00:00:00.000000000 Z
12
+ date: 2016-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sidekiq