resque-approve 0.0.13 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque/plugins/approve/cleaner.rb +4 -2
- data/lib/resque/plugins/approve/pending_job.rb +4 -2
- data/lib/resque/plugins/approve/pending_job_queue.rb +3 -1
- data/lib/resque/plugins/version.rb +1 -1
- data/lib/resque/server/views/approval_keys.erb +1 -1
- data/lib/resque/server/views/job_details.erb +1 -1
- data/lib/resque/server/views/job_list.erb +6 -6
- data/lib/resque-approve.rb +1 -0
- data/spec/examples.txt +182 -182
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12e3ee1410ba6d9f5c1fe2f959ed1a1289bfbca6bcbf61160b8ab7265712bfcd
|
4
|
+
data.tar.gz: d705f9088b55cfa4ee57ef0f74281f2b94cb9804e8faae52d4b82bbf98469a0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77207c74f536a87b9d7c5dc462663c8fe3c260be78b66ba710a28d5adda67bd0a857d216376855ec1d5cc79162e1ee908b7f714ae8bdea7479df5f0995bf87e7
|
7
|
+
data.tar.gz: 9f78262cbd9897e2fc984958f339a9530065270bd4dc52fcc3d2b03531fbf55b2f6e198e2b4bca21bfc0f7638e7cecfa566a01755e425746a08dcec72d844ab3
|
@@ -33,8 +33,10 @@ module Resque
|
|
33
33
|
def cleanup_queues
|
34
34
|
key_list = Resque::Plugins::Approve::ApprovalKeyList.new
|
35
35
|
|
36
|
-
key_list.
|
37
|
-
|
36
|
+
key_list.job_queues.map do |pending_job_queue|
|
37
|
+
next unless pending_job_queue.num_jobs.zero?
|
38
|
+
|
39
|
+
key_list.remove_key(pending_job_queue.approval_key)
|
38
40
|
end
|
39
41
|
end
|
40
42
|
end
|
@@ -134,6 +134,8 @@ module Resque
|
|
134
134
|
end
|
135
135
|
|
136
136
|
def enqueue_job
|
137
|
+
return if klass.blank?
|
138
|
+
|
137
139
|
return_value = if approval_at.present?
|
138
140
|
Resque.enqueue_at_with_queue approval_queue, approval_at, klass, *compressed_args(args)
|
139
141
|
else
|
@@ -208,7 +210,7 @@ module Resque
|
|
208
210
|
end
|
209
211
|
|
210
212
|
def klass
|
211
|
-
@klass ||= class_name.
|
213
|
+
@klass ||= class_name.presence&.safe_constantize
|
212
214
|
end
|
213
215
|
|
214
216
|
def job_key
|
@@ -288,7 +290,7 @@ module Resque
|
|
288
290
|
def described_class
|
289
291
|
return if class_name.blank?
|
290
292
|
|
291
|
-
class_name.
|
293
|
+
class_name.safe_constantize
|
292
294
|
rescue StandardError
|
293
295
|
nil
|
294
296
|
end
|
@@ -148,7 +148,9 @@ module Resque
|
|
148
148
|
private
|
149
149
|
|
150
150
|
def remove_approval_key(job)
|
151
|
-
|
151
|
+
klass = job.class_name.presence&.safe_constantize
|
152
|
+
|
153
|
+
return if klass && !klass.auto_delete_approval_key
|
152
154
|
|
153
155
|
ApprovalKeyList.new.remove_key(approval_key) if num_jobs.zero?
|
154
156
|
end
|
@@ -43,11 +43,6 @@
|
|
43
43
|
|
44
44
|
<br/>
|
45
45
|
|
46
|
-
<form method="POST" action="<%= u("approve/reset_running") %>?<%=
|
47
|
-
{ approval_key: pending_queue.approval_key }.to_param %>">
|
48
|
-
<input type="submit" name="" value="Reset Running"/>
|
49
|
-
</form>
|
50
|
-
|
51
46
|
<form method="POST" action="<%= u("approve/delete_queue") %>?<%=
|
52
47
|
{ approval_key: pending_queue.approval_key }.to_param %>">
|
53
48
|
<input type="submit" name="" value="Delete All"/>
|
@@ -69,6 +64,11 @@
|
|
69
64
|
</form>
|
70
65
|
<% end %>
|
71
66
|
|
67
|
+
<form method="POST" action="<%= u("approve/reset_running") %>?<%=
|
68
|
+
{ approval_key: pending_queue.approval_key }.to_param %>">
|
69
|
+
<input type="submit" name="" value="Reset Running"/>
|
70
|
+
</form>
|
71
|
+
|
72
72
|
<% if pending_queue.paused? %>
|
73
73
|
<form method="POST" action="<%= u("approve/resume") %>?<%=
|
74
74
|
{ approval_key: pending_queue.approval_key }.to_param %>">
|
@@ -85,6 +85,6 @@
|
|
85
85
|
<br/>
|
86
86
|
<div>
|
87
87
|
<p>
|
88
|
-
Approval v<%= VERSION %>
|
88
|
+
Approval v<%= Resque::Plugins::Approve::VERSION %>
|
89
89
|
</p>
|
90
90
|
</div>
|
data/lib/resque-approve.rb
CHANGED
@@ -8,5 +8,6 @@ require File.expand_path(File.join("resque", "plugins", "approve", "approval_key
|
|
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
10
|
require File.expand_path(File.join("resque", "plugins", "approve", "compressable_auto_approve_next"), File.dirname(__FILE__))
|
11
|
+
require File.expand_path(File.join("resque", "plugins", "version"), File.dirname(__FILE__))
|
11
12
|
|
12
13
|
require File.expand_path(File.join("resque", "plugins", "approve"), File.dirname(__FILE__))
|
data/spec/examples.txt
CHANGED
@@ -1,184 +1,184 @@
|
|
1
1
|
example_id | status | run_time |
|
2
2
|
---------------------------------------------------- | ------ | --------------- |
|
3
|
-
./spec/approve/approval_key_list_spec.rb[1:1:1] | passed | 0.
|
4
|
-
./spec/approve/approval_key_list_spec.rb[1:1:2] | passed | 0.
|
5
|
-
./spec/approve/approval_key_list_spec.rb[1:1:3] | passed | 0.
|
6
|
-
./spec/approve/approval_key_list_spec.rb[1:2:1] | passed | 0.
|
7
|
-
./spec/approve/approval_key_list_spec.rb[1:2:2] | passed | 0.
|
8
|
-
./spec/approve/approval_key_list_spec.rb[1:3:1] | passed | 0.
|
9
|
-
./spec/approve/approval_key_list_spec.rb[1:3:2] | passed | 0.
|
10
|
-
./spec/approve/approval_key_list_spec.rb[1:4:1] | passed | 0.
|
11
|
-
./spec/approve/approval_key_list_spec.rb[1:4:2] | passed | 0.
|
12
|
-
./spec/approve/approval_key_list_spec.rb[1:4:3] | passed | 0.
|
13
|
-
./spec/approve/approval_key_list_spec.rb[1:5:1] | passed | 0.
|
14
|
-
./spec/approve/approval_key_list_spec.rb[1:5:2] | passed | 0.
|
15
|
-
./spec/approve/approval_key_list_spec.rb[1:5:3] | passed | 0.
|
16
|
-
./spec/approve/approval_key_list_spec.rb[1:6:1] | passed | 0.
|
17
|
-
./spec/approve/approval_key_list_spec.rb[1:6:2] | passed | 0.
|
18
|
-
./spec/approve/approval_key_list_spec.rb[1:6:3] | passed | 0.
|
19
|
-
./spec/approve/approval_key_list_spec.rb[1:7:1:1:1] | passed | 0.
|
20
|
-
./spec/approve/approval_key_list_spec.rb[1:7:1:1:2] | passed | 0.
|
21
|
-
./spec/approve/approval_key_list_spec.rb[1:7:1:1:3] | passed | 0.
|
22
|
-
./spec/approve/approval_key_list_spec.rb[1:7:1:1:4] | passed | 0.
|
23
|
-
./spec/approve/approval_key_list_spec.rb[1:7:1:1:5] | passed | 0.
|
24
|
-
./spec/approve/approval_key_list_spec.rb[1:7:1:1:6] | passed | 0.
|
25
|
-
./spec/approve/approval_key_list_spec.rb[1:7:1:1:7] | passed | 0.
|
26
|
-
./spec/approve/approval_key_list_spec.rb[1:7:2:1:1] | passed | 0.
|
27
|
-
./spec/approve/approval_key_list_spec.rb[1:7:2:1:2] | passed | 0.
|
28
|
-
./spec/approve/approval_key_list_spec.rb[1:7:2:1:3] | passed | 0.
|
29
|
-
./spec/approve/approval_key_list_spec.rb[1:7:2:1:4] | passed | 0.
|
30
|
-
./spec/approve/approval_key_list_spec.rb[1:7:2:1:5] | passed | 0.
|
31
|
-
./spec/approve/approval_key_list_spec.rb[1:7:2:1:6] | passed | 0.
|
32
|
-
./spec/approve/approval_key_list_spec.rb[1:7:2:1:7] | passed | 0.
|
33
|
-
./spec/approve/approval_key_list_spec.rb[1:7:3:1:1] | passed | 0.
|
34
|
-
./spec/approve/approval_key_list_spec.rb[1:7:3:1:2] | passed | 0.
|
35
|
-
./spec/approve/approval_key_list_spec.rb[1:7:3:1:3] | passed | 0.
|
36
|
-
./spec/approve/approval_key_list_spec.rb[1:7:3:1:4] | passed | 0.
|
37
|
-
./spec/approve/approval_key_list_spec.rb[1:7:3:1:5] | passed | 0.
|
38
|
-
./spec/approve/approval_key_list_spec.rb[1:7:3:1:6] | passed | 0.
|
39
|
-
./spec/approve/approval_key_list_spec.rb[1:7:3:1:7] | passed | 0.
|
40
|
-
./spec/approve/approval_key_list_spec.rb[1:8:1] | passed |
|
41
|
-
./spec/approve/approval_key_list_spec.rb[1:9:1] | passed | 0.
|
42
|
-
./spec/approve/cleaner_spec.rb[1:1:1] | passed | 0.
|
43
|
-
./spec/approve/cleaner_spec.rb[1:1:2] | passed | 0.
|
44
|
-
./spec/approve/cleaner_spec.rb[1:1:3] | passed | 0.
|
45
|
-
./spec/approve/cleaner_spec.rb[1:2:1] | passed | 0.
|
46
|
-
./spec/approve/cleaner_spec.rb[1:2:2] | passed | 0.
|
47
|
-
./spec/approve/cleaner_spec.rb[1:3:1] | passed | 0.
|
48
|
-
./spec/approve/pending_job_queue_spec.rb[1:1:1] | passed | 0.
|
49
|
-
./spec/approve/pending_job_queue_spec.rb[1:1:2] | passed | 0.
|
50
|
-
./spec/approve/pending_job_queue_spec.rb[1:1:3] | passed | 0.
|
51
|
-
./spec/approve/pending_job_queue_spec.rb[1:1:4] | passed | 0.
|
52
|
-
./spec/approve/pending_job_queue_spec.rb[1:1:5:1] | passed | 0.
|
53
|
-
./spec/approve/pending_job_queue_spec.rb[1:2:1] | passed | 0.
|
54
|
-
./spec/approve/pending_job_queue_spec.rb[1:2:2] | passed | 0.
|
55
|
-
./spec/approve/pending_job_queue_spec.rb[1:3:1] | passed | 0.
|
56
|
-
./spec/approve/pending_job_queue_spec.rb[1:3:2] | passed | 0.
|
57
|
-
./spec/approve/pending_job_queue_spec.rb[1:4:1] | passed | 0.
|
58
|
-
./spec/approve/pending_job_queue_spec.rb[1:4:2] | passed | 0.
|
59
|
-
./spec/approve/pending_job_queue_spec.rb[1:5:1] | passed | 0.
|
60
|
-
./spec/approve/pending_job_queue_spec.rb[1:5:2] | passed | 0.
|
61
|
-
./spec/approve/pending_job_queue_spec.rb[1:6:1] | passed | 0.
|
62
|
-
./spec/approve/pending_job_queue_spec.rb[1:6:2] | passed | 0.
|
63
|
-
./spec/approve/pending_job_queue_spec.rb[1:7:1] | passed | 0.
|
64
|
-
./spec/approve/pending_job_queue_spec.rb[1:7:2] | passed | 0.
|
65
|
-
./spec/approve/pending_job_queue_spec.rb[1:8:1] | passed | 0.
|
66
|
-
./spec/approve/pending_job_queue_spec.rb[1:8:2] | passed | 0.
|
67
|
-
./spec/approve/pending_job_queue_spec.rb[1:9:1] | passed | 0.
|
68
|
-
./spec/approve/pending_job_queue_spec.rb[1:9:2] | passed | 0.
|
69
|
-
./spec/approve/pending_job_queue_spec.rb[1:10:1] | passed | 0.
|
70
|
-
./spec/approve/pending_job_queue_spec.rb[1:10:2] | passed | 0.
|
71
|
-
./spec/approve/pending_job_queue_spec.rb[1:11:1] | passed | 0.
|
72
|
-
./spec/approve/pending_job_queue_spec.rb[1:11:2] | passed | 0.
|
73
|
-
./spec/approve/pending_job_queue_spec.rb[1:11:3] | passed | 0.
|
74
|
-
./spec/approve/pending_job_queue_spec.rb[1:11:4] | passed | 0.
|
75
|
-
./spec/approve/pending_job_queue_spec.rb[1:11:5] | passed | 0.
|
76
|
-
./spec/approve/pending_job_queue_spec.rb[1:12:1] | passed | 0.
|
77
|
-
./spec/approve/pending_job_queue_spec.rb[1:13:1] | passed | 0.
|
78
|
-
./spec/approve/pending_job_queue_spec.rb[1:14:1] | passed | 0.
|
79
|
-
./spec/approve/pending_job_queue_spec.rb[1:14:2] | passed | 0.
|
80
|
-
./spec/approve/pending_job_queue_spec.rb[1:14:3] | passed | 0.
|
81
|
-
./spec/approve/pending_job_queue_spec.rb[1:14:4] | passed | 0.
|
82
|
-
./spec/approve/pending_job_spec.rb[1:1:1] | passed | 0.
|
83
|
-
./spec/approve/pending_job_spec.rb[1:1:2] | passed | 0.
|
84
|
-
./spec/approve/pending_job_spec.rb[1:1:3] | passed | 0.
|
85
|
-
./spec/approve/pending_job_spec.rb[1:1:4] | passed | 0.
|
86
|
-
./spec/approve/pending_job_spec.rb[1:1:5] | passed | 0.
|
87
|
-
./spec/approve/pending_job_spec.rb[1:1:6] | passed | 0.
|
88
|
-
./spec/approve/pending_job_spec.rb[1:1:7] | passed | 0.
|
89
|
-
./spec/approve/pending_job_spec.rb[1:1:8] | passed | 0.
|
90
|
-
./spec/approve/pending_job_spec.rb[1:1:9] | passed | 0.
|
91
|
-
./spec/approve/pending_job_spec.rb[1:2:1] | passed | 0.
|
92
|
-
./spec/approve/pending_job_spec.rb[1:2:2] | passed | 0.
|
93
|
-
./spec/approve/pending_job_spec.rb[1:2:3] | passed | 0.
|
94
|
-
./spec/approve/pending_job_spec.rb[1:2:4] | passed | 0.
|
95
|
-
./spec/approve/pending_job_spec.rb[1:2:5] | passed | 0.
|
96
|
-
./spec/approve/pending_job_spec.rb[1:3:1:1] | passed | 0.
|
97
|
-
./spec/approve/pending_job_spec.rb[1:3:1:2] | passed | 0.
|
98
|
-
./spec/approve/pending_job_spec.rb[1:3:1:3] | passed | 0.
|
99
|
-
./spec/approve/pending_job_spec.rb[1:3:1:4] | passed | 0.
|
100
|
-
./spec/approve/pending_job_spec.rb[1:3:1:5] | passed | 0.
|
101
|
-
./spec/approve/pending_job_spec.rb[1:3:1:6] | passed | 0.
|
102
|
-
./spec/approve/pending_job_spec.rb[1:3:1:7] | passed | 0.
|
103
|
-
./spec/approve/pending_job_spec.rb[1:4:1:1] | passed | 0.
|
104
|
-
./spec/approve/pending_job_spec.rb[1:4:1:2] | passed | 0.
|
105
|
-
./spec/approve/pending_job_spec.rb[1:4:1:3] | passed | 0.
|
106
|
-
./spec/approve/pending_job_spec.rb[1:4:1:4] | passed | 0.
|
107
|
-
./spec/approve/pending_job_spec.rb[1:4:1:5] | passed | 0.
|
108
|
-
./spec/approve/pending_job_spec.rb[1:4:1:6] | passed | 0.
|
109
|
-
./spec/approve/pending_job_spec.rb[1:4:1:7] | passed | 0.
|
110
|
-
./spec/approve/pending_job_spec.rb[1:5:1] | passed | 0.
|
111
|
-
./spec/approve/pending_job_spec.rb[1:6:1] | passed | 0.
|
112
|
-
./spec/approve/pending_job_spec.rb[1:6:2] | passed | 0.
|
113
|
-
./spec/approve/pending_job_spec.rb[1:6:3:1] | passed | 0.
|
114
|
-
./spec/approve/pending_job_spec.rb[1:6:3:2] | passed | 0.
|
115
|
-
./spec/approve/pending_job_spec.rb[1:6:3:3] | passed | 0.
|
116
|
-
./spec/approve/pending_job_spec.rb[1:6:3:4] | passed | 0.
|
117
|
-
./spec/approve/pending_job_spec.rb[1:6:3:5] | passed | 0.
|
118
|
-
./spec/approve/pending_job_spec.rb[1:6:3:6] | passed | 0.
|
119
|
-
./spec/approve/pending_job_spec.rb[1:6:3:7] | passed | 0.
|
120
|
-
./spec/approve/pending_job_spec.rb[1:6:3:8] | passed | 0.
|
121
|
-
./spec/approve/pending_job_spec.rb[1:6:3:9] | passed | 0.
|
122
|
-
./spec/approve/pending_job_spec.rb[1:6:3:10] | passed | 0.
|
123
|
-
./spec/approve/pending_job_spec.rb[1:6:3:11] | passed | 0.
|
124
|
-
./spec/approve/pending_job_spec.rb[1:7:1] | passed | 0.
|
125
|
-
./spec/approve/pending_job_spec.rb[1:7:2] | passed | 0.
|
126
|
-
./spec/approve/pending_job_spec.rb[1:7:3] | passed | 0.
|
127
|
-
./spec/approve/pending_job_spec.rb[1:8:1] | passed | 0.
|
128
|
-
./spec/approve/pending_job_spec.rb[1:8:2] | passed | 0.
|
129
|
-
./spec/approve/pending_job_spec.rb[1:8:3] | passed | 0.
|
130
|
-
./spec/approve/pending_job_spec.rb[1:8:4] | passed | 0.
|
131
|
-
./spec/approve/pending_job_spec.rb[1:8:5] | passed | 0.
|
132
|
-
./spec/approve/pending_job_spec.rb[1:9:1] | passed |
|
133
|
-
./spec/approve/pending_job_spec.rb[1:9:2:1] | passed | 0.
|
134
|
-
./spec/approve/pending_job_spec.rb[1:10:1:1] | passed | 0.
|
135
|
-
./spec/approve/pending_job_spec.rb[1:11:1] | passed | 0.
|
136
|
-
./spec/approve/pending_job_spec.rb[1:11:2:1] | passed | 0.
|
137
|
-
./spec/approve/pending_job_spec.rb[1:12:1] | passed | 0.
|
138
|
-
./spec/approve/pending_job_spec.rb[1:12:2] | passed | 0.
|
139
|
-
./spec/approve/pending_job_spec.rb[1:12:3:1] | passed | 0.
|
140
|
-
./spec/approve_spec.rb[1:1] | passed | 0.
|
141
|
-
./spec/approve_spec.rb[1:2] | passed | 0.
|
142
|
-
./spec/approve_spec.rb[1:3] | passed | 0.
|
143
|
-
./spec/approve_spec.rb[1:4] | passed | 0.
|
144
|
-
./spec/approve_spec.rb[1:5] | passed | 0.
|
145
|
-
./spec/approve_spec.rb[1:6] | passed | 0.
|
146
|
-
./spec/approve_spec.rb[1:7] | passed | 0.
|
147
|
-
./spec/approve_spec.rb[1:8:1] | passed | 0.
|
148
|
-
./spec/approve_spec.rb[1:8:2] | passed | 0.
|
149
|
-
./spec/approve_spec.rb[1:8:3] | passed | 0.
|
150
|
-
./spec/approve_spec.rb[1:8:4] | passed | 0.
|
151
|
-
./spec/approve_spec.rb[1:8:5] | passed | 0.
|
152
|
-
./spec/approve_spec.rb[1:8:6] | passed | 0.
|
153
|
-
./spec/approve_spec.rb[1:9:1] | passed | 0.
|
154
|
-
./spec/approve_spec.rb[1:9:2] | passed | 0.
|
155
|
-
./spec/approve_spec.rb[1:10:1] | passed | 0.
|
156
|
-
./spec/approve_spec.rb[1:10:2] | passed | 0.
|
157
|
-
./spec/approve_spec.rb[1:11:1] | passed | 0.
|
158
|
-
./spec/approve_spec.rb[1:11:2] | passed | 0.
|
159
|
-
./spec/approve_spec.rb[1:11:3] | passed | 0.
|
160
|
-
./spec/approve_spec.rb[1:11:4] | passed | 0.
|
161
|
-
./spec/approve_spec.rb[1:11:5] | passed | 0.
|
162
|
-
./spec/server/public/approve.css_spec.rb[1:1] | passed | 0.
|
163
|
-
./spec/server/views/approval_keys.erb_spec.rb[1:1:1] | passed | 0.
|
164
|
-
./spec/server/views/approval_keys.erb_spec.rb[1:1:2] | passed | 0.
|
165
|
-
./spec/server/views/approval_keys.erb_spec.rb[1:1:3] | passed | 0.
|
166
|
-
./spec/server/views/approval_keys.erb_spec.rb[1:1:4] | passed | 0.
|
167
|
-
./spec/server/views/approval_keys.erb_spec.rb[1:2] | passed | 0.
|
168
|
-
./spec/server/views/approval_keys.erb_spec.rb[1:3] | passed | 0.
|
169
|
-
./spec/server/views/job_details.erb_spec.rb[1:1] | passed | 0.
|
170
|
-
./spec/server/views/job_details.erb_spec.rb[1:2] | passed | 0.
|
171
|
-
./spec/server/views/job_details.erb_spec.rb[1:3] | passed | 0.
|
172
|
-
./spec/server/views/job_details.erb_spec.rb[1:4] | passed | 0.
|
173
|
-
./spec/server/views/job_details.erb_spec.rb[1:5] | passed | 0.
|
174
|
-
./spec/server/views/job_details.erb_spec.rb[1:6] | passed | 0.
|
175
|
-
./spec/server/views/job_list.erb_spec.rb[1:1:1] | passed | 0.
|
176
|
-
./spec/server/views/job_list.erb_spec.rb[1:1:2] | passed | 0.
|
177
|
-
./spec/server/views/job_list.erb_spec.rb[1:1:3] | passed | 0.
|
178
|
-
./spec/server/views/job_list.erb_spec.rb[1:1:4] | passed | 0.
|
179
|
-
./spec/server/views/job_list.erb_spec.rb[1:1:5] | passed | 0.
|
180
|
-
./spec/server/views/job_list.erb_spec.rb[1:1:6] | passed | 0.
|
181
|
-
./spec/server/views/job_list.erb_spec.rb[1:1:7] | passed | 0.
|
182
|
-
./spec/server/views/job_list.erb_spec.rb[1:2] | passed | 0.
|
183
|
-
./spec/server/views/job_list.erb_spec.rb[1:3] | passed | 0.
|
184
|
-
./spec/server/views/job_list.erb_spec.rb[1:4] | passed | 0.
|
3
|
+
./spec/approve/approval_key_list_spec.rb[1:1:1] | passed | 0.00246 seconds |
|
4
|
+
./spec/approve/approval_key_list_spec.rb[1:1:2] | passed | 0.00176 seconds |
|
5
|
+
./spec/approve/approval_key_list_spec.rb[1:1:3] | passed | 0.00178 seconds |
|
6
|
+
./spec/approve/approval_key_list_spec.rb[1:2:1] | passed | 0.02832 seconds |
|
7
|
+
./spec/approve/approval_key_list_spec.rb[1:2:2] | passed | 0.00688 seconds |
|
8
|
+
./spec/approve/approval_key_list_spec.rb[1:3:1] | passed | 0.00793 seconds |
|
9
|
+
./spec/approve/approval_key_list_spec.rb[1:3:2] | passed | 0.00692 seconds |
|
10
|
+
./spec/approve/approval_key_list_spec.rb[1:4:1] | passed | 0.01068 seconds |
|
11
|
+
./spec/approve/approval_key_list_spec.rb[1:4:2] | passed | 0.00606 seconds |
|
12
|
+
./spec/approve/approval_key_list_spec.rb[1:4:3] | passed | 0.02421 seconds |
|
13
|
+
./spec/approve/approval_key_list_spec.rb[1:5:1] | passed | 0.04227 seconds |
|
14
|
+
./spec/approve/approval_key_list_spec.rb[1:5:2] | passed | 0.03826 seconds |
|
15
|
+
./spec/approve/approval_key_list_spec.rb[1:5:3] | passed | 0.0236 seconds |
|
16
|
+
./spec/approve/approval_key_list_spec.rb[1:6:1] | passed | 0.1215 seconds |
|
17
|
+
./spec/approve/approval_key_list_spec.rb[1:6:2] | passed | 0.05024 seconds |
|
18
|
+
./spec/approve/approval_key_list_spec.rb[1:6:3] | passed | 0.05374 seconds |
|
19
|
+
./spec/approve/approval_key_list_spec.rb[1:7:1:1:1] | passed | 0.81148 seconds |
|
20
|
+
./spec/approve/approval_key_list_spec.rb[1:7:1:1:2] | passed | 0.7765 seconds |
|
21
|
+
./spec/approve/approval_key_list_spec.rb[1:7:1:1:3] | passed | 0.75012 seconds |
|
22
|
+
./spec/approve/approval_key_list_spec.rb[1:7:1:1:4] | passed | 0.77807 seconds |
|
23
|
+
./spec/approve/approval_key_list_spec.rb[1:7:1:1:5] | passed | 0.71779 seconds |
|
24
|
+
./spec/approve/approval_key_list_spec.rb[1:7:1:1:6] | passed | 0.7964 seconds |
|
25
|
+
./spec/approve/approval_key_list_spec.rb[1:7:1:1:7] | passed | 0.76893 seconds |
|
26
|
+
./spec/approve/approval_key_list_spec.rb[1:7:2:1:1] | passed | 0.87167 seconds |
|
27
|
+
./spec/approve/approval_key_list_spec.rb[1:7:2:1:2] | passed | 0.77449 seconds |
|
28
|
+
./spec/approve/approval_key_list_spec.rb[1:7:2:1:3] | passed | 0.81943 seconds |
|
29
|
+
./spec/approve/approval_key_list_spec.rb[1:7:2:1:4] | passed | 0.79686 seconds |
|
30
|
+
./spec/approve/approval_key_list_spec.rb[1:7:2:1:5] | passed | 0.6719 seconds |
|
31
|
+
./spec/approve/approval_key_list_spec.rb[1:7:2:1:6] | passed | 0.71311 seconds |
|
32
|
+
./spec/approve/approval_key_list_spec.rb[1:7:2:1:7] | passed | 0.89121 seconds |
|
33
|
+
./spec/approve/approval_key_list_spec.rb[1:7:3:1:1] | passed | 0.82738 seconds |
|
34
|
+
./spec/approve/approval_key_list_spec.rb[1:7:3:1:2] | passed | 0.74947 seconds |
|
35
|
+
./spec/approve/approval_key_list_spec.rb[1:7:3:1:3] | passed | 0.79688 seconds |
|
36
|
+
./spec/approve/approval_key_list_spec.rb[1:7:3:1:4] | passed | 0.82828 seconds |
|
37
|
+
./spec/approve/approval_key_list_spec.rb[1:7:3:1:5] | passed | 0.76266 seconds |
|
38
|
+
./spec/approve/approval_key_list_spec.rb[1:7:3:1:6] | passed | 0.78165 seconds |
|
39
|
+
./spec/approve/approval_key_list_spec.rb[1:7:3:1:7] | passed | 0.75445 seconds |
|
40
|
+
./spec/approve/approval_key_list_spec.rb[1:8:1] | passed | 2.11 seconds |
|
41
|
+
./spec/approve/approval_key_list_spec.rb[1:9:1] | passed | 0.0905 seconds |
|
42
|
+
./spec/approve/cleaner_spec.rb[1:1:1] | passed | 0.04154 seconds |
|
43
|
+
./spec/approve/cleaner_spec.rb[1:1:2] | passed | 0.03829 seconds |
|
44
|
+
./spec/approve/cleaner_spec.rb[1:1:3] | passed | 0.01997 seconds |
|
45
|
+
./spec/approve/cleaner_spec.rb[1:2:1] | passed | 0.05684 seconds |
|
46
|
+
./spec/approve/cleaner_spec.rb[1:2:2] | passed | 0.04816 seconds |
|
47
|
+
./spec/approve/cleaner_spec.rb[1:3:1] | passed | 0.04342 seconds |
|
48
|
+
./spec/approve/pending_job_queue_spec.rb[1:1:1] | passed | 0.03389 seconds |
|
49
|
+
./spec/approve/pending_job_queue_spec.rb[1:1:2] | passed | 0.03005 seconds |
|
50
|
+
./spec/approve/pending_job_queue_spec.rb[1:1:3] | passed | 0.01382 seconds |
|
51
|
+
./spec/approve/pending_job_queue_spec.rb[1:1:4] | passed | 0.01456 seconds |
|
52
|
+
./spec/approve/pending_job_queue_spec.rb[1:1:5:1] | passed | 0.01594 seconds |
|
53
|
+
./spec/approve/pending_job_queue_spec.rb[1:2:1] | passed | 0.03265 seconds |
|
54
|
+
./spec/approve/pending_job_queue_spec.rb[1:2:2] | passed | 0.02255 seconds |
|
55
|
+
./spec/approve/pending_job_queue_spec.rb[1:3:1] | passed | 0.03126 seconds |
|
56
|
+
./spec/approve/pending_job_queue_spec.rb[1:3:2] | passed | 0.01749 seconds |
|
57
|
+
./spec/approve/pending_job_queue_spec.rb[1:4:1] | passed | 0.0363 seconds |
|
58
|
+
./spec/approve/pending_job_queue_spec.rb[1:4:2] | passed | 0.01404 seconds |
|
59
|
+
./spec/approve/pending_job_queue_spec.rb[1:5:1] | passed | 0.01502 seconds |
|
60
|
+
./spec/approve/pending_job_queue_spec.rb[1:5:2] | passed | 0.03029 seconds |
|
61
|
+
./spec/approve/pending_job_queue_spec.rb[1:6:1] | passed | 0.02293 seconds |
|
62
|
+
./spec/approve/pending_job_queue_spec.rb[1:6:2] | passed | 0.02845 seconds |
|
63
|
+
./spec/approve/pending_job_queue_spec.rb[1:7:1] | passed | 0.01362 seconds |
|
64
|
+
./spec/approve/pending_job_queue_spec.rb[1:7:2] | passed | 0.02937 seconds |
|
65
|
+
./spec/approve/pending_job_queue_spec.rb[1:8:1] | passed | 0.03223 seconds |
|
66
|
+
./spec/approve/pending_job_queue_spec.rb[1:8:2] | passed | 0.01521 seconds |
|
67
|
+
./spec/approve/pending_job_queue_spec.rb[1:9:1] | passed | 0.0303 seconds |
|
68
|
+
./spec/approve/pending_job_queue_spec.rb[1:9:2] | passed | 0.0161 seconds |
|
69
|
+
./spec/approve/pending_job_queue_spec.rb[1:10:1] | passed | 0.01182 seconds |
|
70
|
+
./spec/approve/pending_job_queue_spec.rb[1:10:2] | passed | 0.0304 seconds |
|
71
|
+
./spec/approve/pending_job_queue_spec.rb[1:11:1] | passed | 0.05675 seconds |
|
72
|
+
./spec/approve/pending_job_queue_spec.rb[1:11:2] | passed | 0.05485 seconds |
|
73
|
+
./spec/approve/pending_job_queue_spec.rb[1:11:3] | passed | 0.04507 seconds |
|
74
|
+
./spec/approve/pending_job_queue_spec.rb[1:11:4] | passed | 0.04797 seconds |
|
75
|
+
./spec/approve/pending_job_queue_spec.rb[1:11:5] | passed | 0.09546 seconds |
|
76
|
+
./spec/approve/pending_job_queue_spec.rb[1:12:1] | passed | 0.00605 seconds |
|
77
|
+
./spec/approve/pending_job_queue_spec.rb[1:13:1] | passed | 0.03037 seconds |
|
78
|
+
./spec/approve/pending_job_queue_spec.rb[1:14:1] | passed | 0.00931 seconds |
|
79
|
+
./spec/approve/pending_job_queue_spec.rb[1:14:2] | passed | 0.01215 seconds |
|
80
|
+
./spec/approve/pending_job_queue_spec.rb[1:14:3] | passed | 0.01582 seconds |
|
81
|
+
./spec/approve/pending_job_queue_spec.rb[1:14:4] | passed | 0.03115 seconds |
|
82
|
+
./spec/approve/pending_job_spec.rb[1:1:1] | passed | 0.0064 seconds |
|
83
|
+
./spec/approve/pending_job_spec.rb[1:1:2] | passed | 0.00747 seconds |
|
84
|
+
./spec/approve/pending_job_spec.rb[1:1:3] | passed | 0.00649 seconds |
|
85
|
+
./spec/approve/pending_job_spec.rb[1:1:4] | passed | 0.0061 seconds |
|
86
|
+
./spec/approve/pending_job_spec.rb[1:1:5] | passed | 0.02178 seconds |
|
87
|
+
./spec/approve/pending_job_spec.rb[1:1:6] | passed | 0.00646 seconds |
|
88
|
+
./spec/approve/pending_job_spec.rb[1:1:7] | passed | 0.00527 seconds |
|
89
|
+
./spec/approve/pending_job_spec.rb[1:1:8] | passed | 0.02177 seconds |
|
90
|
+
./spec/approve/pending_job_spec.rb[1:1:9] | passed | 0.00507 seconds |
|
91
|
+
./spec/approve/pending_job_spec.rb[1:2:1] | passed | 0.02406 seconds |
|
92
|
+
./spec/approve/pending_job_spec.rb[1:2:2] | passed | 0.00339 seconds |
|
93
|
+
./spec/approve/pending_job_spec.rb[1:2:3] | passed | 0.00337 seconds |
|
94
|
+
./spec/approve/pending_job_spec.rb[1:2:4] | passed | 0.00469 seconds |
|
95
|
+
./spec/approve/pending_job_spec.rb[1:2:5] | passed | 0.00419 seconds |
|
96
|
+
./spec/approve/pending_job_spec.rb[1:3:1:1] | passed | 0.02261 seconds |
|
97
|
+
./spec/approve/pending_job_spec.rb[1:3:1:2] | passed | 0.00784 seconds |
|
98
|
+
./spec/approve/pending_job_spec.rb[1:3:1:3] | passed | 0.00724 seconds |
|
99
|
+
./spec/approve/pending_job_spec.rb[1:3:1:4] | passed | 0.0061 seconds |
|
100
|
+
./spec/approve/pending_job_spec.rb[1:3:1:5] | passed | 0.00664 seconds |
|
101
|
+
./spec/approve/pending_job_spec.rb[1:3:1:6] | passed | 0.02359 seconds |
|
102
|
+
./spec/approve/pending_job_spec.rb[1:3:1:7] | passed | 0.00616 seconds |
|
103
|
+
./spec/approve/pending_job_spec.rb[1:4:1:1] | passed | 0.00741 seconds |
|
104
|
+
./spec/approve/pending_job_spec.rb[1:4:1:2] | passed | 0.00746 seconds |
|
105
|
+
./spec/approve/pending_job_spec.rb[1:4:1:3] | passed | 0.02395 seconds |
|
106
|
+
./spec/approve/pending_job_spec.rb[1:4:1:4] | passed | 0.00758 seconds |
|
107
|
+
./spec/approve/pending_job_spec.rb[1:4:1:5] | passed | 0.00838 seconds |
|
108
|
+
./spec/approve/pending_job_spec.rb[1:4:1:6] | passed | 0.02472 seconds |
|
109
|
+
./spec/approve/pending_job_spec.rb[1:4:1:7] | passed | 0.00701 seconds |
|
110
|
+
./spec/approve/pending_job_spec.rb[1:5:1] | passed | 0.00556 seconds |
|
111
|
+
./spec/approve/pending_job_spec.rb[1:6:1] | passed | 0.03477 seconds |
|
112
|
+
./spec/approve/pending_job_spec.rb[1:6:2] | passed | 0.00569 seconds |
|
113
|
+
./spec/approve/pending_job_spec.rb[1:6:3:1] | passed | 0.00703 seconds |
|
114
|
+
./spec/approve/pending_job_spec.rb[1:6:3:2] | passed | 0.02595 seconds |
|
115
|
+
./spec/approve/pending_job_spec.rb[1:6:3:3] | passed | 0.01402 seconds |
|
116
|
+
./spec/approve/pending_job_spec.rb[1:6:3:4] | passed | 0.01412 seconds |
|
117
|
+
./spec/approve/pending_job_spec.rb[1:6:3:5] | passed | 0.02908 seconds |
|
118
|
+
./spec/approve/pending_job_spec.rb[1:6:3:6] | passed | 0.03202 seconds |
|
119
|
+
./spec/approve/pending_job_spec.rb[1:6:3:7] | passed | 0.02929 seconds |
|
120
|
+
./spec/approve/pending_job_spec.rb[1:6:3:8] | passed | 0.03811 seconds |
|
121
|
+
./spec/approve/pending_job_spec.rb[1:6:3:9] | passed | 0.01122 seconds |
|
122
|
+
./spec/approve/pending_job_spec.rb[1:6:3:10] | passed | 0.01072 seconds |
|
123
|
+
./spec/approve/pending_job_spec.rb[1:6:3:11] | passed | 0.01474 seconds |
|
124
|
+
./spec/approve/pending_job_spec.rb[1:7:1] | passed | 0.00823 seconds |
|
125
|
+
./spec/approve/pending_job_spec.rb[1:7:2] | passed | 0.028 seconds |
|
126
|
+
./spec/approve/pending_job_spec.rb[1:7:3] | passed | 0.01287 seconds |
|
127
|
+
./spec/approve/pending_job_spec.rb[1:8:1] | passed | 0.00539 seconds |
|
128
|
+
./spec/approve/pending_job_spec.rb[1:8:2] | passed | 0.02284 seconds |
|
129
|
+
./spec/approve/pending_job_spec.rb[1:8:3] | passed | 0.0064 seconds |
|
130
|
+
./spec/approve/pending_job_spec.rb[1:8:4] | passed | 0.00668 seconds |
|
131
|
+
./spec/approve/pending_job_spec.rb[1:8:5] | passed | 0.00747 seconds |
|
132
|
+
./spec/approve/pending_job_spec.rb[1:9:1] | passed | 0.0056 seconds |
|
133
|
+
./spec/approve/pending_job_spec.rb[1:9:2:1] | passed | 0.00569 seconds |
|
134
|
+
./spec/approve/pending_job_spec.rb[1:10:1:1] | passed | 0.00594 seconds |
|
135
|
+
./spec/approve/pending_job_spec.rb[1:11:1] | passed | 0.00567 seconds |
|
136
|
+
./spec/approve/pending_job_spec.rb[1:11:2:1] | passed | 0.00466 seconds |
|
137
|
+
./spec/approve/pending_job_spec.rb[1:12:1] | passed | 0.00592 seconds |
|
138
|
+
./spec/approve/pending_job_spec.rb[1:12:2] | passed | 0.00692 seconds |
|
139
|
+
./spec/approve/pending_job_spec.rb[1:12:3:1] | passed | 0.00738 seconds |
|
140
|
+
./spec/approve_spec.rb[1:1] | passed | 0.00205 seconds |
|
141
|
+
./spec/approve_spec.rb[1:2] | passed | 0.00153 seconds |
|
142
|
+
./spec/approve_spec.rb[1:3] | passed | 0.00232 seconds |
|
143
|
+
./spec/approve_spec.rb[1:4] | passed | 0.02577 seconds |
|
144
|
+
./spec/approve_spec.rb[1:5] | passed | 0.02056 seconds |
|
145
|
+
./spec/approve_spec.rb[1:6] | passed | 0.01185 seconds |
|
146
|
+
./spec/approve_spec.rb[1:7] | passed | 0.0069 seconds |
|
147
|
+
./spec/approve_spec.rb[1:8:1] | passed | 0.01868 seconds |
|
148
|
+
./spec/approve_spec.rb[1:8:2] | passed | 0.03416 seconds |
|
149
|
+
./spec/approve_spec.rb[1:8:3] | passed | 0.05026 seconds |
|
150
|
+
./spec/approve_spec.rb[1:8:4] | passed | 0.02023 seconds |
|
151
|
+
./spec/approve_spec.rb[1:8:5] | passed | 0.0265 seconds |
|
152
|
+
./spec/approve_spec.rb[1:8:6] | passed | 0.01553 seconds |
|
153
|
+
./spec/approve_spec.rb[1:9:1] | passed | 0.01759 seconds |
|
154
|
+
./spec/approve_spec.rb[1:9:2] | passed | 0.02653 seconds |
|
155
|
+
./spec/approve_spec.rb[1:10:1] | passed | 0.03437 seconds |
|
156
|
+
./spec/approve_spec.rb[1:10:2] | passed | 0.03983 seconds |
|
157
|
+
./spec/approve_spec.rb[1:11:1] | passed | 0.00355 seconds |
|
158
|
+
./spec/approve_spec.rb[1:11:2] | passed | 0.00265 seconds |
|
159
|
+
./spec/approve_spec.rb[1:11:3] | passed | 0.00361 seconds |
|
160
|
+
./spec/approve_spec.rb[1:11:4] | passed | 0.00346 seconds |
|
161
|
+
./spec/approve_spec.rb[1:11:5] | passed | 0.00321 seconds |
|
162
|
+
./spec/server/public/approve.css_spec.rb[1:1] | passed | 0.01945 seconds |
|
163
|
+
./spec/server/views/approval_keys.erb_spec.rb[1:1:1] | passed | 0.01635 seconds |
|
164
|
+
./spec/server/views/approval_keys.erb_spec.rb[1:1:2] | passed | 0.03055 seconds |
|
165
|
+
./spec/server/views/approval_keys.erb_spec.rb[1:1:3] | passed | 0.03797 seconds |
|
166
|
+
./spec/server/views/approval_keys.erb_spec.rb[1:1:4] | passed | 0.01832 seconds |
|
167
|
+
./spec/server/views/approval_keys.erb_spec.rb[1:2] | passed | 0.05245 seconds |
|
168
|
+
./spec/server/views/approval_keys.erb_spec.rb[1:3] | passed | 0.03571 seconds |
|
169
|
+
./spec/server/views/job_details.erb_spec.rb[1:1] | passed | 0.01102 seconds |
|
170
|
+
./spec/server/views/job_details.erb_spec.rb[1:2] | passed | 0.03944 seconds |
|
171
|
+
./spec/server/views/job_details.erb_spec.rb[1:3] | passed | 0.03293 seconds |
|
172
|
+
./spec/server/views/job_details.erb_spec.rb[1:4] | passed | 0.04136 seconds |
|
173
|
+
./spec/server/views/job_details.erb_spec.rb[1:5] | passed | 0.0506 seconds |
|
174
|
+
./spec/server/views/job_details.erb_spec.rb[1:6] | passed | 0.01839 seconds |
|
175
|
+
./spec/server/views/job_list.erb_spec.rb[1:1:1] | passed | 0.03629 seconds |
|
176
|
+
./spec/server/views/job_list.erb_spec.rb[1:1:2] | passed | 0.01022 seconds |
|
177
|
+
./spec/server/views/job_list.erb_spec.rb[1:1:3] | passed | 0.01769 seconds |
|
178
|
+
./spec/server/views/job_list.erb_spec.rb[1:1:4] | passed | 0.04405 seconds |
|
179
|
+
./spec/server/views/job_list.erb_spec.rb[1:1:5] | passed | 0.02809 seconds |
|
180
|
+
./spec/server/views/job_list.erb_spec.rb[1:1:6] | passed | 0.01299 seconds |
|
181
|
+
./spec/server/views/job_list.erb_spec.rb[1:1:7] | passed | 0.0176 seconds |
|
182
|
+
./spec/server/views/job_list.erb_spec.rb[1:2] | passed | 0.04295 seconds |
|
183
|
+
./spec/server/views/job_list.erb_spec.rb[1:3] | passed | 0.04392 seconds |
|
184
|
+
./spec/server/views/job_list.erb_spec.rb[1:4] | passed | 0.04763 seconds |
|
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.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RealNobody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -272,7 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
272
|
- !ruby/object:Gem::Version
|
273
273
|
version: '0'
|
274
274
|
requirements: []
|
275
|
-
rubygems_version: 3.
|
275
|
+
rubygems_version: 3.1.2
|
276
276
|
signing_key:
|
277
277
|
specification_version: 4
|
278
278
|
summary: Keeps a list of jobs which require approval to run.
|