resque-approve 0.0.4 → 0.0.5

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: e8ca59f3ecba62eae0dc3399c1ca5f82df1fe7d9
4
- data.tar.gz: 062fa0951dd4bbe28b25663561c507806a23288f
3
+ metadata.gz: 28e9f67dae51237cce2245ee2c7343836ed0c6af
4
+ data.tar.gz: 69de06a449ab4e709f56131005a57d304c2e59f2
5
5
  SHA512:
6
- metadata.gz: b6cf2c253fd889aa77e5d0a21a40e5b4235020221282d43fe31233695fc50d78b149d65b89f7be10de74bbbcc31e04f55e708432faf2dcac62ae870f32fea197
7
- data.tar.gz: 721007d47b2b5bc52434b2cbdf65eaae21df7043f2d7e2dc2f831f6677b5f827bded14b663f3d93757b395fedafff28b9080c1d1f8590c8fb7ff697b07cb1077
6
+ metadata.gz: 391a1cd9fab421d38cfe389721ac71cd81d3bc5fc90d4d81e0ce78716481d4543b21e92d33e15b58d2d1f74cfcf50a8ca6de26e2228102bc7d0132da5ec28529
7
+ data.tar.gz: 10d233c67b06d08732531efe6f429e027b2b6ea9d9286cea0cdf3bfd7622fc13f1aae6c4a4c375ad7bb143e1d3b3252f3d1b56ecaa3bf25003bee00dae714e76
@@ -20,7 +20,7 @@ module Resque
20
20
  end
21
21
 
22
22
  def remove_key(key)
23
- Resque::Plugins::Approve::PendingJobQueue.new(job.approval_key).resume
23
+ Resque::Plugins::Approve::PendingJobQueue.new(key).resume
24
24
 
25
25
  redis.srem(list_key, key)
26
26
  end
@@ -89,6 +89,10 @@ module Resque
89
89
  delete_job(id)
90
90
  end
91
91
 
92
+ def remove_num(num_approve)
93
+ num_approve.times { remove_one }
94
+ end
95
+
92
96
  def remove_all
93
97
  true while remove_one
94
98
  end
@@ -3,7 +3,7 @@
3
3
  module Resque
4
4
  module Plugins
5
5
  module Approve
6
- VERSION = "0.0.4"
6
+ VERSION = "0.0.5"
7
7
  end
8
8
  end
9
9
  end
@@ -123,6 +123,33 @@ RSpec.describe Resque::Plugins::Approve::PendingJobQueue do
123
123
  end
124
124
  end
125
125
 
126
+ describe "approve_num" do
127
+ it "enqueues the first x jobs" do
128
+ job_queue.approve_num 3
129
+
130
+ expect(Resque).to have_received(:enqueue_to).with "Some_Queue", BasicJob, 0
131
+ expect(Resque).to have_received(:enqueue_to).with "Some_Queue", BasicJob, 1
132
+ expect(Resque).to have_received(:enqueue_to).with "Some_Queue", BasicJob, 2
133
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 3
134
+
135
+ expect(job_queue.jobs).not_to be_include jobs[0]
136
+ expect(job_queue.num_jobs).to eq 1
137
+ end
138
+
139
+ it "does not enqueues the first x jobs if paused" do
140
+ job_queue.pause
141
+ job_queue.approve_num 3
142
+
143
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 0
144
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 1
145
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 2
146
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 3
147
+
148
+ expect(job_queue.jobs).to be_include jobs[0]
149
+ expect(job_queue.num_jobs).to eq 4
150
+ end
151
+ end
152
+
126
153
  describe "pop_job" do
127
154
  it "enqueues the last job" do
128
155
  job_queue.pop_job
@@ -190,7 +217,7 @@ RSpec.describe Resque::Plugins::Approve::PendingJobQueue do
190
217
  expect(job_queue.num_jobs).to eq 3
191
218
  end
192
219
 
193
- it "removes the first job" do
220
+ it "removes the first job if paused" do
194
221
  job_queue.pause
195
222
  job_queue.remove_one
196
223
 
@@ -204,6 +231,37 @@ RSpec.describe Resque::Plugins::Approve::PendingJobQueue do
204
231
  end
205
232
  end
206
233
 
