resque-approve 0.0.6 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "resque/plugins/compressible"
4
+
5
+ class MaxActiveJob < BasicJob
6
+ self.max_active_jobs = 10
7
+
8
+ extend Resque::Plugins::Compressible
9
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-approve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: rack-test
112
+ name: resque-compressible
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: rspec-rails
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - ">"
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
145
+ version: 3.9.1
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - ">"
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: 3.9.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -182,16 +182,16 @@ dependencies:
182
182
  name: sinatra
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - "~>"
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: '1.4'
187
+ version: '0'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - "~>"
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
- version: '1.4'
194
+ version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: timecop
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -219,7 +219,9 @@ files:
219
219
  - lib/resque/approve_server.rb
220
220
  - lib/resque/plugins/approve.rb
221
221
  - lib/resque/plugins/approve/approval_key_list.rb
222
+ - lib/resque/plugins/approve/auto_approve_next.rb
222
223
  - lib/resque/plugins/approve/cleaner.rb
224
+ - lib/resque/plugins/approve/compressable_auto_approve_next.rb
223
225
  - lib/resque/plugins/approve/pending_job.rb
224
226
  - lib/resque/plugins/approve/pending_job_queue.rb
225
227
  - lib/resque/plugins/approve/redis_access.rb
@@ -248,6 +250,8 @@ files:
248
250
  - spec/support/config/redis-auth.yml
249
251
  - spec/support/jobs/01_basic_job.rb
250
252
  - spec/support/jobs/auto_delete_approval_key_job.rb
253
+ - spec/support/jobs/default_approval_queue_job.rb
254
+ - spec/support/jobs/max_active_job.rb
251
255
  - spec/support/purge_all.rb
252
256
  homepage: https://github.com/RealNobody
253
257
  licenses:
@@ -268,8 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
272
  - !ruby/object:Gem::Version
269
273
  version: '0'
270
274
  requirements: []
271
- rubyforge_project:
272
- rubygems_version: 2.5.1
275
+ rubygems_version: 3.0.3
273
276
  signing_key:
274
277
  specification_version: 4
275
278
  summary: Keeps a list of jobs which require approval to run.
@@ -288,5 +291,7 @@ test_files:
288
291
  - spec/support/config/redis-auth.yml
289
292
  - spec/support/jobs/01_basic_job.rb
290
293
  - spec/support/jobs/auto_delete_approval_key_job.rb
294
+ - spec/support/jobs/max_active_job.rb
295
+ - spec/support/jobs/default_approval_queue_job.rb
291
296
  - spec/support/purge_all.rb
292
297
  - spec/rails_helper.rb