resque-approve 0.0.12 → 0.0.13

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: 4964a615615665834296d65c85866378409435eb0eba93bc5932978334d7ac3b
4
- data.tar.gz: 900f8341e08a2da8fa893016a8f36c4f8bd47996c6848a314ba47586df8cb47a
3
+ metadata.gz: 6108fd7429dcb81c1a48bdeb59db2149491a181ec3a93a64ab9aa6a3c88ac2a3
4
+ data.tar.gz: a590d5bec1a4f952b58c411f54594209196da0907548b710a9fe3d87aff0a526
5
5
  SHA512:
6
- metadata.gz: '0942156347f37b046f148de6e941a7c6ffa2fada7659201f56889f04cf0bcf3ddbb03d3e469aa07c2fbb6f27f0486cee2aebb4d9b91d86ecc349c8ee7686ba74'
7
- data.tar.gz: 53575d650f15b4c51477e85b321c420edf783fbc6a45380a47b91149a11b365ce068b33098435c0c73b25464bd770dd784e606dece377c718daaced99ff0bada
6
+ metadata.gz: 0a00f84951169130e3f14e0ade112f1536e0213a9a8c21299b6d8662cdb8edfc53cc87dbdca8acc4dead49b7cbf7b0d2830e325a8de0b63b931f69777e3c610f
7
+ data.tar.gz: 17c4f4013ab3d789657d7238879c4a47bbf2c93ef82bace60ffa17e0c598d7ed717161c9ecbdb221ac84dfd0ddbc9aa63e06c612f08ab150c64ccac257596e30
@@ -7,5 +7,6 @@ require File.expand_path(File.join("resque", "plugins", "approve", "pending_job_
7
7
  require File.expand_path(File.join("resque", "plugins", "approve", "approval_key_list"), File.dirname(__FILE__))
8
8
  require File.expand_path(File.join("resque", "plugins", "approve", "cleaner"), File.dirname(__FILE__))
9
9
  require File.expand_path(File.join("resque", "plugins", "approve", "auto_approve_next"), File.dirname(__FILE__))
10
+ require File.expand_path(File.join("resque", "plugins", "approve", "compressable_auto_approve_next"), File.dirname(__FILE__))
10
11
 
11
12
  require File.expand_path(File.join("resque", "plugins", "approve"), File.dirname(__FILE__))
@@ -111,7 +111,10 @@ module Resque
111
111
  job = PendingJob.new(SecureRandom.uuid, class_name: name, args: args)
112
112
 
113
113
  if job.requires_approval?
114
+ return false if job.compressable? && !job.compressed?(args)
115
+
114
116
  ApprovalKeyList.new.add_job(job)
117
+
115
118
  false
116
119
  else
117
120
  job.max_jobs_perform_args(args)
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Resque
4
+ module Plugins
5
+ module Approve
6
+ # This module adds a new class level perform method that overrides the jobs classes
7
+ # class method perform that is used by Resque.
8
+ #
9
+ # The new overloaded method uses super to perform the original perform functionality
10
+ # but ensures that when the job is complete that it approves the next job in the queue.
11
+ #
12
+ # The reason for this class is to manage the maximum number of jobs that are allowed to
13
+ # run at the same time for a particular job. When the maximum number of jobs is reached
14
+ # when a job completes, it will approve the next job in the queue automatically.
15
+ module CompressableAutoApproveNext
16
+ def perform_with_auto_approve(*args)
17
+ job = Resque::Plugins::Approve::PendingJob.new(SecureRandom.uuid, class_name: name, args: args)
18
+ dup_args = job.uncompressed_args
19
+ del_options = dup_args.extract_options!.with_indifferent_access
20
+ approval_key = del_options.delete(:approval_key) || job.approve_options[:approval_key]
21
+
22
+ dup_args << del_options if del_options.present?
23
+
24
+ begin
25
+ perform_without_auto_approve(*dup_args)
26
+ ensure
27
+ Resque::Plugins::Approve::PendingJobQueue.new(approval_key).decrement_running
28
+ Resque::Plugins::Approve.approve_one approval_key
29
+ end
30
+ end
31
+
32
+ def self.extended(base)
33
+ class << base
34
+ alias_method :perform_without_auto_approve, :perform
35
+ alias_method :perform, :perform_with_auto_approve
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -64,6 +64,10 @@ module Resque
64
64
  @class_name ||= stored_values[:class_name]
65
65
  end
66
66
 
67
+ def uncompressed_args
68
+ decompress_args(args)
69
+ end
70
+
67
71
  def args
68
72
  @args = if @args.present?
69
73
  @args
@@ -131,9 +135,9 @@ module Resque
131
135
 
132
136
  def enqueue_job
133
137
  return_value = if approval_at.present?
134
- Resque.enqueue_at_with_queue approval_queue, approval_at, klass, *args
138
+ Resque.enqueue_at_with_queue approval_queue, approval_at, klass, *compressed_args(args)
135
139
  else
136
- Resque.enqueue_to approval_queue, klass, *args
140
+ Resque.enqueue_to approval_queue, klass, *compressed_args(args)
137
141
  end
138
142
 
139
143
  delete
@@ -167,17 +171,42 @@ module Resque
167
171
  end
168
172
 
169
173
  def max_jobs_perform_args(args)
170
- remove_options = args.extract_options!.with_indifferent_access
174
+ return compressed_max_jobs_perform_args(args) if compressed?(args)
171
175
 
172
- return if remove_options.blank?
176
+ return unless args.last.is_a?(Hash)
173
177
 
174
- options = remove_options.slice!(:approval_queue, :approval_at, :requires_approval)
178
+ remove_options = args[-1]
175
179
 
176
- args << options if options.present?
180
+ %i[approval_queue approval_at requires_approval].each do |key|
181
+ remove_options.delete(key)
182
+ remove_options.delete(key.to_s)
183
+ end
184
+ end
185
+
186
+ def compressed?(basic_args)
187
+ return false unless compressable?
188
+
189
+ described_class.compressed?(basic_args)
190
+ end
191
+
192
+ def compressable?
193
+ !described_class.blank? &&
194
+ described_class.singleton_class.included_modules.map(&:name).include?("Resque::Plugins::Compressible")
177
195
  end
178
196
 
179
197
  private
180
198
 
199
+ def compressed_max_jobs_perform_args(args)
200
+ decompressed = decompress_args(args)
201
+
202
+ max_jobs_perform_args(decompressed)
203
+ decompressed = compressed_args(decompressed)[0]
204
+
205
+ compress_arg = args[0]
206
+ compress_arg[:payload] = decompressed[:payload] if compress_arg.key?(:payload)
207
+ compress_arg["payload"] = decompressed[:payload] if compress_arg.key?("payload")
208
+ end
209
+
181
210
  def klass
182
211
  @klass ||= class_name.constantize
183
212
  end
@@ -191,13 +220,16 @@ module Resque
191
220
  end
192
221
 
193
222
  def extract_approve_options
194
- return if args.blank? || !@args[-1].is_a?(Hash)
223
+ extract_args = uncompressed_args
224
+
225
+ return if extract_args.blank? || !extract_args[-1].is_a?(Hash)
195
226
 
196
- self.approve_options = @args.pop
227
+ self.approve_options = extract_args.pop.with_indifferent_access
197
228
 
198
229
  options = slice_approval_options
199
230
 
200
- @args << options.to_hash if options.present?
231
+ extract_args << options.to_hash if options.present?
232
+ @args = compressed_args(extract_args)
201
233
  end
202
234
 
203
235
  # rubocop:disable Layout/SpaceAroundOperators
@@ -242,11 +274,40 @@ module Resque
242
274
  return unless max_active_jobs?
243
275
  return if options.key?(:approval_key)
244
276
 
245
- klass.include Resque::Plugins::Approve::AutoApproveNext unless klass.included_modules.include?(Resque::Plugins::Approve::AutoApproveNext)
277
+ if compressable?
278
+ unless klass.singleton_class.included_modules.include?(Resque::Plugins::Approve::CompressableAutoApproveNext)
279
+ klass.extend Resque::Plugins::Approve::CompressableAutoApproveNext
280
+ end
281
+ else
282
+ klass.include Resque::Plugins::Approve::AutoApproveNext unless klass.included_modules.include?(Resque::Plugins::Approve::AutoApproveNext)
283
+ end
246
284
 
247
285
  options[:approval_key] = approve_options.fetch(:approval_key) { klass.default_queue_name }
248
286
  end
287
+
288
+ def described_class
289
+ return if class_name.blank?
290
+
291
+ class_name.constantize
292
+ rescue StandardError
293
+ nil
294
+ end
295
+
296
+ def compressed_args(compress_args)
297
+ return compress_args unless compressable?
298
+ return compress_args if described_class.compressed?(compress_args)
299
+
300
+ [{ :resque_compressed => true, :payload => described_class.compressed_args(compress_args) }]
301
+ end
302
+
303
+ def decompress_args(basic_args)
304
+ return basic_args unless compressable?
305
+ return basic_args unless described_class.compressed?(basic_args)
306
+
307
+ described_class.uncompressed_args(basic_args.first[:payload] || basic_args.first["payload"])
308
+ end
249
309
  end
310
+
250
311
  # rubocop:enable Metrics/ClassLength
251
312
  end
252
313
  end
@@ -3,7 +3,7 @@
3
3
  module Resque
4
4
  module Plugins
5
5
  module Approve
6
- VERSION = "0.0.12"
6
+ VERSION = "0.0.13"
7
7
  end
8
8
  end
9
9
  end
@@ -19,7 +19,7 @@
19
19
  (<%= job_details.queue_time %>)
20
20
  </td>
21
21
  <td>
22
- <pre><code><%= "".html_safe + job_details.args.to_yaml %></code></pre>
22
+ <pre><code><%= "".html_safe + job_details.uncompressed_args.to_yaml %></code></pre>
23
23
  </td>
24
24
  <td>
25
25
  <pre><code><%= "".html_safe + job_details.approve_options.to_hash.to_yaml %></code></pre>
@@ -41,7 +41,7 @@
41
41
  Params
42
42
  </td>
43
43
  <td>
44
- <pre><code><%= "".html_safe + job_details.args.to_yaml %></code></pre>
44
+ <pre><code><%= "".html_safe + job_details.uncompressed_args.to_yaml %></code></pre>
45
45
  </td>
46
46
  </tr>
47
47
  <tr>
@@ -298,8 +298,9 @@ RSpec.describe Resque::Plugins::Approve::PendingJob do
298
298
  it "does not require approval if num jobs below max" do
299
299
  expect(approval_require_approval_job).not_to be_requires_approval
300
300
 
301
- expect(approval_require_approval_job.args).to eq ["approval_key" => "Some_Queue"]
302
- expect(Resque::Plugins::Approve::PendingJob.new(approval_require_approval_job.id).args).to eq ["approval_key" => "Some_Queue"]
301
+ expect(approval_require_approval_job.args).not_to eq ["approval_key" => "Some_Queue"]
302
+ expect(approval_require_approval_job.uncompressed_args).to eq ["approval_key" => "Some_Queue"]
303
+ expect(Resque::Plugins::Approve::PendingJob.new(approval_require_approval_job.id).uncompressed_args).to eq ["approval_key" => "Some_Queue"]
303
304
  expect(approval_require_approval_job.approve_options).to eq("approval_key" => "Some_Queue", "requires_approval" => true)
304
305
  end
305
306
 
@@ -308,8 +309,9 @@ RSpec.describe Resque::Plugins::Approve::PendingJob do
308
309
 
309
310
  expect(approval_require_approval_job).to be_requires_approval
310
311
 
311
- expect(approval_require_approval_job.args).to eq ["approval_key" => "Some_Queue"]
312
- expect(Resque::Plugins::Approve::PendingJob.new(approval_require_approval_job.id).args).to eq ["approval_key" => "Some_Queue"]
312
+ expect(approval_require_approval_job.args).not_to eq ["approval_key" => "Some_Queue"]
313
+ expect(approval_require_approval_job.uncompressed_args).to eq ["approval_key" => "Some_Queue"]
314
+ expect(Resque::Plugins::Approve::PendingJob.new(approval_require_approval_job.id).uncompressed_args).to eq ["approval_key" => "Some_Queue"]
313
315
  expect(approval_require_approval_job.approve_options).to eq("approval_key" => "Some_Queue", "requires_approval" => true)
314
316
  end
315
317
 
@@ -386,7 +388,7 @@ RSpec.describe Resque::Plugins::Approve::PendingJob do
386
388
  expect(num_queue.num_running.to_i).to eq 9
387
389
  end
388
390
 
389
- it "enqueues a job" do
391
+ it "enqueues the job" do
390
392
  allow(Resque.logger).to receive(:warn).and_call_original
391
393
  allow(Resque::Plugins::Approve).to receive(:approve_one).and_call_original
392
394
 
@@ -539,4 +541,44 @@ RSpec.describe Resque::Plugins::Approve::PendingJob do
539
541
  end
540
542
  end
541
543
  end
544
+
545
+ describe "uncompressed_args" do
546
+ let(:test_args) { [1, "fred", "something else", 888, "approval_key" => "Some_Queue", "other_arg" => 1, "something else" => "something"] }
547
+ let(:compressed_args) { [{ :resque_compressed => true, :payload => MaxActiveJob.compressed_args(test_args) }] }
548
+ let(:job_class) { MaxActiveJob }
549
+
550
+ it "decompresses args" do
551
+ job = Resque::Plugins::Approve::PendingJob.new(SecureRandom.uuid,
552
+ class_name: job_class,
553
+ args: compressed_args)
554
+
555
+ key_list.add_job(job)
556
+
557
+ expect(Resque::Plugins::Approve::PendingJob.new(job.id).uncompressed_args).to eq test_args
558
+ end
559
+
560
+ it "does not decompress args if not compressed" do
561
+ job = Resque::Plugins::Approve::PendingJob.new(SecureRandom.uuid,
562
+ class_name: job_class,
563
+ args: test_args)
564
+
565
+ key_list.add_job(job)
566
+
567
+ expect(Resque::Plugins::Approve::PendingJob.new(job.id).uncompressed_args).to eq test_args
568
+ end
569
+
570
+ context "Not compressable" do
571
+ let(:test_args) { [1, "fred", "something else", 888, "other_arg" => 1, "something else" => "something"] }
572
+
573
+ it "does not decompress args if not compressable" do
574
+ job = Resque::Plugins::Approve::PendingJob.new(SecureRandom.uuid,
575
+ class_name: BasicJob,
576
+ args: test_args)
577
+
578
+ key_list.add_job(job)
579
+
580
+ expect(Resque::Plugins::Approve::PendingJob.new(job.id).uncompressed_args).to eq test_args
581
+ end
582
+ end
583
+ end
542
584
  end
@@ -1,181 +1,184 @@
1
1
  example_id | status | run_time |
2
2
  ---------------------------------------------------- | ------ | --------------- |
3
- ./spec/approve/approval_key_list_spec.rb[1:1:1] | passed | 0.00453 seconds |
4
- ./spec/approve/approval_key_list_spec.rb[1:1:2] | passed | 0.00234 seconds |
5
- ./spec/approve/approval_key_list_spec.rb[1:1:3] | passed | 0.00593 seconds |
6
- ./spec/approve/approval_key_list_spec.rb[1:2:1] | passed | 0.01656 seconds |
7
- ./spec/approve/approval_key_list_spec.rb[1:2:2] | passed | 0.01564 seconds |
8
- ./spec/approve/approval_key_list_spec.rb[1:3:1] | passed | 0.01701 seconds |
9
- ./spec/approve/approval_key_list_spec.rb[1:3:2] | passed | 0.0138 seconds |
10
- ./spec/approve/approval_key_list_spec.rb[1:4:1] | passed | 0.01947 seconds |
11
- ./spec/approve/approval_key_list_spec.rb[1:4:2] | passed | 0.02472 seconds |
12
- ./spec/approve/approval_key_list_spec.rb[1:4:3] | passed | 0.01904 seconds |
13
- ./spec/approve/approval_key_list_spec.rb[1:5:1] | passed | 0.05037 seconds |
14
- ./spec/approve/approval_key_list_spec.rb[1:5:2] | passed | 0.04353 seconds |
15
- ./spec/approve/approval_key_list_spec.rb[1:5:3] | passed | 0.06019 seconds |
16
- ./spec/approve/approval_key_list_spec.rb[1:6:1] | passed | 0.07289 seconds |
17
- ./spec/approve/approval_key_list_spec.rb[1:6:2] | passed | 0.04092 seconds |
18
- ./spec/approve/approval_key_list_spec.rb[1:6:3] | passed | 0.10827 seconds |
19
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:1] | passed | 0.40854 seconds |
20
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:2] | passed | 0.42336 seconds |
21
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:3] | passed | 0.41519 seconds |
22
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:4] | passed | 0.39611 seconds |
23
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:5] | passed | 0.38865 seconds |
24
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:6] | passed | 0.40623 seconds |
25
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:7] | passed | 0.41431 seconds |
26
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:1] | passed | 0.42289 seconds |
27
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:2] | passed | 0.41745 seconds |
28
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:3] | passed | 0.40695 seconds |
29
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:4] | passed | 0.43214 seconds |
30
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:5] | passed | 0.41234 seconds |
31
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:6] | passed | 0.50559 seconds |
32
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:7] | passed | 0.41778 seconds |
33
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:1] | passed | 0.44006 seconds |
34
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:2] | passed | 0.41725 seconds |
35
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:3] | passed | 0.41063 seconds |
36
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:4] | passed | 0.43307 seconds |
37
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:5] | passed | 0.4315 seconds |
38
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:6] | passed | 0.42041 seconds |
39
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:7] | passed | 0.45198 seconds |
40
- ./spec/approve/approval_key_list_spec.rb[1:8:1] | passed | 0.07438 seconds |
41
- ./spec/approve/approval_key_list_spec.rb[1:9:1] | passed | 0.04127 seconds |
42
- ./spec/approve/cleaner_spec.rb[1:1:1] | passed | 0.03321 seconds |
43
- ./spec/approve/cleaner_spec.rb[1:1:2] | passed | 0.03301 seconds |
44
- ./spec/approve/cleaner_spec.rb[1:1:3] | passed | 0.0624 seconds |
45
- ./spec/approve/cleaner_spec.rb[1:2:1] | passed | 0.04943 seconds |
46
- ./spec/approve/cleaner_spec.rb[1:2:2] | passed | 0.03647 seconds |
47
- ./spec/approve/cleaner_spec.rb[1:3:1] | passed | 0.0301 seconds |
48
- ./spec/approve/pending_job_queue_spec.rb[1:1:1] | passed | 0.03955 seconds |
49
- ./spec/approve/pending_job_queue_spec.rb[1:1:2] | passed | 0.03376 seconds |
50
- ./spec/approve/pending_job_queue_spec.rb[1:1:3] | passed | 0.02707 seconds |
51
- ./spec/approve/pending_job_queue_spec.rb[1:1:4] | passed | 0.02877 seconds |
52
- ./spec/approve/pending_job_queue_spec.rb[1:1:5:1] | passed | 0.03244 seconds |
53
- ./spec/approve/pending_job_queue_spec.rb[1:2:1] | passed | 0.02465 seconds |
54
- ./spec/approve/pending_job_queue_spec.rb[1:2:2] | passed | 0.01969 seconds |
55
- ./spec/approve/pending_job_queue_spec.rb[1:3:1] | passed | 0.01656 seconds |
56
- ./spec/approve/pending_job_queue_spec.rb[1:3:2] | passed | 0.02136 seconds |
57
- ./spec/approve/pending_job_queue_spec.rb[1:4:1] | passed | 1.42 seconds |
58
- ./spec/approve/pending_job_queue_spec.rb[1:4:2] | passed | 0.01356 seconds |
59
- ./spec/approve/pending_job_queue_spec.rb[1:5:1] | passed | 0.03191 seconds |
60
- ./spec/approve/pending_job_queue_spec.rb[1:5:2] | passed | 0.01995 seconds |
61
- ./spec/approve/pending_job_queue_spec.rb[1:6:1] | passed | 0.04591 seconds |
62
- ./spec/approve/pending_job_queue_spec.rb[1:6:2] | passed | 0.02469 seconds |
63
- ./spec/approve/pending_job_queue_spec.rb[1:7:1] | passed | 0.0259 seconds |
64
- ./spec/approve/pending_job_queue_spec.rb[1:7:2] | passed | 0.02409 seconds |
65
- ./spec/approve/pending_job_queue_spec.rb[1:8:1] | passed | 0.04047 seconds |
66
- ./spec/approve/pending_job_queue_spec.rb[1:8:2] | passed | 0.0442 seconds |
67
- ./spec/approve/pending_job_queue_spec.rb[1:9:1] | passed | 0.02993 seconds |
68
- ./spec/approve/pending_job_queue_spec.rb[1:9:2] | passed | 0.02353 seconds |
69
- ./spec/approve/pending_job_queue_spec.rb[1:10:1] | passed | 0.02156 seconds |
70
- ./spec/approve/pending_job_queue_spec.rb[1:10:2] | passed | 0.02894 seconds |
71
- ./spec/approve/pending_job_queue_spec.rb[1:11:1] | passed | 0.11758 seconds |
72
- ./spec/approve/pending_job_queue_spec.rb[1:11:2] | passed | 0.04655 seconds |
73
- ./spec/approve/pending_job_queue_spec.rb[1:11:3] | passed | 0.04641 seconds |
74
- ./spec/approve/pending_job_queue_spec.rb[1:11:4] | passed | 0.05952 seconds |
75
- ./spec/approve/pending_job_queue_spec.rb[1:11:5] | passed | 0.08348 seconds |
76
- ./spec/approve/pending_job_queue_spec.rb[1:12:1] | passed | 0.02473 seconds |
77
- ./spec/approve/pending_job_queue_spec.rb[1:13:1] | passed | 0.0165 seconds |
78
- ./spec/approve/pending_job_queue_spec.rb[1:14:1] | passed | 0.02205 seconds |
79
- ./spec/approve/pending_job_queue_spec.rb[1:14:2] | passed | 0.02296 seconds |
80
- ./spec/approve/pending_job_queue_spec.rb[1:14:3] | passed | 0.04434 seconds |
81
- ./spec/approve/pending_job_queue_spec.rb[1:14:4] | passed | 0.0293 seconds |
82
- ./spec/approve/pending_job_spec.rb[1:1:1] | passed | 0.0143 seconds |
83
- ./spec/approve/pending_job_spec.rb[1:1:2] | passed | 0.01816 seconds |
84
- ./spec/approve/pending_job_spec.rb[1:1:3] | passed | 0.01832 seconds |
85
- ./spec/approve/pending_job_spec.rb[1:1:4] | passed | 0.00902 seconds |
86
- ./spec/approve/pending_job_spec.rb[1:1:5] | passed | 0.01347 seconds |
87
- ./spec/approve/pending_job_spec.rb[1:1:6] | passed | 0.01001 seconds |
88
- ./spec/approve/pending_job_spec.rb[1:1:7] | passed | 0.05291 seconds |
89
- ./spec/approve/pending_job_spec.rb[1:1:8] | passed | 0.01808 seconds |
90
- ./spec/approve/pending_job_spec.rb[1:1:9] | passed | 0.01182 seconds |
91
- ./spec/approve/pending_job_spec.rb[1:2:1] | passed | 0.01788 seconds |
92
- ./spec/approve/pending_job_spec.rb[1:2:2] | passed | 0.00397 seconds |
93
- ./spec/approve/pending_job_spec.rb[1:2:3] | passed | 0.00879 seconds |
94
- ./spec/approve/pending_job_spec.rb[1:2:4] | passed | 0.0098 seconds |
95
- ./spec/approve/pending_job_spec.rb[1:2:5] | passed | 0.00799 seconds |
96
- ./spec/approve/pending_job_spec.rb[1:3:1:1] | passed | 0.01316 seconds |
97
- ./spec/approve/pending_job_spec.rb[1:3:1:2] | passed | 0.01485 seconds |
98
- ./spec/approve/pending_job_spec.rb[1:3:1:3] | passed | 0.01544 seconds |
99
- ./spec/approve/pending_job_spec.rb[1:3:1:4] | passed | 0.01291 seconds |
100
- ./spec/approve/pending_job_spec.rb[1:3:1:5] | passed | 0.01183 seconds |
101
- ./spec/approve/pending_job_spec.rb[1:3:1:6] | passed | 0.01616 seconds |
102
- ./spec/approve/pending_job_spec.rb[1:3:1:7] | passed | 0.01493 seconds |
103
- ./spec/approve/pending_job_spec.rb[1:4:1:1] | passed | 0.01301 seconds |
104
- ./spec/approve/pending_job_spec.rb[1:4:1:2] | passed | 0.01745 seconds |
105
- ./spec/approve/pending_job_spec.rb[1:4:1:3] | passed | 0.02452 seconds |
106
- ./spec/approve/pending_job_spec.rb[1:4:1:4] | passed | 0.01382 seconds |
107
- ./spec/approve/pending_job_spec.rb[1:4:1:5] | passed | 0.01824 seconds |
108
- ./spec/approve/pending_job_spec.rb[1:4:1:6] | passed | 0.01978 seconds |
109
- ./spec/approve/pending_job_spec.rb[1:4:1:7] | passed | 0.0179 seconds |
110
- ./spec/approve/pending_job_spec.rb[1:5:1] | passed | 0.01115 seconds |
111
- ./spec/approve/pending_job_spec.rb[1:6:1] | passed | 0.06287 seconds |
112
- ./spec/approve/pending_job_spec.rb[1:6:2] | passed | 0.01177 seconds |
113
- ./spec/approve/pending_job_spec.rb[1:6:3:1] | passed | 0.01156 seconds |
114
- ./spec/approve/pending_job_spec.rb[1:6:3:2] | passed | 0.02082 seconds |
115
- ./spec/approve/pending_job_spec.rb[1:6:3:3] | passed | 0.04325 seconds |
116
- ./spec/approve/pending_job_spec.rb[1:6:3:4] | passed | 0.03485 seconds |
117
- ./spec/approve/pending_job_spec.rb[1:6:3:5] | passed | 0.02379 seconds |
118
- ./spec/approve/pending_job_spec.rb[1:6:3:6] | passed | 0.03565 seconds |
119
- ./spec/approve/pending_job_spec.rb[1:6:3:7] | passed | 0.01551 seconds |
120
- ./spec/approve/pending_job_spec.rb[1:6:3:8] | passed | 0.04021 seconds |
121
- ./spec/approve/pending_job_spec.rb[1:6:3:9] | passed | 0.01262 seconds |
122
- ./spec/approve/pending_job_spec.rb[1:6:3:10] | passed | 0.01346 seconds |
123
- ./spec/approve/pending_job_spec.rb[1:6:3:11] | passed | 0.00692 seconds |
124
- ./spec/approve/pending_job_spec.rb[1:7:1] | passed | 0.0112 seconds |
125
- ./spec/approve/pending_job_spec.rb[1:7:2] | passed | 0.02206 seconds |
126
- ./spec/approve/pending_job_spec.rb[1:7:3] | passed | 0.01299 seconds |
127
- ./spec/approve/pending_job_spec.rb[1:8:1] | passed | 0.01077 seconds |
128
- ./spec/approve/pending_job_spec.rb[1:8:2] | passed | 0.01097 seconds |
129
- ./spec/approve/pending_job_spec.rb[1:8:3] | passed | 0.01448 seconds |
130
- ./spec/approve/pending_job_spec.rb[1:8:4] | passed | 0.01549 seconds |
131
- ./spec/approve/pending_job_spec.rb[1:8:5] | passed | 0.02272 seconds |
132
- ./spec/approve/pending_job_spec.rb[1:9:1] | passed | 0.00213 seconds |
133
- ./spec/approve/pending_job_spec.rb[1:9:2:1] | passed | 0.00558 seconds |
134
- ./spec/approve/pending_job_spec.rb[1:10:1:1] | passed | 0.0122 seconds |
135
- ./spec/approve/pending_job_spec.rb[1:11:1] | passed | 0.01485 seconds |
136
- ./spec/approve/pending_job_spec.rb[1:11:2:1] | passed | 0.0134 seconds |
137
- ./spec/approve_spec.rb[1:1] | passed | 0.00189 seconds |
138
- ./spec/approve_spec.rb[1:2] | passed | 0.00193 seconds |
139
- ./spec/approve_spec.rb[1:3] | passed | 0.00441 seconds |
140
- ./spec/approve_spec.rb[1:4] | passed | 0.0155 seconds |
141
- ./spec/approve_spec.rb[1:5] | passed | 0.00512 seconds |
142
- ./spec/approve_spec.rb[1:6] | passed | 0.01601 seconds |
143
- ./spec/approve_spec.rb[1:7] | passed | 0.01424 seconds |
144
- ./spec/approve_spec.rb[1:8:1] | passed | 0.02502 seconds |
145
- ./spec/approve_spec.rb[1:8:2] | passed | 0.02874 seconds |
146
- ./spec/approve_spec.rb[1:8:3] | passed | 0.03407 seconds |
147
- ./spec/approve_spec.rb[1:8:4] | passed | 0.04391 seconds |
148
- ./spec/approve_spec.rb[1:8:5] | passed | 0.02847 seconds |
149
- ./spec/approve_spec.rb[1:8:6] | passed | 0.03736 seconds |
150
- ./spec/approve_spec.rb[1:9:1] | passed | 0.01789 seconds |
151
- ./spec/approve_spec.rb[1:9:2] | passed | 0.0243 seconds |
152
- ./spec/approve_spec.rb[1:10:1] | passed | 0.02163 seconds |
153
- ./spec/approve_spec.rb[1:10:2] | passed | 0.02966 seconds |
154
- ./spec/approve_spec.rb[1:11:1] | passed | 0.00674 seconds |
155
- ./spec/approve_spec.rb[1:11:2] | passed | 0.0075 seconds |
156
- ./spec/approve_spec.rb[1:11:3] | passed | 0.0079 seconds |
157
- ./spec/approve_spec.rb[1:11:4] | passed | 0.00274 seconds |
158
- ./spec/approve_spec.rb[1:11:5] | passed | 0.00359 seconds |
159
- ./spec/server/public/approve.css_spec.rb[1:1] | passed | 0.01314 seconds |
160
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:1] | passed | 0.03024 seconds |
161
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:2] | passed | 0.02689 seconds |
162
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:3] | passed | 0.03696 seconds |
163
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:4] | passed | 0.02844 seconds |
164
- ./spec/server/views/approval_keys.erb_spec.rb[1:2] | passed | 0.066 seconds |
165
- ./spec/server/views/approval_keys.erb_spec.rb[1:3] | passed | 0.0256 seconds |
166
- ./spec/server/views/job_details.erb_spec.rb[1:1] | passed | 0.01485 seconds |
167
- ./spec/server/views/job_details.erb_spec.rb[1:2] | passed | 0.02209 seconds |
168
- ./spec/server/views/job_details.erb_spec.rb[1:3] | passed | 0.0271 seconds |
169
- ./spec/server/views/job_details.erb_spec.rb[1:4] | passed | 0.0467 seconds |
170
- ./spec/server/views/job_details.erb_spec.rb[1:5] | passed | 0.02121 seconds |
171
- ./spec/server/views/job_details.erb_spec.rb[1:6] | passed | 0.02237 seconds |
172
- ./spec/server/views/job_list.erb_spec.rb[1:1:1] | passed | 0.02451 seconds |
173
- ./spec/server/views/job_list.erb_spec.rb[1:1:2] | passed | 0.02167 seconds |
174
- ./spec/server/views/job_list.erb_spec.rb[1:1:3] | passed | 0.03131 seconds |
175
- ./spec/server/views/job_list.erb_spec.rb[1:1:4] | passed | 0.04476 seconds |
176
- ./spec/server/views/job_list.erb_spec.rb[1:1:5] | passed | 0.03134 seconds |
177
- ./spec/server/views/job_list.erb_spec.rb[1:1:6] | passed | 0.02926 seconds |
178
- ./spec/server/views/job_list.erb_spec.rb[1:1:7] | passed | 0.02736 seconds |
179
- ./spec/server/views/job_list.erb_spec.rb[1:2] | passed | 0.04678 seconds |
180
- ./spec/server/views/job_list.erb_spec.rb[1:3] | passed | 0.05057 seconds |
181
- ./spec/server/views/job_list.erb_spec.rb[1:4] | passed | 0.03516 seconds |
3
+ ./spec/approve/approval_key_list_spec.rb[1:1:1] | passed | 0.00265 seconds |
4
+ ./spec/approve/approval_key_list_spec.rb[1:1:2] | passed | 0.00103 seconds |
5
+ ./spec/approve/approval_key_list_spec.rb[1:1:3] | passed | 0.0043 seconds |
6
+ ./spec/approve/approval_key_list_spec.rb[1:2:1] | passed | 0.0109 seconds |
7
+ ./spec/approve/approval_key_list_spec.rb[1:2:2] | passed | 0.0164 seconds |
8
+ ./spec/approve/approval_key_list_spec.rb[1:3:1] | passed | 0.01462 seconds |
9
+ ./spec/approve/approval_key_list_spec.rb[1:3:2] | passed | 0.00519 seconds |
10
+ ./spec/approve/approval_key_list_spec.rb[1:4:1] | passed | 0.00774 seconds |
11
+ ./spec/approve/approval_key_list_spec.rb[1:4:2] | passed | 0.01565 seconds |
12
+ ./spec/approve/approval_key_list_spec.rb[1:4:3] | passed | 0.01172 seconds |
13
+ ./spec/approve/approval_key_list_spec.rb[1:5:1] | passed | 0.03688 seconds |
14
+ ./spec/approve/approval_key_list_spec.rb[1:5:2] | passed | 0.02846 seconds |
15
+ ./spec/approve/approval_key_list_spec.rb[1:5:3] | passed | 0.03089 seconds |
16
+ ./spec/approve/approval_key_list_spec.rb[1:6:1] | passed | 0.07239 seconds |
17
+ ./spec/approve/approval_key_list_spec.rb[1:6:2] | passed | 0.03854 seconds |
18
+ ./spec/approve/approval_key_list_spec.rb[1:6:3] | passed | 0.03881 seconds |
19
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:1] | passed | 0.41254 seconds |
20
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:2] | passed | 0.41565 seconds |
21
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:3] | passed | 0.44232 seconds |
22
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:4] | passed | 0.41332 seconds |
23
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:5] | passed | 0.40687 seconds |
24
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:6] | passed | 0.41585 seconds |
25
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:7] | passed | 0.43011 seconds |
26
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:1] | passed | 0.41658 seconds |
27
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:2] | passed | 0.51902 seconds |
28
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:3] | passed | 0.54293 seconds |
29
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:4] | passed | 0.57476 seconds |
30
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:5] | passed | 0.43536 seconds |
31
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:6] | passed | 0.40968 seconds |
32
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:7] | passed | 0.47406 seconds |
33
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:1] | passed | 0.42158 seconds |
34
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:2] | passed | 0.41665 seconds |
35
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:3] | passed | 0.44734 seconds |
36
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:4] | passed | 0.44264 seconds |
37
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:5] | passed | 0.41414 seconds |
38
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:6] | passed | 0.41505 seconds |
39
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:7] | passed | 0.41586 seconds |
40
+ ./spec/approve/approval_key_list_spec.rb[1:8:1] | passed | 0.07871 seconds |
41
+ ./spec/approve/approval_key_list_spec.rb[1:9:1] | passed | 0.13069 seconds |
42
+ ./spec/approve/cleaner_spec.rb[1:1:1] | passed | 0.0698 seconds |
43
+ ./spec/approve/cleaner_spec.rb[1:1:2] | passed | 0.04232 seconds |
44
+ ./spec/approve/cleaner_spec.rb[1:1:3] | passed | 0.0581 seconds |
45
+ ./spec/approve/cleaner_spec.rb[1:2:1] | passed | 0.03286 seconds |
46
+ ./spec/approve/cleaner_spec.rb[1:2:2] | passed | 0.06626 seconds |
47
+ ./spec/approve/cleaner_spec.rb[1:3:1] | passed | 0.03915 seconds |
48
+ ./spec/approve/pending_job_queue_spec.rb[1:1:1] | passed | 0.02694 seconds |
49
+ ./spec/approve/pending_job_queue_spec.rb[1:1:2] | passed | 0.0311 seconds |
50
+ ./spec/approve/pending_job_queue_spec.rb[1:1:3] | passed | 0.02157 seconds |
51
+ ./spec/approve/pending_job_queue_spec.rb[1:1:4] | passed | 0.01931 seconds |
52
+ ./spec/approve/pending_job_queue_spec.rb[1:1:5:1] | passed | 0.02151 seconds |
53
+ ./spec/approve/pending_job_queue_spec.rb[1:2:1] | passed | 0.0228 seconds |
54
+ ./spec/approve/pending_job_queue_spec.rb[1:2:2] | passed | 0.03086 seconds |
55
+ ./spec/approve/pending_job_queue_spec.rb[1:3:1] | passed | 0.0221 seconds |
56
+ ./spec/approve/pending_job_queue_spec.rb[1:3:2] | passed | 0.01865 seconds |
57
+ ./spec/approve/pending_job_queue_spec.rb[1:4:1] | passed | 0.03951 seconds |
58
+ ./spec/approve/pending_job_queue_spec.rb[1:4:2] | passed | 0.02902 seconds |
59
+ ./spec/approve/pending_job_queue_spec.rb[1:5:1] | passed | 0.02068 seconds |
60
+ ./spec/approve/pending_job_queue_spec.rb[1:5:2] | passed | 0.01433 seconds |
61
+ ./spec/approve/pending_job_queue_spec.rb[1:6:1] | passed | 0.04278 seconds |
62
+ ./spec/approve/pending_job_queue_spec.rb[1:6:2] | passed | 0.02881 seconds |
63
+ ./spec/approve/pending_job_queue_spec.rb[1:7:1] | passed | 0.02853 seconds |
64
+ ./spec/approve/pending_job_queue_spec.rb[1:7:2] | passed | 0.02825 seconds |
65
+ ./spec/approve/pending_job_queue_spec.rb[1:8:1] | passed | 0.0255 seconds |
66
+ ./spec/approve/pending_job_queue_spec.rb[1:8:2] | passed | 0.02038 seconds |
67
+ ./spec/approve/pending_job_queue_spec.rb[1:9:1] | passed | 0.02746 seconds |
68
+ ./spec/approve/pending_job_queue_spec.rb[1:9:2] | passed | 0.0201 seconds |
69
+ ./spec/approve/pending_job_queue_spec.rb[1:10:1] | passed | 0.04172 seconds |
70
+ ./spec/approve/pending_job_queue_spec.rb[1:10:2] | passed | 0.03776 seconds |
71
+ ./spec/approve/pending_job_queue_spec.rb[1:11:1] | passed | 0.04003 seconds |
72
+ ./spec/approve/pending_job_queue_spec.rb[1:11:2] | passed | 0.06471 seconds |
73
+ ./spec/approve/pending_job_queue_spec.rb[1:11:3] | passed | 0.05816 seconds |
74
+ ./spec/approve/pending_job_queue_spec.rb[1:11:4] | passed | 0.04423 seconds |
75
+ ./spec/approve/pending_job_queue_spec.rb[1:11:5] | passed | 0.03975 seconds |
76
+ ./spec/approve/pending_job_queue_spec.rb[1:12:1] | passed | 0.0197 seconds |
77
+ ./spec/approve/pending_job_queue_spec.rb[1:13:1] | passed | 0.0332 seconds |
78
+ ./spec/approve/pending_job_queue_spec.rb[1:14:1] | passed | 0.01193 seconds |
79
+ ./spec/approve/pending_job_queue_spec.rb[1:14:2] | passed | 0.02181 seconds |
80
+ ./spec/approve/pending_job_queue_spec.rb[1:14:3] | passed | 0.0205 seconds |
81
+ ./spec/approve/pending_job_queue_spec.rb[1:14:4] | passed | 0.0226 seconds |
82
+ ./spec/approve/pending_job_spec.rb[1:1:1] | passed | 0.01492 seconds |
83
+ ./spec/approve/pending_job_spec.rb[1:1:2] | passed | 0.00948 seconds |
84
+ ./spec/approve/pending_job_spec.rb[1:1:3] | passed | 0.00995 seconds |
85
+ ./spec/approve/pending_job_spec.rb[1:1:4] | passed | 0.01081 seconds |
86
+ ./spec/approve/pending_job_spec.rb[1:1:5] | passed | 0.01371 seconds |
87
+ ./spec/approve/pending_job_spec.rb[1:1:6] | passed | 0.01406 seconds |
88
+ ./spec/approve/pending_job_spec.rb[1:1:7] | passed | 0.01372 seconds |
89
+ ./spec/approve/pending_job_spec.rb[1:1:8] | passed | 0.00815 seconds |
90
+ ./spec/approve/pending_job_spec.rb[1:1:9] | passed | 0.01125 seconds |
91
+ ./spec/approve/pending_job_spec.rb[1:2:1] | passed | 0.0209 seconds |
92
+ ./spec/approve/pending_job_spec.rb[1:2:2] | passed | 0.00831 seconds |
93
+ ./spec/approve/pending_job_spec.rb[1:2:3] | passed | 0.00806 seconds |
94
+ ./spec/approve/pending_job_spec.rb[1:2:4] | passed | 0.00508 seconds |
95
+ ./spec/approve/pending_job_spec.rb[1:2:5] | passed | 0.00393 seconds |
96
+ ./spec/approve/pending_job_spec.rb[1:3:1:1] | passed | 0.00588 seconds |
97
+ ./spec/approve/pending_job_spec.rb[1:3:1:2] | passed | 0.00961 seconds |
98
+ ./spec/approve/pending_job_spec.rb[1:3:1:3] | passed | 0.00434 seconds |
99
+ ./spec/approve/pending_job_spec.rb[1:3:1:4] | passed | 0.00547 seconds |
100
+ ./spec/approve/pending_job_spec.rb[1:3:1:5] | passed | 0.01383 seconds |
101
+ ./spec/approve/pending_job_spec.rb[1:3:1:6] | passed | 0.01374 seconds |
102
+ ./spec/approve/pending_job_spec.rb[1:3:1:7] | passed | 0.0133 seconds |
103
+ ./spec/approve/pending_job_spec.rb[1:4:1:1] | passed | 0.01831 seconds |
104
+ ./spec/approve/pending_job_spec.rb[1:4:1:2] | passed | 0.02255 seconds |
105
+ ./spec/approve/pending_job_spec.rb[1:4:1:3] | passed | 0.01853 seconds |
106
+ ./spec/approve/pending_job_spec.rb[1:4:1:4] | passed | 0.01307 seconds |
107
+ ./spec/approve/pending_job_spec.rb[1:4:1:5] | passed | 0.01426 seconds |
108
+ ./spec/approve/pending_job_spec.rb[1:4:1:6] | passed | 0.01239 seconds |
109
+ ./spec/approve/pending_job_spec.rb[1:4:1:7] | passed | 0.01258 seconds |
110
+ ./spec/approve/pending_job_spec.rb[1:5:1] | passed | 0.00526 seconds |
111
+ ./spec/approve/pending_job_spec.rb[1:6:1] | passed | 0.02077 seconds |
112
+ ./spec/approve/pending_job_spec.rb[1:6:2] | passed | 0.00592 seconds |
113
+ ./spec/approve/pending_job_spec.rb[1:6:3:1] | passed | 0.01541 seconds |
114
+ ./spec/approve/pending_job_spec.rb[1:6:3:2] | passed | 0.02378 seconds |
115
+ ./spec/approve/pending_job_spec.rb[1:6:3:3] | passed | 0.0197 seconds |
116
+ ./spec/approve/pending_job_spec.rb[1:6:3:4] | passed | 0.0246 seconds |
117
+ ./spec/approve/pending_job_spec.rb[1:6:3:5] | passed | 0.01883 seconds |
118
+ ./spec/approve/pending_job_spec.rb[1:6:3:6] | passed | 0.0128 seconds |
119
+ ./spec/approve/pending_job_spec.rb[1:6:3:7] | passed | 0.0501 seconds |
120
+ ./spec/approve/pending_job_spec.rb[1:6:3:8] | passed | 0.03345 seconds |
121
+ ./spec/approve/pending_job_spec.rb[1:6:3:9] | passed | 0.00847 seconds |
122
+ ./spec/approve/pending_job_spec.rb[1:6:3:10] | passed | 0.01598 seconds |
123
+ ./spec/approve/pending_job_spec.rb[1:6:3:11] | passed | 0.00931 seconds |
124
+ ./spec/approve/pending_job_spec.rb[1:7:1] | passed | 0.00969 seconds |
125
+ ./spec/approve/pending_job_spec.rb[1:7:2] | passed | 0.01743 seconds |
126
+ ./spec/approve/pending_job_spec.rb[1:7:3] | passed | 0.01695 seconds |
127
+ ./spec/approve/pending_job_spec.rb[1:8:1] | passed | 0.00911 seconds |
128
+ ./spec/approve/pending_job_spec.rb[1:8:2] | passed | 0.00586 seconds |
129
+ ./spec/approve/pending_job_spec.rb[1:8:3] | passed | 0.00816 seconds |
130
+ ./spec/approve/pending_job_spec.rb[1:8:4] | passed | 0.00618 seconds |
131
+ ./spec/approve/pending_job_spec.rb[1:8:5] | passed | 0.00782 seconds |
132
+ ./spec/approve/pending_job_spec.rb[1:9:1] | passed | 1.35 seconds |
133
+ ./spec/approve/pending_job_spec.rb[1:9:2:1] | passed | 0.00309 seconds |
134
+ ./spec/approve/pending_job_spec.rb[1:10:1:1] | passed | 0.01032 seconds |
135
+ ./spec/approve/pending_job_spec.rb[1:11:1] | passed | 0.00811 seconds |
136
+ ./spec/approve/pending_job_spec.rb[1:11:2:1] | passed | 0.01445 seconds |
137
+ ./spec/approve/pending_job_spec.rb[1:12:1] | passed | 0.03063 seconds |
138
+ ./spec/approve/pending_job_spec.rb[1:12:2] | passed | 0.0158 seconds |
139
+ ./spec/approve/pending_job_spec.rb[1:12:3:1] | passed | 0.01031 seconds |
140
+ ./spec/approve_spec.rb[1:1] | passed | 0.00367 seconds |
141
+ ./spec/approve_spec.rb[1:2] | passed | 0.00096 seconds |
142
+ ./spec/approve_spec.rb[1:3] | passed | 0.00077 seconds |
143
+ ./spec/approve_spec.rb[1:4] | passed | 0.01354 seconds |
144
+ ./spec/approve_spec.rb[1:5] | passed | 0.013 seconds |
145
+ ./spec/approve_spec.rb[1:6] | passed | 0.01944 seconds |
146
+ ./spec/approve_spec.rb[1:7] | passed | 0.01425 seconds |
147
+ ./spec/approve_spec.rb[1:8:1] | passed | 0.02701 seconds |
148
+ ./spec/approve_spec.rb[1:8:2] | passed | 0.03118 seconds |
149
+ ./spec/approve_spec.rb[1:8:3] | passed | 0.03898 seconds |
150
+ ./spec/approve_spec.rb[1:8:4] | passed | 0.02414 seconds |
151
+ ./spec/approve_spec.rb[1:8:5] | passed | 0.02278 seconds |
152
+ ./spec/approve_spec.rb[1:8:6] | passed | 0.02482 seconds |
153
+ ./spec/approve_spec.rb[1:9:1] | passed | 0.06305 seconds |
154
+ ./spec/approve_spec.rb[1:9:2] | passed | 0.0263 seconds |
155
+ ./spec/approve_spec.rb[1:10:1] | passed | 0.02013 seconds |
156
+ ./spec/approve_spec.rb[1:10:2] | passed | 0.04703 seconds |
157
+ ./spec/approve_spec.rb[1:11:1] | passed | 0.00735 seconds |
158
+ ./spec/approve_spec.rb[1:11:2] | passed | 0.00324 seconds |
159
+ ./spec/approve_spec.rb[1:11:3] | passed | 0.00325 seconds |
160
+ ./spec/approve_spec.rb[1:11:4] | passed | 0.00861 seconds |
161
+ ./spec/approve_spec.rb[1:11:5] | passed | 0.01101 seconds |
162
+ ./spec/server/public/approve.css_spec.rb[1:1] | passed | 0.0112 seconds |
163
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:1] | passed | 0.03814 seconds |
164
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:2] | passed | 0.02303 seconds |
165
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:3] | passed | 0.06107 seconds |
166
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:4] | passed | 0.02508 seconds |
167
+ ./spec/server/views/approval_keys.erb_spec.rb[1:2] | passed | 0.03479 seconds |
168
+ ./spec/server/views/approval_keys.erb_spec.rb[1:3] | passed | 0.08551 seconds |
169
+ ./spec/server/views/job_details.erb_spec.rb[1:1] | passed | 0.02013 seconds |
170
+ ./spec/server/views/job_details.erb_spec.rb[1:2] | passed | 0.01757 seconds |
171
+ ./spec/server/views/job_details.erb_spec.rb[1:3] | passed | 0.01699 seconds |
172
+ ./spec/server/views/job_details.erb_spec.rb[1:4] | passed | 0.02102 seconds |
173
+ ./spec/server/views/job_details.erb_spec.rb[1:5] | passed | 0.0319 seconds |
174
+ ./spec/server/views/job_details.erb_spec.rb[1:6] | passed | 0.03062 seconds |
175
+ ./spec/server/views/job_list.erb_spec.rb[1:1:1] | passed | 0.02609 seconds |
176
+ ./spec/server/views/job_list.erb_spec.rb[1:1:2] | passed | 0.0441 seconds |
177
+ ./spec/server/views/job_list.erb_spec.rb[1:1:3] | passed | 0.03481 seconds |
178
+ ./spec/server/views/job_list.erb_spec.rb[1:1:4] | passed | 0.04101 seconds |
179
+ ./spec/server/views/job_list.erb_spec.rb[1:1:5] | passed | 0.0328 seconds |
180
+ ./spec/server/views/job_list.erb_spec.rb[1:1:6] | passed | 0.02417 seconds |
181
+ ./spec/server/views/job_list.erb_spec.rb[1:1:7] | passed | 0.04868 seconds |
182
+ ./spec/server/views/job_list.erb_spec.rb[1:2] | passed | 0.06259 seconds |
183
+ ./spec/server/views/job_list.erb_spec.rb[1:3] | passed | 0.04405 seconds |
184
+ ./spec/server/views/job_list.erb_spec.rb[1:4] | passed | 0.05793 seconds |
@@ -1,5 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "resque/plugins/compressible"
4
+
3
5
  class AutoDeleteApprovalKeyJob < BasicJob
4
6
  self.auto_delete_approval_key = true
7
+
8
+ extend Resque::Plugins::Compressible
5
9
  end
@@ -1,5 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "resque/plugins/compressible"
4
+
3
5
  class MaxActiveJob < BasicJob
4
6
  self.max_active_jobs = 10
7
+
8
+ extend Resque::Plugins::Compressible
5
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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-09 00:00:00.000000000 Z
11
+ date: 2020-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: resque-compressible
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: resque-scheduler
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -207,6 +221,7 @@ files:
207
221
  - lib/resque/plugins/approve/approval_key_list.rb
208
222
  - lib/resque/plugins/approve/auto_approve_next.rb
209
223
  - lib/resque/plugins/approve/cleaner.rb
224
+ - lib/resque/plugins/approve/compressable_auto_approve_next.rb
210
225
  - lib/resque/plugins/approve/pending_job.rb
211
226
  - lib/resque/plugins/approve/pending_job_queue.rb
212
227
  - lib/resque/plugins/approve/redis_access.rb