sidekiq-dejavu 0.0.1 → 0.0.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: db1fce872db7e71c8d3fa6b819efd20a2c82ec1e
4
- data.tar.gz: d777847b463d571f05dacfc66d37802fa804f9d4
3
+ metadata.gz: c38483b976f52a6cf88695aa5a6227b4d1a4fd4e
4
+ data.tar.gz: e2c6a6542cf8966a4b434d99ce1f4605647ef92c
5
5
  SHA512:
6
- metadata.gz: 41ef48ae1fdee04195a2cf5d3456b9d0825ebe5c084a8f6f8eb7595e522dad1a531aec15ae5ee0894fe23bf9dd03cc0bcc720cc43e8aa9bde174e7c516285707
7
- data.tar.gz: cf5bcf503c9199f5721ec7e3539d9c77d91a61d1a90a71ca91ed4f51131de62b834a7d07cfb3d8d556b2fb3e8d09605fc878ce46315e41d2b4821d20a55fa322
6
+ metadata.gz: c3b4918396de87e5387cf0d046ba9f0f9359e0a1b7062add99a40fa72344138acf865eaa78f00dec0d90970198d9fe3482dfbbedec637cc0f8ff24f7035f9172
7
+ data.tar.gz: e8f76cda5d1a2eadeb439844c8bbdd37cd0006131716e7a86fb806fe610c69ace8aef9290da368e9855368e7780cceaabb463e66ba318a82f13d50e157d94f96
data/README.md CHANGED
@@ -13,9 +13,12 @@ Scheduled jobs can be controlled through the Scheduled page in the Sidekiq::Web
13
13
 
14
14
  ## Note
15
15
 
16
- This is **ALPHA** quality code and doesn't yet have any specs, so make sure you test it well.
16
+ This is **BETA** quality code and doesn't yet have any specs, so make sure you test it well.
17
17
  Requires Sidekiq 3.0 or later. Compatibility with older versions could probably be added.
18
18
 
19
+ Warning aside, this code has run in production since October 2014 and has scheduled several
20
+ million jobs without any issues. So if you want a very lightweight scheduler give it a shot.
21
+
19
22
  ## Known Bugs
20
23
 
21
24
  - Incompatible with sidekiq-unique-jobs (jobs don't get scheduled)
@@ -6,7 +6,7 @@ Sidekiq.configure_server do |config|
6
6
  end
7
7
 
8
8
  config.on(:startup) do
9
- schedules = config.options.fetch(:schedule, {})
9
+ schedules = config.options[:schedule] || {}
10
10
  Sidekiq.logger.debug "Sidekiq::Dejavu: schedules: #{schedules.inspect}"
11
11
  if schedules.empty?
12
12
  Sidekiq.logger.warn "Sidekiq::Dejavu: No schedule found."
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Dejavu
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-dejavu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Buenemann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-24 00:00:00.000000000 Z
11
+ date: 2015-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.2.2
109
+ rubygems_version: 2.4.6
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Dejavu is a clockless scheduler that uses Sidekiq's built-in scheduling