234
+ describe "remove_num" do
235
+ it "removes the first x jobs" do
236
+ job_queue.remove_num 3
237
+
238
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 0
239
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 1
240
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 2
241
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 3
242
+
243
+ expect(job_queue.jobs).not_to be_include jobs[0]
244
+ expect(job_queue.jobs).not_to be_include jobs[1]
245
+ expect(job_queue.jobs).not_to be_include jobs[2]
246
+ expect(job_queue.num_jobs).to eq 1
247
+ end
248
+
249
+ it "removes the first x jobs if paused" do
250
+ job_queue.pause
251
+ job_queue.remove_num 3
252
+
253
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 0
254
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 1
255
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 2
256
+ expect(Resque).not_to have_received(:enqueue_to).with "Some_Queue", BasicJob, 3
257
+
258
+ expect(job_queue.jobs).not_to be_include jobs[0]
259
+ expect(job_queue.jobs).not_to be_include jobs[1]
260
+ expect(job_queue.jobs).not_to be_include jobs[2]
261
+ expect(job_queue.num_jobs).to eq 1
262
+ end
263
+ end
264
+
207
265
  describe "remove_job_pop" do
208
266
  it "removes the last job" do
209
267
  job_queue.remove_job_pop
data/spec/examples.txt CHANGED
@@ -1,149 +1,153 @@
1
- example_id | status | run_time |
2
- ---------------------------------------------------- | ------- | --------------- |
3
- ./spec/approve/approval_key_list_spec.rb[1:1:1] | passed | 0.00081 seconds |
4
- ./spec/approve/approval_key_list_spec.rb[1:1:2] | passed | 0.00058 seconds |
5
- ./spec/approve/approval_key_list_spec.rb[1:1:3] | passed | 0.0008 seconds |
6
- ./spec/approve/approval_key_list_spec.rb[1:2:1] | passed | 0.00329 seconds |
7
- ./spec/approve/approval_key_list_spec.rb[1:2:2] | passed | 0.00419 seconds |
8
- ./spec/approve/approval_key_list_spec.rb[1:3:1] | passed | 0.00211 seconds |
9
- ./spec/approve/approval_key_list_spec.rb[1:3:2] | passed | 0.00264 seconds |
10
- ./spec/approve/approval_key_list_spec.rb[1:4:1] | passed | 0.00337 seconds |
11
- ./spec/approve/approval_key_list_spec.rb[1:4:2] | passed | 0.00542 seconds |
12
- ./spec/approve/approval_key_list_spec.rb[1:4:3] | passed | 0.00462 seconds |
13
- ./spec/approve/approval_key_list_spec.rb[1:5:1] | passed | 0.01753 seconds |
14
- ./spec/approve/approval_key_list_spec.rb[1:5:2] | passed | 0.01523 seconds |
15
- ./spec/approve/approval_key_list_spec.rb[1:5:3] | passed | 0.01682 seconds |
16
- ./spec/approve/approval_key_list_spec.rb[1:6:1] | passed | 0.03665 seconds |
17
- ./spec/approve/approval_key_list_spec.rb[1:6:2] | passed | 0.02217 seconds |
18
- ./spec/approve/approval_key_list_spec.rb[1:6:3] | passed | 0.02712 seconds |
19
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:1] | passed | 0.37457 seconds |
20
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:2] | passed | 0.37665 seconds |
21
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:3] | passed | 0.37041 seconds |
22
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:4] | passed | 0.37069 seconds |
23
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:5] | passed | 0.37388 seconds |
24
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:6] | passed | 0.37706 seconds |
25
- ./spec/approve/approval_key_list_spec.rb[1:7:1:1:7] | passed | 0.3846 seconds |
26
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:1] | passed | 0.38664 seconds |
27
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:2] | passed | 0.38505 seconds |
28
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:3] | passed | 0.46689 seconds |
29
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:4] | passed | 0.38358 seconds |
30
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:5] | passed | 0.37826 seconds |
31
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:6] | passed | 0.39196 seconds |
32
- ./spec/approve/approval_key_list_spec.rb[1:7:2:1:7] | passed | 0.39493 seconds |
33
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:1] | passed | 0.38132 seconds |
34
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:2] | passed | 0.37191 seconds |
35
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:3] | passed | 0.39882 seconds |
36
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:4] | passed | 0.38268 seconds |
37
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:5] | passed | 0.39867 seconds |
38
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:6] | passed | 0.3975 seconds |
39
- ./spec/approve/approval_key_list_spec.rb[1:7:3:1:7] | passed | 0.388 seconds |
40
- ./spec/approve/approval_key_list_spec.rb[1:8:1] | passed | 0.02978 seconds |
41
- ./spec/approve/approval_key_list_spec.rb[1:9:1] | passed | 0.03033 seconds |
42
- ./spec/approve/cleaner_spec.rb[1:1:1] | passed | 0.01382 seconds |
43
- ./spec/approve/cleaner_spec.rb[1:1:2] | passed | 0.00929 seconds |
44
- ./spec/approve/cleaner_spec.rb[1:1:3] | passed | 0.00982 seconds |
45
- ./spec/approve/cleaner_spec.rb[1:2:1] | passed | 0.01796 seconds |
46
- ./spec/approve/cleaner_spec.rb[1:2:2] | passed | 0.01627 seconds |
47
- ./spec/approve/cleaner_spec.rb[1:3:1] | passed | 0.00923 seconds |
48
- ./spec/approve/pending_job_queue_spec.rb[1:1:1] | passed | 0.01558 seconds |
49
- ./spec/approve/pending_job_queue_spec.rb[1:1:2] | passed | 0.00899 seconds |
50
- ./spec/approve/pending_job_queue_spec.rb[1:1:3] | passed | 0.01351 seconds |
51
- ./spec/approve/pending_job_queue_spec.rb[1:1:4] | passed | 0.01493 seconds |
52
- ./spec/approve/pending_job_queue_spec.rb[1:1:5:1] | passed | 0.01731 seconds |
53
- ./spec/approve/pending_job_queue_spec.rb[1:2:1] | passed | 0.01576 seconds |
54
- ./spec/approve/pending_job_queue_spec.rb[1:2:2] | passed | 0.02713 seconds |
55
- ./spec/approve/pending_job_queue_spec.rb[1:3:1] | passed | 0.01337 seconds |
56
- ./spec/approve/pending_job_queue_spec.rb[1:3:2] | passed | 0.01639 seconds |
57
- ./spec/approve/pending_job_queue_spec.rb[1:4:1] | passed | 0.01908 seconds |
58
- ./spec/approve/pending_job_queue_spec.rb[1:4:2] | passed | 0.01246 seconds |
59
- ./spec/approve/pending_job_queue_spec.rb[1:5:1] | passed | 0.01823 seconds |
60
- ./spec/approve/pending_job_queue_spec.rb[1:5:2] | passed | 0.01382 seconds |
61
- ./spec/approve/pending_job_queue_spec.rb[1:6:1] | passed | 0.00568 seconds |
62
- ./spec/approve/pending_job_queue_spec.rb[1:6:2] | passed | 0.01792 seconds |
63
- ./spec/approve/pending_job_queue_spec.rb[1:7:1] | passed | 0.0115 seconds |
64
- ./spec/approve/pending_job_queue_spec.rb[1:7:2] | passed | 0.01447 seconds |
65
- ./spec/approve/pending_job_queue_spec.rb[1:8:1] | passed | 0.01243 seconds |
66
- ./spec/approve/pending_job_queue_spec.rb[1:8:2] | passed | 0.01171 seconds |
67
- ./spec/approve/pending_job_queue_spec.rb[1:9:1] | passed | 0.05488 seconds |
68
- ./spec/approve/pending_job_queue_spec.rb[1:9:2] | passed | 0.03156 seconds |
69
- ./spec/approve/pending_job_queue_spec.rb[1:9:3] | passed | 0.03417 seconds |
70
- ./spec/approve/pending_job_queue_spec.rb[1:9:4] | passed | 0.03747 seconds |
71
- ./spec/approve/pending_job_queue_spec.rb[1:9:5] | passed | 0.03307 seconds |
72
- ./spec/approve/pending_job_queue_spec.rb[1:10:1] | passed | 0.5602 seconds |
73
- ./spec/approve/pending_job_queue_spec.rb[1:11:1] | passed | 0.02438 seconds |
74
- ./spec/approve/pending_job_queue_spec.rb[1:12:1] | passed | 0.01052 seconds |
75
- ./spec/approve/pending_job_queue_spec.rb[1:12:2] | passed | 0.00988 seconds |
76
- ./spec/approve/pending_job_queue_spec.rb[1:12:3] | passed | 0.00947 seconds |
77
- ./spec/approve/pending_job_spec.rb[1:1:1] | passed | 0.00472 seconds |
78
- ./spec/approve/pending_job_spec.rb[1:1:2] | passed | 0.00377 seconds |
79
- ./spec/approve/pending_job_spec.rb[1:1:3] | passed | 0.00224 seconds |
80
- ./spec/approve/pending_job_spec.rb[1:1:4] | passed | 0.00234 seconds |
81
- ./spec/approve/pending_job_spec.rb[1:1:5] | passed | 0.00158 seconds |
82
- ./spec/approve/pending_job_spec.rb[1:1:6] | passed | 0.00216 seconds |
83
- ./spec/approve/pending_job_spec.rb[1:1:7] | passed | 0.00177 seconds |
84
- ./spec/approve/pending_job_spec.rb[1:2:1] | passed | 0.00244 seconds |
85
- ./spec/approve/pending_job_spec.rb[1:2:2] | passed | 0.00095 seconds |
86
- ./spec/approve/pending_job_spec.rb[1:2:3] | passed | 0.00143 seconds |
87
- ./spec/approve/pending_job_spec.rb[1:2:4] | passed | 0.00126 seconds |
88
- ./spec/approve/pending_job_spec.rb[1:2:5] | passed | 0.00091 seconds |
89
- ./spec/approve/pending_job_spec.rb[1:3:1:1] | passed | 0.00249 seconds |
90
- ./spec/approve/pending_job_spec.rb[1:3:1:2] | passed | 0.0024 seconds |
91
- ./spec/approve/pending_job_spec.rb[1:3:1:3] | passed | 0.00217 seconds |
92
- ./spec/approve/pending_job_spec.rb[1:3:1:4] | passed | 0.0036 seconds |
93
- ./spec/approve/pending_job_spec.rb[1:3:1:5] | passed | 0.00262 seconds |
94
- ./spec/approve/pending_job_spec.rb[1:3:1:6] | passed | 0.00337 seconds |
95
- ./spec/approve/pending_job_spec.rb[1:3:1:7] | passed | 0.00259 seconds |
96
- ./spec/approve/pending_job_spec.rb[1:4:1:1] | passed | 0.0036 seconds |
97
- ./spec/approve/pending_job_spec.rb[1:4:1:2] | passed | 0.00381 seconds |
98
- ./spec/approve/pending_job_spec.rb[1:4:1:3] | passed | 0.00323 seconds |
99
- ./spec/approve/pending_job_spec.rb[1:4:1:4] | passed | 0.0035 seconds |
100
- ./spec/approve/pending_job_spec.rb[1:4:1:5] | passed | 0.00351 seconds |
101
- ./spec/approve/pending_job_spec.rb[1:4:1:6] | passed | 0.0049 seconds |
102
- ./spec/approve/pending_job_spec.rb[1:4:1:7] | passed | 0.00623 seconds |
103
- ./spec/approve/pending_job_spec.rb[1:5:1] | passed | 0.00209 seconds |
104
- ./spec/approve/pending_job_spec.rb[1:6:1] | passed | 0.00734 seconds |
105
- ./spec/approve/pending_job_spec.rb[1:7:1] | passed | 0.00295 seconds |
106
- ./spec/approve/pending_job_spec.rb[1:7:2] | passed | 0.00424 seconds |
107
- ./spec/approve/pending_job_spec.rb[1:7:3] | passed | 0.00436 seconds |
108
- ./spec/approve/pending_job_spec.rb[1:8:1] | passed | 0.00213 seconds |
109
- ./spec/approve/pending_job_spec.rb[1:8:2] | passed | 0.00182 seconds |
110
- ./spec/approve/pending_job_spec.rb[1:8:3] | passed | 0.00239 seconds |
111
- ./spec/approve/pending_job_spec.rb[1:8:4] | passed | 0.00229 seconds |
112
- ./spec/approve/pending_job_spec.rb[1:8:5] | passed | 0.00237 seconds |
113
- ./spec/approve_spec.rb[1:1] | passed | 0.00338 seconds |
114
- ./spec/approve_spec.rb[1:2] | passed | 0.00436 seconds |
115
- ./spec/approve_spec.rb[1:3] | passed | 0.55259 seconds |
116
- ./spec/approve_spec.rb[1:4] | passed | 0.00777 seconds |
117
- ./spec/approve_spec.rb[1:5] | passed | 0.00467 seconds |
118
- ./spec/approve_spec.rb[1:6:1] | passed | 0.00955 seconds |
119
- ./spec/approve_spec.rb[1:6:2] | passed | 0.01144 seconds |
120
- ./spec/approve_spec.rb[1:6:3] | passed | 0.51245 seconds |
121
- ./spec/approve_spec.rb[1:6:4] | passed | 0.01855 seconds |
122
- ./spec/approve_spec.rb[1:6:5] | passed | 0.01114 seconds |
123
- ./spec/approve_spec.rb[1:6:6] | unknown | |
124
- ./spec/approve_spec.rb[1:7:1] | passed | 0.0052 seconds |
125
- ./spec/approve_spec.rb[1:7:2] | passed | 0.01155 seconds |
126
- ./spec/approve_spec.rb[1:8:1] | passed | 0.00829 seconds |
127
- ./spec/approve_spec.rb[1:8:2] | passed | 0.01191 seconds |
128
- ./spec/server/public/approve.css_spec.rb[1:1] | passed | 0.00454 seconds |
129
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:1] | passed | 0.01122 seconds |
130
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:2] | passed | 0.01072 seconds |
131
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:3] | passed | 0.01359 seconds |
132
- ./spec/server/views/approval_keys.erb_spec.rb[1:1:4] | passed | 0.01491 seconds |
133
- ./spec/server/views/approval_keys.erb_spec.rb[1:2] | passed | 0.02502 seconds |
134
- ./spec/server/views/approval_keys.erb_spec.rb[1:3] | passed | 0.02061 seconds |
135
- ./spec/server/views/job_details.erb_spec.rb[1:1] | passed | 0.00957 seconds |
136
- ./spec/server/views/job_details.erb_spec.rb[1:2] | passed | 0.0069 seconds |
137
- ./spec/server/views/job_details.erb_spec.rb[1:3] | passed | 0.00974 seconds |
138
- ./spec/server/views/job_details.erb_spec.rb[1:4] | passed | 0.01302 seconds |
139
- ./spec/server/views/job_details.erb_spec.rb[1:5] | passed | 0.00842 seconds |
140
- ./spec/server/views/job_details.erb_spec.rb[1:6] | passed | 0.00889 seconds |
141
- ./spec/server/views/job_list.erb_spec.rb[1:1:1] | passed | 0.02364 seconds |
142
- ./spec/server/views/job_list.erb_spec.rb[1:1:2] | passed | 0.00844 seconds |
143
- ./spec/server/views/job_list.erb_spec.rb[1:1:3] | passed | 0.02169 seconds |
144
- ./spec/server/views/job_list.erb_spec.rb[1:1:4] | passed | 0.01655 seconds |
145
- ./spec/server/views/job_list.erb_spec.rb[1:1:5] | passed | 0.01163 seconds |
146
- ./spec/server/views/job_list.erb_spec.rb[1:1:6] | passed | 0.01035 seconds |
147
- ./spec/server/views/job_list.erb_spec.rb[1:2] | passed | 0.02258 seconds |
148
- ./spec/server/views/job_list.erb_spec.rb[1:3] | passed | 0.02126 seconds |
149
- ./spec/server/views/job_list.erb_spec.rb[1:4] | passed | 0.55306 seconds |
1
+ example_id | status | run_time |
2
+ ---------------------------------------------------- | ------ | --------------- |
3
+ ./spec/approve/approval_key_list_spec.rb[1:1:1] | passed | 0.00156 seconds |
4
+ ./spec/approve/approval_key_list_spec.rb[1:1:2] | passed | 0.00137 seconds |
5
+ ./spec/approve/approval_key_list_spec.rb[1:1:3] | passed | 0.00124 seconds |
6
+ ./spec/approve/approval_key_list_spec.rb[1:2:1] | passed | 0.009 seconds |
7
+ ./spec/approve/approval_key_list_spec.rb[1:2:2] | passed | 0.00538 seconds |
8
+ ./spec/approve/approval_key_list_spec.rb[1:3:1] | passed | 0.00532 seconds |
9
+ ./spec/approve/approval_key_list_spec.rb[1:3:2] | passed | 0.00486 seconds |
10
+ ./spec/approve/approval_key_list_spec.rb[1:4:1] | passed | 0.00867 seconds |
11
+ ./spec/approve/approval_key_list_spec.rb[1:4:2] | passed | 0.00747 seconds |
12
+ ./spec/approve/approval_key_list_spec.rb[1:4:3] | passed | 0.00741 seconds |
13
+ ./spec/approve/approval_key_list_spec.rb[1:5:1] | passed | 0.02348 seconds |
14
+ ./spec/approve/approval_key_list_spec.rb[1:5:2] | passed | 0.03227 seconds |
15
+ ./spec/approve/approval_key_list_spec.rb[1:5:3] | passed | 0.02015 seconds |
16
+ ./spec/approve/approval_key_list_spec.rb[1:6:1] | passed | 0.04331 seconds |
17
+ ./spec/approve/approval_key_list_spec.rb[1:6:2] | passed | 0.03872 seconds |
18
+ ./spec/approve/approval_key_list_spec.rb[1:6:3] | passed | 0.02854 seconds |
19
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:1] | passed | 0.38407 seconds |
20
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:2] | passed | 0.36597 seconds |
21
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:3] | passed | 0.41783 seconds |
22
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:4] | passed | 0.42648 seconds |
23
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:5] | passed | 0.36745 seconds |
24
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:6] | passed | 0.4482 seconds |
25
+ ./spec/approve/approval_key_list_spec.rb[1:7:1:1:7] | passed | 0.38761 seconds |
26
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:1] | passed | 0.37038 seconds |
27
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:2] | passed | 0.39953 seconds |
28
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:3] | passed | 0.38793 seconds |
29
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:4] | passed | 0.36764 seconds |
30
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:5] | passed | 0.37099 seconds |
31
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:6] | passed | 0.37005 seconds |
32
+ ./spec/approve/approval_key_list_spec.rb[1:7:2:1:7] | passed | 0.40552 seconds |
33
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:1] | passed | 0.42181 seconds |
34
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:2] | passed | 0.40046 seconds |
35
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:3] | passed | 0.38817 seconds |
36
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:4] | passed | 0.41089 seconds |
37
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:5] | passed | 0.37541 seconds |
38
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:6] | passed | 0.42198 seconds |
39
+ ./spec/approve/approval_key_list_spec.rb[1:7:3:1:7] | passed | 0.38551 seconds |
40
+ ./spec/approve/approval_key_list_spec.rb[1:8:1] | passed | 0.04225 seconds |
41
+ ./spec/approve/approval_key_list_spec.rb[1:9:1] | passed | 0.04439 seconds |
42
+ ./spec/approve/cleaner_spec.rb[1:1:1] | passed | 0.01633 seconds |
43
+ ./spec/approve/cleaner_spec.rb[1:1:2] | passed | 0.01426 seconds |
44
+ ./spec/approve/cleaner_spec.rb[1:1:3] | passed | 0.01526 seconds |
45
+ ./spec/approve/cleaner_spec.rb[1:2:1] | passed | 0.02411 seconds |
46
+ ./spec/approve/cleaner_spec.rb[1:2:2] | passed | 0.02596 seconds |
47
+ ./spec/approve/cleaner_spec.rb[1:3:1] | passed | 0.02112 seconds |
48
+ ./spec/approve/pending_job_queue_spec.rb[1:1:1] | passed | 0.0158 seconds |
49
+ ./spec/approve/pending_job_queue_spec.rb[1:1:2] | passed | 0.01034 seconds |
50
+ ./spec/approve/pending_job_queue_spec.rb[1:1:3] | passed | 0.01497 seconds |
51
+ ./spec/approve/pending_job_queue_spec.rb[1:1:4] | passed | 0.0132 seconds |
52
+ ./spec/approve/pending_job_queue_spec.rb[1:1:5:1] | passed | 0.01409 seconds |
53
+ ./spec/approve/pending_job_queue_spec.rb[1:2:1] | passed | 0.01395 seconds |
54
+ ./spec/approve/pending_job_queue_spec.rb[1:2:2] | passed | 0.0124 seconds |
55
+ ./spec/approve/pending_job_queue_spec.rb[1:3:1] | passed | 0.00978 seconds |
56
+ ./spec/approve/pending_job_queue_spec.rb[1:3:2] | passed | 0.00826 seconds |
57
+ ./spec/approve/pending_job_queue_spec.rb[1:4:1] | passed | 0.0192 seconds |
58
+ ./spec/approve/pending_job_queue_spec.rb[1:4:2] | passed | 0.01561 seconds |
59
+ ./spec/approve/pending_job_queue_spec.rb[1:5:1] | passed | 0.01215 seconds |
60
+ ./spec/approve/pending_job_queue_spec.rb[1:5:2] | passed | 0.01077 seconds |
61
+ ./spec/approve/pending_job_queue_spec.rb[1:6:1] | passed | 0.01908 seconds |
62
+ ./spec/approve/pending_job_queue_spec.rb[1:6:2] | passed | 0.0094 seconds |
63
+ ./spec/approve/pending_job_queue_spec.rb[1:7:1] | passed | 0.01132 seconds |
64
+ ./spec/approve/pending_job_queue_spec.rb[1:7:2] | passed | 0.01024 seconds |
65
+ ./spec/approve/pending_job_queue_spec.rb[1:8:1] | passed | 0.01164 seconds |
66
+ ./spec/approve/pending_job_queue_spec.rb[1:8:2] | passed | 0.01837 seconds |
67
+ ./spec/approve/pending_job_queue_spec.rb[1:9:1] | passed | 0.01469 seconds |
68
+ ./spec/approve/pending_job_queue_spec.rb[1:9:2] | passed | 0.01503 seconds |
69
+ ./spec/approve/pending_job_queue_spec.rb[1:10:1] | passed | 0.01306 seconds |
70
+ ./spec/approve/pending_job_queue_spec.rb[1:10:2] | passed | 0.01822 seconds |
71
+ ./spec/approve/pending_job_queue_spec.rb[1:11:1] | passed | 0.03246 seconds |
72
+ ./spec/approve/pending_job_queue_spec.rb[1:11:2] | passed | 0.03153 seconds |
73
+ ./spec/approve/pending_job_queue_spec.rb[1:11:3] | passed | 0.02713 seconds |
74
+ ./spec/approve/pending_job_queue_spec.rb[1:11:4] | passed | 0.02476 seconds |
75
+ ./spec/approve/pending_job_queue_spec.rb[1:11:5] | passed | 0.02831 seconds |
76
+ ./spec/approve/pending_job_queue_spec.rb[1:12:1] | passed | 0.00874 seconds |
77
+ ./spec/approve/pending_job_queue_spec.rb[1:13:1] | passed | 0.01936 seconds |
78
+ ./spec/approve/pending_job_queue_spec.rb[1:14:1] | passed | 0.00438 seconds |
79
+ ./spec/approve/pending_job_queue_spec.rb[1:14:2] | passed | 0.01135 seconds |
80
+ ./spec/approve/pending_job_queue_spec.rb[1:14:3] | passed | 0.01363 seconds |
81
+ ./spec/approve/pending_job_spec.rb[1:1:1] | passed | 0.00512 seconds |
82
+ ./spec/approve/pending_job_spec.rb[1:1:2] | passed | 0.00385 seconds |
83
+ ./spec/approve/pending_job_spec.rb[1:1:3] | passed | 0.00416 seconds |
84
+ ./spec/approve/pending_job_spec.rb[1:1:4] | passed | 0.00457 seconds |
85
+ ./spec/approve/pending_job_spec.rb[1:1:5] | passed | 0.00771 seconds |
86
+ ./spec/approve/pending_job_spec.rb[1:1:6] | passed | 0.00483 seconds |
87
+ ./spec/approve/pending_job_spec.rb[1:1:7] | passed | 0.00623 seconds |
88
+ ./spec/approve/pending_job_spec.rb[1:2:1] | passed | 0.0066 seconds |
89
+ ./spec/approve/pending_job_spec.rb[1:2:2] | passed | 0.00222 seconds |
90
+ ./spec/approve/pending_job_spec.rb[1:2:3] | passed | 0.00103 seconds |
91
+ ./spec/approve/pending_job_spec.rb[1:2:4] | passed | 0.00096 seconds |
92
+ ./spec/approve/pending_job_spec.rb[1:2:5] | passed | 0.00116 seconds |
93
+ ./spec/approve/pending_job_spec.rb[1:3:1:1] | passed | 0.00817 seconds |
94
+ ./spec/approve/pending_job_spec.rb[1:3:1:2] | passed | 0.00907 seconds |
95
+ ./spec/approve/pending_job_spec.rb[1:3:1:3] | passed | 0.009 seconds |
96
+ ./spec/approve/pending_job_spec.rb[1:3:1:4] | passed | 0.00863 seconds |
97
+ ./spec/approve/pending_job_spec.rb[1:3:1:5] | passed | 0.00759 seconds |
98
+ ./spec/approve/pending_job_spec.rb[1:3:1:6] | passed | 0.00766 seconds |
99
+ ./spec/approve/pending_job_spec.rb[1:3:1:7] | passed | 0.00431 seconds |
100
+ ./spec/approve/pending_job_spec.rb[1:4:1:1] | passed | 0.00382 seconds |
101
+ ./spec/approve/pending_job_spec.rb[1:4:1:2] | passed | 0.00578 seconds |
102
+ ./spec/approve/pending_job_spec.rb[1:4:1:3] | passed | 0.00891 seconds |
103
+ ./spec/approve/pending_job_spec.rb[1:4:1:4] | passed | 0.00855 seconds |
104
+ ./spec/approve/pending_job_spec.rb[1:4:1:5] | passed | 0.01199 seconds |
105
+ ./spec/approve/pending_job_spec.rb[1:4:1:6] | passed | 0.00914 seconds |
106
+ ./spec/approve/pending_job_spec.rb[1:4:1:7] | passed | 0.00947 seconds |
107
+ ./spec/approve/pending_job_spec.rb[1:5:1] | passed | 0.00608 seconds |
108
+ ./spec/approve/pending_job_spec.rb[1:6:1] | passed | 0.5295 seconds |
109
+ ./spec/approve/pending_job_spec.rb[1:7:1] | passed | 0.01 seconds |
110
+ ./spec/approve/pending_job_spec.rb[1:7:2] | passed | 0.01112 seconds |
111
+ ./spec/approve/pending_job_spec.rb[1:7:3] | passed | 0.01308 seconds |
112
+ ./spec/approve/pending_job_spec.rb[1:8:1] | passed | 0.01168 seconds |
113
+ ./spec/approve/pending_job_spec.rb[1:8:2] | passed | 0.00508 seconds |
114
+ ./spec/approve/pending_job_spec.rb[1:8:3] | passed | 0.00651 seconds |
115
+ ./spec/approve/pending_job_spec.rb[1:8:4] | passed | 0.00356 seconds |
116
+ ./spec/approve/pending_job_spec.rb[1:8:5] | passed | 0.00788 seconds |
117
+ ./spec/approve_spec.rb[1:1] | passed | 0.00256 seconds |
118
+ ./spec/approve_spec.rb[1:2] | passed | 0.0077 seconds |
119
+ ./spec/approve_spec.rb[1:3] | passed | 0.00613 seconds |
120
+ ./spec/approve_spec.rb[1:4] | passed | 0.01586 seconds |
121
+ ./spec/approve_spec.rb[1:5] | passed | 0.00655 seconds |
122
+ ./spec/approve_spec.rb[1:6:1] | passed | 0.01812 seconds |
123
+ ./spec/approve_spec.rb[1:6:2] | passed | 0.01625 seconds |
124
+ ./spec/approve_spec.rb[1:6:3] | passed | 0.01958 seconds |
125
+ ./spec/approve_spec.rb[1:6:4] | passed | 0.02267 seconds |
126
+ ./spec/approve_spec.rb[1:6:5] | passed | 0.02132 seconds |
127
+ ./spec/approve_spec.rb[1:6:6] | passed | 0.01503 seconds |
128
+ ./spec/approve_spec.rb[1:7:1] | passed | 0.00331 seconds |
129
+ ./spec/approve_spec.rb[1:7:2] | passed | 0.01026 seconds |
130
+ ./spec/approve_spec.rb[1:8:1] | passed | 0.00358 seconds |
131
+ ./spec/approve_spec.rb[1:8:2] | passed | 0.01909 seconds |
132
+ ./spec/server/public/approve.css_spec.rb[1:1] | passed | 0.00306 seconds |
133
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:1] | passed | 0.01294 seconds |
134
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:2] | passed | 0.01354 seconds |
135
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:3] | passed | 0.01807 seconds |
136
+ ./spec/server/views/approval_keys.erb_spec.rb[1:1:4] | passed | 0.01253 seconds |
137
+ ./spec/server/views/approval_keys.erb_spec.rb[1:2] | passed | 0.02929 seconds |
138
+ ./spec/server/views/approval_keys.erb_spec.rb[1:3] | passed | 0.02099 seconds |
139
+ ./spec/server/views/job_details.erb_spec.rb[1:1] | passed | 0.01741 seconds |
140
+ ./spec/server/views/job_details.erb_spec.rb[1:2] | passed | 0.01278 seconds |
141
+ ./spec/server/views/job_details.erb_spec.rb[1:3] | passed | 0.02099 seconds |
142
+ ./spec/server/views/job_details.erb_spec.rb[1:4] | passed | 0.02435 seconds |
143
+ ./spec/server/views/job_details.erb_spec.rb[1:5] | passed | 0.01985 seconds |
144
+ ./spec/server/views/job_details.erb_spec.rb[1:6] | passed | 0.02091 seconds |
145
+ ./spec/server/views/job_list.erb_spec.rb[1:1:1] | passed | 0.0268 seconds |
146
+ ./spec/server/views/job_list.erb_spec.rb[1:1:2] | passed | 0.0136 seconds |
147
+ ./spec/server/views/job_list.erb_spec.rb[1:1:3] | passed | 0.02655 seconds |
148
+ ./spec/server/views/job_list.erb_spec.rb[1:1:4] | passed | 0.02412 seconds |
149
+ ./spec/server/views/job_list.erb_spec.rb[1:1:5] | passed | 0.01678 seconds |
150
+ ./spec/server/views/job_list.erb_spec.rb[1:1:6] | passed | 0.014 seconds |
151
+ ./spec/server/views/job_list.erb_spec.rb[1:2] | passed | 0.07078 seconds |
152
+ ./spec/server/views/job_list.erb_spec.rb[1:3] | passed | 0.02701 seconds |
153
+ ./spec/server/views/job_list.erb_spec.rb[1:4] | passed | 0.02225 seconds |
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-approve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody