rjob 0.5.1 → 0.5.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
  SHA256:
3
- metadata.gz: 241a7f0d98e6dc11f560e683e7454be5bc7c8864d39086fa1d7ff67974263051
4
- data.tar.gz: cc6cd740afdc6fd9d61d7a427902edea296da4623d5cf7ec8f197ddfad522f0c
3
+ metadata.gz: 3499587dfa6fa5db867d088dfc0f48757a204df0cd07a252c3f880ce827effe6
4
+ data.tar.gz: 6ff88dc58d9e39eb337980b4fe1241bd3afb493cd15aff370ab463e4b2d086b6
5
5
  SHA512:
6
- metadata.gz: 226a74975a3287b9cb0b50e63091edd909f84d033ddd5351c2e2d3f42f2be7acd127ee6ec57d49422147af294c991f3b6840a8f0844db0efa125bb1a7758dce5
7
- data.tar.gz: d840b6e43f97320212b90d1220e2afe1a61f92a21b4617d87ef39484d88f4bd2c34e81367450ca4b7e5a3f1e1029be267aaba76c58e85f2b82094f5c1536c26c
6
+ metadata.gz: 77d9c95f465434e5efc942b5dca1a98c64bc2f15c2c12691b258f993569c68c29f1146958e8856633e9bee32bcc82119d687b3ee37a29eb6fa5163238eeacf08
7
+ data.tar.gz: 523ff1e067f99d9fb632c248d7b07157112d0d6197574e717d319900f76e8c646698f692388760dccb521abfbf36f88fe01b5c01614ec71f0b28fcf7319c5a71
data/lib/rjob/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Rjob
3
- VERSION = "0.5.1".freeze
3
+ VERSION = "0.5.2".freeze
4
4
  end
@@ -169,9 +169,9 @@ class Rjob::WorkerProcess
169
169
  }
170
170
 
171
171
  @context.redis do |r|
172
- r.pipelined do
172
+ r.pipelined do |pl|
173
173
  state_data.each do |k, v|
174
- r.hset(key_prefix, k, v.to_s)
174
+ pl.hset(key_prefix, k, v.to_s)
175
175
  end
176
176
  end
177
177
  end
@@ -208,7 +208,7 @@ class Rjob::WorkerProcess
208
208
  remove_job_from_working(job_str, bucket)
209
209
  end
210
210
  end
211
- rescue Concurrent::RejectedExecutionError => e
211
+ rescue Concurrent::RejectedExecutionError
212
212
  @returned_count.increment
213
213
  return_job_execution(job_str, bucket)
214
214
  ensure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - André D. Piske
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-16 00:00:00.000000000 Z
11
+ date: 2022-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: redis
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '4.1'
47
+ version: 3.0.5
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '4.1'
54
+ version: 3.0.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: msgpack
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,20 +100,6 @@ dependencies:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: 1.1.6
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :runtime
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
103
  description: 'RJob: asynchronous job processing'
118
104
  email: andrepiske@gmail.com
119
105
  executables:
@@ -160,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
146
  - !ruby/object:Gem::Version
161
147
  version: '0'
162
148
  requirements: []
163
- rubygems_version: 3.2.28
149
+ rubygems_version: 3.3.11
164
150
  signing_key:
165
151
  specification_version: 4
166
152
  summary: Asynchronous job processing