sidecloq 0.3.3 → 0.4.0

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: 1d14a232d0c4af25f3c3cef9397a6291aff65937
4
- data.tar.gz: 9022ca017377a74543e9c82a05c1d00a5af2b086
3
+ metadata.gz: 8c73dd6bd124259db26618c2c0eed5bd40a9ceb1
4
+ data.tar.gz: 36ef75ad200d7abbf7eed1773d1dc263210ff1c7
5
5
  SHA512:
6
- metadata.gz: cac7992b3c6d056434cad735cc2da6331c589b2254dd79e5f0a5ee4845dbb872c74f12ef1a49cafe6ed0210277a9879ffca1af403e5f55db6c7037ad6c0228cd
7
- data.tar.gz: 91be1ddc9ccee629da261d9f3df8cc5385c754f3492ec78240e7f4a913cfcf7c05cd4f6bc8ce3b7be899d792c60f919eb54fe82eea9cfb2fa022513de80b6919
6
+ metadata.gz: ff63b5d7ba0cf1a7a3315b1cbcfb401b486d6502b016ef0c6c3b2ab4cba76399711d5a12c762c198a8351afcbfa13052c8888714a5e77b07b86a10cb86257627
7
+ data.tar.gz: 24ddacf36267fe8327c9024dd48b326e46dd356780bb878dd1acb38300725b63c50e9415240da697983e5e173260b2086bfc36378b6b4a651209738971abb511
data/.travis.yml CHANGED
@@ -6,25 +6,35 @@ services:
6
6
  rvm:
7
7
  - 2.0.0
8
8
  - 2.1.10
9
- - 2.2.4
10
- - 2.3.0
9
+ - 2.2.7
10
+ - 2.3.4
11
+ - 2.4.1
11
12
  - ruby-head
12
13
  - jruby-9.0.4.0
13
14
  - jruby-head
14
- - rbx-2.10
15
15
  - rbx-2.11
16
- - rbx-3.69
16
+ - rbx-3.84
17
17
  env:
18
18
  - "sidekiq=master"
19
19
  - "sidekiq=stable"
20
+ - "sidekiq=4.2.10"
20
21
  - "sidekiq=3.5.4"
21
22
  matrix:
22
23
  allow_failures:
23
24
  - rvm: ruby-head
24
25
  - rvm: jruby-head
25
- - rvm: rbx-2.10
26
26
  - rvm: rbx-2.11
27
27
  - rvm: rbx-3.69
28
28
  - env: "sidekiq=master"
29
+ exclude:
30
+ # sidekiq 5 does not support < ruby 2.2.2
31
+ - rvm: 2.0.0
32
+ env: sidekiq=master
33
+ - rvm: 2.0.0
34
+ env: sidekiq=stable
35
+ - rvm: 2.1.10
36
+ env: sidekiq=master
37
+ - rvm: 2.1.10
38
+ env: sidekiq=stable
29
39
  after_success:
30
40
  - bundle exec codeclimate-test-reporter
data/README.md CHANGED
@@ -26,7 +26,7 @@ you.
26
26
  Sidecloq is:
27
27
 
28
28
  - **Lightweight:** Celluloid is not required. This coincides well with
29
- Sidekiq 4, which no longer uses Celluloid.
29
+ Sidekiq 4/5, which no longer use Celluloid.
30
30
  - **Clean:** Sidecloq leverages only the public API of Sidekiq, and does
31
31
  not pollute the Sidekiq namespace.
32
32
  - **Easy to deploy:** Sidecloq boots with all Sidekiq processes,
@@ -45,7 +45,8 @@ gem 'sidecloq'
45
45
  ```
46
46
 
47
47
  Tested on MRI > 2, JRuby and Rubinius. Basically, if you can run
48
- Sidekiq, you can run Sidecloq.
48
+ Sidekiq, you can run Sidecloq. Note that Sidekiq >= 5 does not support
49
+ MRI ruby < 2.2.2.
49
50
 
50
51
  ## Configuration
51
52
 
@@ -135,7 +136,8 @@ rack < 2.0. You can do this by adding:
135
136
  gem 'rack', '< 2.0'
136
137
  ```
137
138
 
138
- To your app's Gemfile.
139
+ To your app's Gemfile. (This will also keep you from using the 5.x
140
+ series of Sidekiq, as it requires MRI > 2.2.2).
139
141
 
140
142
  ## Contributing
141
143
 
@@ -1,3 +1,3 @@
1
1
  module Sidecloq
2
- VERSION = '0.3.3'
2
+ VERSION = '0.4.0'
3
3
  end
data/lib/sidecloq.rb CHANGED
@@ -3,6 +3,7 @@ require 'concurrent'
3
3
  require 'json'
4
4
  require 'redlock'
5
5
  require 'rufus-scheduler'
6
+ require 'yaml'
6
7
 
7
8
  require 'sidecloq/utils'
8
9
  require 'sidecloq/schedule'
data/sidecloq.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'sidekiq', '>= 3.5.3', '< 5'
22
+ spec.add_dependency 'sidekiq', '>= 3.5.4', '< 6'
23
23
  spec.add_dependency 'redlock', '~> 0.2.0'
24
24
  # mimics some dev dependencies of sidekiq:
25
25
  spec.add_dependency 'concurrent-ruby'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidecloq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Robinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-08 00:00:00.000000000 Z
11
+ date: 2017-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.3
19
+ version: 3.5.4
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5'
22
+ version: '6'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 3.5.3
29
+ version: 3.5.4
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5'
32
+ version: '6'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: redlock
35
35
  requirement: !ruby/object:Gem::Requirement