sidekiq-status 0.8.0 → 0.8.1

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: 5c97c75d07e08298c13cd5b502d3d75f812f1de2
4
- data.tar.gz: ed623bce78155a817cc1b29479ae4d11ca0cbaba
3
+ metadata.gz: c41d96595d97f79ea9391832c190c1fd73521862
4
+ data.tar.gz: 5e317c347cda80bb6274b663bc67ab092f340df8
5
5
  SHA512:
6
- metadata.gz: f46cff2d00bc9d824888a1b06a5586418f8072a93b7161fba30896ea4b34ef4fc4145516549fbc556f2fbe40ea0180c4dc906942b9599fcba3227018d0ec43ce
7
- data.tar.gz: 017db214e0b033de8f93cb6116e4759c67e04d8f95f500f1bd61d62fdd99aeaf2f3250b199caebe05a17de07f667502a4b5259ba499c65d7bababbacae4f20f8
6
+ metadata.gz: 26d7088523de6f578d367a5d0e26f52733ec4164d266c1e0c26d605f16a6f995135152d2188344320a9a63c28cfe2ee6875bb06630c5ec21afdee3ce5d77c1ee
7
+ data.tar.gz: 5c8e8089b2a7b37aaa444fc1270791af69ee5057af2b7cd26b92d2f5bea11457d3929478dbd538b45cbd9f9c3a313b7a871a4573e2c6c7ddd8db5b684619989d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ **Version 0.8.1**
2
+ + Avoids transient celluloid dependency in Sidekiq < 5.x
3
+
1
4
  **Version 0.8.0**
2
5
  + Properly ignores jobs that do not have `Sidekiq::Status::Worker` included
3
6
  + Honors custom job expirations for ActiveJob jobs
@@ -1,6 +1,4 @@
1
- if Sidekiq.major_version < 5
2
- require 'sidekiq/middleware/server/retry_jobs'
3
- else
1
+ if Sidekiq.major_version >= 5
4
2
  require 'sidekiq/job_retry'
5
3
  end
6
4
 
@@ -8,9 +6,7 @@ module Sidekiq::Status
8
6
  # Should be in the server middleware chain
9
7
  class ServerMiddleware
10
8
 
11
- DEFAULT_MAX_RETRY_ATTEMPTS = Sidekiq.major_version < 5 ?
12
- Sidekiq::Middleware::Server::RetryJobs::DEFAULT_MAX_RETRY_ATTEMPTS :
13
- Sidekiq::JobRetry::DEFAULT_MAX_RETRY_ATTEMPTS
9
+ DEFAULT_MAX_RETRY_ATTEMPTS = Sidekiq.major_version >= 5 ? Sidekiq::JobRetry::DEFAULT_MAX_RETRY_ATTEMPTS : 25
14
10
 
15
11
  include Storage
16
12
 
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Status
3
- VERSION = '0.8.0'
3
+ VERSION = '0.8.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Tsvigun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-12-27 00:00:00.000000000 Z
12
+ date: 2018-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sidekiq