inst-jobs 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/delayed/backend/active_record.rb +30 -4
- data/lib/delayed/version.rb +1 -1
- data/spec/gemfiles/42.gemfile.lock +48 -50
- data/spec/gemfiles/50.gemfile.lock +46 -46
- metadata +3 -9
- data/spec/gemfiles/32.gemfile.lock +0 -160
- data/spec/gemfiles/40.gemfile.lock +0 -148
- data/spec/gemfiles/41.gemfile.lock +0 -154
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb490099d8b25310bcfd0c7f419dd095277f9d11
|
4
|
+
data.tar.gz: 2be27c6ea2e6d37b6739d6ef19dcf971a0bcf81e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 935a70be1f89625da0a07d96a02cbc4b21bfcd414d93e260582c266a987be59f947ff7084fa723ff8edebbca6262a4619e41ca88cac95c125b4c81c289e8cf5c
|
7
|
+
data.tar.gz: 4930328d5b9c06f595425f11ae11c03113a4cfaa96327062e6c085e4da354d86c4bc1fcd4f54bbbe983e1213acf4d85fd14aaee5ce37f826ce7b22837f95b594
|
@@ -75,7 +75,7 @@ module Delayed
|
|
75
75
|
where("run_at<=? AND locked_at IS NULL AND next_in_strand=?", db_time_now, true)
|
76
76
|
end
|
77
77
|
def self.by_priority
|
78
|
-
order(
|
78
|
+
order(:priority, :run_at, :id)
|
79
79
|
end
|
80
80
|
|
81
81
|
# When a worker is exiting, make sure we don't have any locked jobs.
|
@@ -208,9 +208,35 @@ module Delayed
|
|
208
208
|
|
209
209
|
loop do
|
210
210
|
jobs = maybe_silence_periodic_log do
|
211
|
-
|
212
|
-
|
213
|
-
|
211
|
+
if connection.adapter_name == 'PostgreSQL' && !Settings.select_random_from_batch
|
212
|
+
# In Postgres, we can lock a job and return which row was locked in a single
|
213
|
+
# query by using RETURNING. Combine that with the ROW_NUMBER() window function
|
214
|
+
# to assign a distinct locked_at value to each job locked, when doing multiple
|
215
|
+
# jobs in a single query.
|
216
|
+
effective_worker_names = Array(worker_names)
|
217
|
+
|
218
|
+
target_jobs = all_available(queue, min_priority, max_priority).
|
219
|
+
limit(effective_worker_names.length).
|
220
|
+
lock
|
221
|
+
jobs_with_row_number = all.from(target_jobs).
|
222
|
+
select("id, ROW_NUMBER() OVER () AS row_number")
|
223
|
+
updates = "locked_by = CASE row_number "
|
224
|
+
effective_worker_names.each_with_index do |worker, i|
|
225
|
+
updates << "WHEN #{i + 1} THEN #{connection.quote(worker)} "
|
226
|
+
end
|
227
|
+
updates << "END, locked_at = #{connection.quote(db_time_now)}"
|
228
|
+
# joins and returning in an update! just bypass AR
|
229
|
+
query = "UPDATE #{quoted_table_name} SET #{updates} FROM (#{jobs_with_row_number.to_sql}) j2 WHERE j2.id=delayed_jobs.id RETURNING delayed_jobs.*"
|
230
|
+
jobs = find_by_sql(query)
|
231
|
+
# because this is an atomic query, we don't have to return more jobs than we needed
|
232
|
+
# to try and lock them, nor is there a possibility we need to try again because
|
233
|
+
# all of the jobs we tried to lock had already been locked by someone else
|
234
|
+
return worker_names.is_a?(Array) ? jobs.index_by(&:locked_by) : jobs.first
|
235
|
+
else
|
236
|
+
batch_size = Settings.fetch_batch_size
|
237
|
+
batch_size *= worker_names.length if worker_names.is_a?(Array)
|
238
|
+
find_available(batch_size, queue, min_priority, max_priority)
|
239
|
+
end
|
214
240
|
end
|
215
241
|
if jobs.empty?
|
216
242
|
return worker_names.is_a?(Array) ? {} : nil
|
data/lib/delayed/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
inst-jobs (0.12.
|
4
|
+
inst-jobs (0.12.2)
|
5
5
|
after_transaction_commit (~> 1.0)
|
6
6
|
rails (>= 4.2)
|
7
7
|
redis (> 3.0)
|
@@ -11,36 +11,36 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actionmailer (4.2.7)
|
15
|
-
actionpack (= 4.2.7)
|
16
|
-
actionview (= 4.2.7)
|
17
|
-
activejob (= 4.2.7)
|
14
|
+
actionmailer (4.2.7.1)
|
15
|
+
actionpack (= 4.2.7.1)
|
16
|
+
actionview (= 4.2.7.1)
|
17
|
+
activejob (= 4.2.7.1)
|
18
18
|
mail (~> 2.5, >= 2.5.4)
|
19
19
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
20
|
-
actionpack (4.2.7)
|
21
|
-
actionview (= 4.2.7)
|
22
|
-
activesupport (= 4.2.7)
|
20
|
+
actionpack (4.2.7.1)
|
21
|
+
actionview (= 4.2.7.1)
|
22
|
+
activesupport (= 4.2.7.1)
|
23
23
|
rack (~> 1.6)
|
24
24
|
rack-test (~> 0.6.2)
|
25
25
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
26
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
-
actionview (4.2.7)
|
28
|
-
activesupport (= 4.2.7)
|
27
|
+
actionview (4.2.7.1)
|
28
|
+
activesupport (= 4.2.7.1)
|
29
29
|
builder (~> 3.1)
|
30
30
|
erubis (~> 2.7.0)
|
31
31
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
32
32
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
33
|
-
activejob (4.2.7)
|
34
|
-
activesupport (= 4.2.7)
|
33
|
+
activejob (4.2.7.1)
|
34
|
+
activesupport (= 4.2.7.1)
|
35
35
|
globalid (>= 0.3.0)
|
36
|
-
activemodel (4.2.7)
|
37
|
-
activesupport (= 4.2.7)
|
36
|
+
activemodel (4.2.7.1)
|
37
|
+
activesupport (= 4.2.7.1)
|
38
38
|
builder (~> 3.1)
|
39
|
-
activerecord (4.2.7)
|
40
|
-
activemodel (= 4.2.7)
|
41
|
-
activesupport (= 4.2.7)
|
39
|
+
activerecord (4.2.7.1)
|
40
|
+
activemodel (= 4.2.7.1)
|
41
|
+
activesupport (= 4.2.7.1)
|
42
42
|
arel (~> 6.0)
|
43
|
-
activesupport (4.2.7)
|
43
|
+
activesupport (4.2.7.1)
|
44
44
|
i18n (~> 0.7)
|
45
45
|
json (~> 1.7, >= 1.7.7)
|
46
46
|
minitest (~> 5.1)
|
@@ -48,20 +48,20 @@ GEM
|
|
48
48
|
tzinfo (~> 1.1)
|
49
49
|
after_transaction_commit (1.1.1)
|
50
50
|
activerecord (>= 4.0)
|
51
|
-
arel (6.0.
|
51
|
+
arel (6.0.4)
|
52
52
|
backports (3.6.8)
|
53
|
-
builder (3.2.
|
53
|
+
builder (3.2.3)
|
54
54
|
bump (0.5.3)
|
55
55
|
byebug (9.0.6)
|
56
56
|
coderay (1.1.1)
|
57
|
-
concurrent-ruby (1.0.
|
57
|
+
concurrent-ruby (1.0.4)
|
58
58
|
database_cleaner (1.3.0)
|
59
|
-
diff-lcs (1.
|
59
|
+
diff-lcs (1.3)
|
60
60
|
erubis (2.7.0)
|
61
|
-
globalid (0.3.
|
61
|
+
globalid (0.3.7)
|
62
62
|
activesupport (>= 4.1.0)
|
63
63
|
i18n (0.7.0)
|
64
|
-
json (1.8.
|
64
|
+
json (1.8.6)
|
65
65
|
loofah (2.0.3)
|
66
66
|
nokogiri (>= 1.5.9)
|
67
67
|
mail (2.6.4)
|
@@ -71,47 +71,45 @@ GEM
|
|
71
71
|
mime-types-data (~> 3.2015)
|
72
72
|
mime-types-data (3.2016.0521)
|
73
73
|
mini_portile2 (2.1.0)
|
74
|
-
minitest (5.
|
74
|
+
minitest (5.10.1)
|
75
75
|
multi_json (1.12.1)
|
76
|
-
nokogiri (1.
|
76
|
+
nokogiri (1.7.0.1)
|
77
77
|
mini_portile2 (~> 2.1.0)
|
78
|
-
|
79
|
-
pg (0.18.4)
|
80
|
-
pkg-config (1.1.7)
|
78
|
+
pg (0.19.0)
|
81
79
|
pry (0.10.4)
|
82
80
|
coderay (~> 1.1.0)
|
83
81
|
method_source (~> 0.8.1)
|
84
82
|
slop (~> 3.4)
|
85
|
-
rack (1.6.
|
83
|
+
rack (1.6.5)
|
86
84
|
rack-protection (1.5.3)
|
87
85
|
rack
|
88
86
|
rack-test (0.6.3)
|
89
87
|
rack (>= 1.0)
|
90
|
-
rails (4.2.7)
|
91
|
-
actionmailer (= 4.2.7)
|
92
|
-
actionpack (= 4.2.7)
|
93
|
-
actionview (= 4.2.7)
|
94
|
-
activejob (= 4.2.7)
|
95
|
-
activemodel (= 4.2.7)
|
96
|
-
activerecord (= 4.2.7)
|
97
|
-
activesupport (= 4.2.7)
|
88
|
+
rails (4.2.7.1)
|
89
|
+
actionmailer (= 4.2.7.1)
|
90
|
+
actionpack (= 4.2.7.1)
|
91
|
+
actionview (= 4.2.7.1)
|
92
|
+
activejob (= 4.2.7.1)
|
93
|
+
activemodel (= 4.2.7.1)
|
94
|
+
activerecord (= 4.2.7.1)
|
95
|
+
activesupport (= 4.2.7.1)
|
98
96
|
bundler (>= 1.3.0, < 2.0)
|
99
|
-
railties (= 4.2.7)
|
97
|
+
railties (= 4.2.7.1)
|
100
98
|
sprockets-rails
|
101
99
|
rails-deprecated_sanitizer (1.0.3)
|
102
100
|
activesupport (>= 4.2.0.alpha)
|
103
|
-
rails-dom-testing (1.0.
|
101
|
+
rails-dom-testing (1.0.8)
|
104
102
|
activesupport (>= 4.2.0.beta, < 5.0)
|
105
|
-
nokogiri (~> 1.6
|
103
|
+
nokogiri (~> 1.6)
|
106
104
|
rails-deprecated_sanitizer (>= 1.0.1)
|
107
105
|
rails-html-sanitizer (1.0.3)
|
108
106
|
loofah (~> 2.0)
|
109
|
-
railties (4.2.7)
|
110
|
-
actionpack (= 4.2.7)
|
111
|
-
activesupport (= 4.2.7)
|
107
|
+
railties (4.2.7.1)
|
108
|
+
actionpack (= 4.2.7.1)
|
109
|
+
activesupport (= 4.2.7.1)
|
112
110
|
rake (>= 0.8.7)
|
113
111
|
thor (>= 0.18.1, < 2.0)
|
114
|
-
rake (
|
112
|
+
rake (12.0.0)
|
115
113
|
redis (3.3.3)
|
116
114
|
redis-scripting (1.0.1)
|
117
115
|
redis (>= 3.0)
|
@@ -128,7 +126,7 @@ GEM
|
|
128
126
|
diff-lcs (>= 1.2.0, < 2.0)
|
129
127
|
rspec-support (~> 3.4.0)
|
130
128
|
rspec-support (3.4.1)
|
131
|
-
rufus-scheduler (3.3.
|
129
|
+
rufus-scheduler (3.3.3)
|
132
130
|
tzinfo
|
133
131
|
sinatra (1.4.7)
|
134
132
|
rack (~> 1.5)
|
@@ -142,16 +140,16 @@ GEM
|
|
142
140
|
sinatra (~> 1.4.0)
|
143
141
|
tilt (>= 1.3, < 3)
|
144
142
|
slop (3.6.0)
|
145
|
-
sprockets (3.7.
|
143
|
+
sprockets (3.7.1)
|
146
144
|
concurrent-ruby (~> 1.0)
|
147
145
|
rack (> 1, < 3)
|
148
|
-
sprockets-rails (3.
|
146
|
+
sprockets-rails (3.2.0)
|
149
147
|
actionpack (>= 4.0)
|
150
148
|
activesupport (>= 4.0)
|
151
149
|
sprockets (>= 3.0.0)
|
152
150
|
test_after_commit (0.4.1)
|
153
151
|
activerecord (>= 3.2)
|
154
|
-
thor (0.19.
|
152
|
+
thor (0.19.4)
|
155
153
|
thread_safe (0.3.5)
|
156
154
|
tilt (2.0.5)
|
157
155
|
timecop (0.7.1)
|
@@ -180,4 +178,4 @@ DEPENDENCIES
|
|
180
178
|
wwtd (~> 1.3.0)
|
181
179
|
|
182
180
|
BUNDLED WITH
|
183
|
-
1.14.
|
181
|
+
1.14.3
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
inst-jobs (0.12.
|
4
|
+
inst-jobs (0.12.2)
|
5
5
|
after_transaction_commit (~> 1.0)
|
6
6
|
rails (>= 4.2)
|
7
7
|
redis (> 3.0)
|
@@ -11,39 +11,39 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (5.0.
|
15
|
-
actionpack (= 5.0.
|
16
|
-
nio4r (
|
14
|
+
actioncable (5.0.1)
|
15
|
+
actionpack (= 5.0.1)
|
16
|
+
nio4r (~> 1.2)
|
17
17
|
websocket-driver (~> 0.6.1)
|
18
|
-
actionmailer (5.0.
|
19
|
-
actionpack (= 5.0.
|
20
|
-
actionview (= 5.0.
|
21
|
-
activejob (= 5.0.
|
18
|
+
actionmailer (5.0.1)
|
19
|
+
actionpack (= 5.0.1)
|
20
|
+
actionview (= 5.0.1)
|
21
|
+
activejob (= 5.0.1)
|
22
22
|
mail (~> 2.5, >= 2.5.4)
|
23
23
|
rails-dom-testing (~> 2.0)
|
24
|
-
actionpack (5.0.
|
25
|
-
actionview (= 5.0.
|
26
|
-
activesupport (= 5.0.
|
24
|
+
actionpack (5.0.1)
|
25
|
+
actionview (= 5.0.1)
|
26
|
+
activesupport (= 5.0.1)
|
27
27
|
rack (~> 2.0)
|
28
28
|
rack-test (~> 0.6.3)
|
29
29
|
rails-dom-testing (~> 2.0)
|
30
30
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
31
|
-
actionview (5.0.
|
32
|
-
activesupport (= 5.0.
|
31
|
+
actionview (5.0.1)
|
32
|
+
activesupport (= 5.0.1)
|
33
33
|
builder (~> 3.1)
|
34
34
|
erubis (~> 2.7.0)
|
35
35
|
rails-dom-testing (~> 2.0)
|
36
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
37
|
-
activejob (5.0.
|
38
|
-
activesupport (= 5.0.
|
36
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
37
|
+
activejob (5.0.1)
|
38
|
+
activesupport (= 5.0.1)
|
39
39
|
globalid (>= 0.3.6)
|
40
|
-
activemodel (5.0.
|
41
|
-
activesupport (= 5.0.
|
42
|
-
activerecord (5.0.
|
43
|
-
activemodel (= 5.0.
|
44
|
-
activesupport (= 5.0.
|
40
|
+
activemodel (5.0.1)
|
41
|
+
activesupport (= 5.0.1)
|
42
|
+
activerecord (5.0.1)
|
43
|
+
activemodel (= 5.0.1)
|
44
|
+
activesupport (= 5.0.1)
|
45
45
|
arel (~> 7.0)
|
46
|
-
activesupport (5.0.
|
46
|
+
activesupport (5.0.1)
|
47
47
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
48
|
i18n (~> 0.7)
|
49
49
|
minitest (~> 5.1)
|
@@ -51,18 +51,18 @@ GEM
|
|
51
51
|
after_transaction_commit (1.1.1)
|
52
52
|
activerecord (>= 4.0)
|
53
53
|
arel (7.1.4)
|
54
|
-
backports (3.
|
54
|
+
backports (3.6.8)
|
55
55
|
builder (3.2.3)
|
56
56
|
bump (0.5.3)
|
57
57
|
byebug (9.0.6)
|
58
58
|
coderay (1.1.1)
|
59
|
-
concurrent-ruby (1.0.
|
59
|
+
concurrent-ruby (1.0.4)
|
60
60
|
database_cleaner (1.3.0)
|
61
61
|
diff-lcs (1.3)
|
62
62
|
erubis (2.7.0)
|
63
63
|
globalid (0.3.7)
|
64
64
|
activesupport (>= 4.1.0)
|
65
|
-
i18n (0.
|
65
|
+
i18n (0.7.0)
|
66
66
|
loofah (2.0.3)
|
67
67
|
nokogiri (>= 1.5.9)
|
68
68
|
mail (2.6.4)
|
@@ -75,10 +75,10 @@ GEM
|
|
75
75
|
minitest (5.10.1)
|
76
76
|
multi_json (1.12.1)
|
77
77
|
mustermann (1.0.0.beta2)
|
78
|
-
nio4r (2.
|
79
|
-
nokogiri (1.7.1)
|
78
|
+
nio4r (1.2.1)
|
79
|
+
nokogiri (1.7.0.1)
|
80
80
|
mini_portile2 (~> 2.1.0)
|
81
|
-
pg (0.
|
81
|
+
pg (0.19.0)
|
82
82
|
pry (0.10.4)
|
83
83
|
coderay (~> 1.1.0)
|
84
84
|
method_source (~> 0.8.1)
|
@@ -88,26 +88,26 @@ GEM
|
|
88
88
|
rack
|
89
89
|
rack-test (0.6.3)
|
90
90
|
rack (>= 1.0)
|
91
|
-
rails (5.0.
|
92
|
-
actioncable (= 5.0.
|
93
|
-
actionmailer (= 5.0.
|
94
|
-
actionpack (= 5.0.
|
95
|
-
actionview (= 5.0.
|
96
|
-
activejob (= 5.0.
|
97
|
-
activemodel (= 5.0.
|
98
|
-
activerecord (= 5.0.
|
99
|
-
activesupport (= 5.0.
|
91
|
+
rails (5.0.1)
|
92
|
+
actioncable (= 5.0.1)
|
93
|
+
actionmailer (= 5.0.1)
|
94
|
+
actionpack (= 5.0.1)
|
95
|
+
actionview (= 5.0.1)
|
96
|
+
activejob (= 5.0.1)
|
97
|
+
activemodel (= 5.0.1)
|
98
|
+
activerecord (= 5.0.1)
|
99
|
+
activesupport (= 5.0.1)
|
100
100
|
bundler (>= 1.3.0, < 2.0)
|
101
|
-
railties (= 5.0.
|
101
|
+
railties (= 5.0.1)
|
102
102
|
sprockets-rails (>= 2.0.0)
|
103
103
|
rails-dom-testing (2.0.2)
|
104
104
|
activesupport (>= 4.2.0, < 6.0)
|
105
105
|
nokogiri (~> 1.6)
|
106
106
|
rails-html-sanitizer (1.0.3)
|
107
107
|
loofah (~> 2.0)
|
108
|
-
railties (5.0.
|
109
|
-
actionpack (= 5.0.
|
110
|
-
activesupport (= 5.0.
|
108
|
+
railties (5.0.1)
|
109
|
+
actionpack (= 5.0.1)
|
110
|
+
activesupport (= 5.0.1)
|
111
111
|
method_source
|
112
112
|
rake (>= 0.8.7)
|
113
113
|
thor (>= 0.18.1, < 2.0)
|
@@ -128,7 +128,7 @@ GEM
|
|
128
128
|
diff-lcs (>= 1.2.0, < 2.0)
|
129
129
|
rspec-support (~> 3.4.0)
|
130
130
|
rspec-support (3.4.1)
|
131
|
-
rufus-scheduler (3.3.
|
131
|
+
rufus-scheduler (3.3.3)
|
132
132
|
tzinfo
|
133
133
|
sinatra (2.0.0.beta2)
|
134
134
|
mustermann (= 1.0.0.beta2)
|
@@ -154,10 +154,10 @@ GEM
|
|
154
154
|
test_after_commit (0.4.1)
|
155
155
|
activerecord (>= 3.2)
|
156
156
|
thor (0.19.4)
|
157
|
-
thread_safe (0.3.
|
158
|
-
tilt (2.0.
|
157
|
+
thread_safe (0.3.5)
|
158
|
+
tilt (2.0.5)
|
159
159
|
timecop (0.7.1)
|
160
|
-
tzinfo (1.2.
|
160
|
+
tzinfo (1.2.2)
|
161
161
|
thread_safe (~> 0.1)
|
162
162
|
websocket-driver (0.6.5)
|
163
163
|
websocket-extensions (>= 0.1.0)
|
@@ -185,4 +185,4 @@ DEPENDENCIES
|
|
185
185
|
wwtd (~> 1.3.0)
|
186
186
|
|
187
187
|
BUNDLED WITH
|
188
|
-
1.14.
|
188
|
+
1.14.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inst-jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-04-
|
12
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: after_transaction_commit
|
@@ -341,9 +341,6 @@ files:
|
|
341
341
|
- spec/delayed/work_queue/in_process_spec.rb
|
342
342
|
- spec/delayed/work_queue/parent_process_spec.rb
|
343
343
|
- spec/delayed/worker_spec.rb
|
344
|
-
- spec/gemfiles/32.gemfile.lock
|
345
|
-
- spec/gemfiles/40.gemfile.lock
|
346
|
-
- spec/gemfiles/41.gemfile.lock
|
347
344
|
- spec/gemfiles/42.gemfile
|
348
345
|
- spec/gemfiles/42.gemfile.lock
|
349
346
|
- spec/gemfiles/50.gemfile
|
@@ -378,7 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
378
375
|
version: '0'
|
379
376
|
requirements: []
|
380
377
|
rubyforge_project:
|
381
|
-
rubygems_version: 2.
|
378
|
+
rubygems_version: 2.6.11
|
382
379
|
signing_key:
|
383
380
|
specification_version: 4
|
384
381
|
summary: Instructure-maintained fork of delayed_job
|
@@ -391,9 +388,6 @@ test_files:
|
|
391
388
|
- spec/delayed/work_queue/in_process_spec.rb
|
392
389
|
- spec/delayed/work_queue/parent_process_spec.rb
|
393
390
|
- spec/delayed/worker_spec.rb
|
394
|
-
- spec/gemfiles/32.gemfile.lock
|
395
|
-
- spec/gemfiles/40.gemfile.lock
|
396
|
-
- spec/gemfiles/41.gemfile.lock
|
397
391
|
- spec/gemfiles/42.gemfile
|
398
392
|
- spec/gemfiles/42.gemfile.lock
|
399
393
|
- spec/gemfiles/50.gemfile
|
@@ -1,160 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../../
|
3
|
-
specs:
|
4
|
-
inst-jobs (0.11.3)
|
5
|
-
after_transaction_commit (= 1.0.1)
|
6
|
-
rails (>= 3.2)
|
7
|
-
redis (> 3.0)
|
8
|
-
redis-scripting (~> 1.0.1)
|
9
|
-
rufus-scheduler (~> 3.1.2)
|
10
|
-
thor (>= 0.14.6, < 2.0)
|
11
|
-
|
12
|
-
GEM
|
13
|
-
remote: https://rubygems.org/
|
14
|
-
specs:
|
15
|
-
actionmailer (3.2.22.2)
|
16
|
-
actionpack (= 3.2.22.2)
|
17
|
-
mail (~> 2.5.4)
|
18
|
-
actionpack (3.2.22.2)
|
19
|
-
activemodel (= 3.2.22.2)
|
20
|
-
activesupport (= 3.2.22.2)
|
21
|
-
builder (~> 3.0.0)
|
22
|
-
erubis (~> 2.7.0)
|
23
|
-
journey (~> 1.0.4)
|
24
|
-
rack (~> 1.4.5)
|
25
|
-
rack-cache (~> 1.2)
|
26
|
-
rack-test (~> 0.6.1)
|
27
|
-
sprockets (~> 2.2.1)
|
28
|
-
activemodel (3.2.22.2)
|
29
|
-
activesupport (= 3.2.22.2)
|
30
|
-
builder (~> 3.0.0)
|
31
|
-
activerecord (3.2.22.2)
|
32
|
-
activemodel (= 3.2.22.2)
|
33
|
-
activesupport (= 3.2.22.2)
|
34
|
-
arel (~> 3.0.2)
|
35
|
-
tzinfo (~> 0.3.29)
|
36
|
-
activeresource (3.2.22.2)
|
37
|
-
activemodel (= 3.2.22.2)
|
38
|
-
activesupport (= 3.2.22.2)
|
39
|
-
activesupport (3.2.22.2)
|
40
|
-
i18n (~> 0.6, >= 0.6.4)
|
41
|
-
multi_json (~> 1.0)
|
42
|
-
after_transaction_commit (1.0.1)
|
43
|
-
activerecord (>= 3.2)
|
44
|
-
arel (3.0.3)
|
45
|
-
backports (3.6.8)
|
46
|
-
builder (3.0.4)
|
47
|
-
bump (0.5.3)
|
48
|
-
coderay (1.1.1)
|
49
|
-
database_cleaner (1.3.0)
|
50
|
-
diff-lcs (1.2.5)
|
51
|
-
erubis (2.7.0)
|
52
|
-
hike (1.2.3)
|
53
|
-
i18n (0.7.0)
|
54
|
-
journey (1.0.4)
|
55
|
-
json (1.8.3)
|
56
|
-
mail (2.5.4)
|
57
|
-
mime-types (~> 1.16)
|
58
|
-
treetop (~> 1.4.8)
|
59
|
-
method_source (0.8.2)
|
60
|
-
mime-types (1.25.1)
|
61
|
-
multi_json (1.12.1)
|
62
|
-
pg (0.18.4)
|
63
|
-
polyglot (0.3.5)
|
64
|
-
pry (0.10.4)
|
65
|
-
coderay (~> 1.1.0)
|
66
|
-
method_source (~> 0.8.1)
|
67
|
-
slop (~> 3.4)
|
68
|
-
rack (1.4.7)
|
69
|
-
rack-cache (1.6.1)
|
70
|
-
rack (>= 0.4)
|
71
|
-
rack-protection (1.5.3)
|
72
|
-
rack
|
73
|
-
rack-ssl (1.3.4)
|
74
|
-
rack
|
75
|
-
rack-test (0.6.3)
|
76
|
-
rack (>= 1.0)
|
77
|
-
rails (3.2.22.2)
|
78
|
-
actionmailer (= 3.2.22.2)
|
79
|
-
actionpack (= 3.2.22.2)
|
80
|
-
activerecord (= 3.2.22.2)
|
81
|
-
activeresource (= 3.2.22.2)
|
82
|
-
activesupport (= 3.2.22.2)
|
83
|
-
bundler (~> 1.0)
|
84
|
-
railties (= 3.2.22.2)
|
85
|
-
railties (3.2.22.2)
|
86
|
-
actionpack (= 3.2.22.2)
|
87
|
-
activesupport (= 3.2.22.2)
|
88
|
-
rack-ssl (~> 1.3.2)
|
89
|
-
rake (>= 0.8.7)
|
90
|
-
rdoc (~> 3.4)
|
91
|
-
thor (>= 0.14.6, < 2.0)
|
92
|
-
rake (11.2.2)
|
93
|
-
rdoc (3.12.2)
|
94
|
-
json (~> 1.4)
|
95
|
-
redis (3.3.1)
|
96
|
-
redis-scripting (1.0.1)
|
97
|
-
redis (>= 3.0)
|
98
|
-
rspec (3.4.0)
|
99
|
-
rspec-core (~> 3.4.0)
|
100
|
-
rspec-expectations (~> 3.4.0)
|
101
|
-
rspec-mocks (~> 3.4.0)
|
102
|
-
rspec-core (3.4.4)
|
103
|
-
rspec-support (~> 3.4.0)
|
104
|
-
rspec-expectations (3.4.0)
|
105
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
106
|
-
rspec-support (~> 3.4.0)
|
107
|
-
rspec-mocks (3.4.1)
|
108
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
109
|
-
rspec-support (~> 3.4.0)
|
110
|
-
rspec-support (3.4.1)
|
111
|
-
rufus-scheduler (3.1.10)
|
112
|
-
sinatra (1.4.6)
|
113
|
-
rack (~> 1.4)
|
114
|
-
rack-protection (~> 1.4)
|
115
|
-
tilt (>= 1.3, < 3)
|
116
|
-
sinatra-contrib (1.4.7)
|
117
|
-
backports (>= 2.0)
|
118
|
-
multi_json
|
119
|
-
rack-protection
|
120
|
-
rack-test
|
121
|
-
sinatra (~> 1.4.0)
|
122
|
-
tilt (>= 1.3, < 3)
|
123
|
-
slop (3.6.0)
|
124
|
-
sprockets (2.2.3)
|
125
|
-
hike (~> 1.2)
|
126
|
-
multi_json (~> 1.0)
|
127
|
-
rack (~> 1.0)
|
128
|
-
tilt (~> 1.1, != 1.3.0)
|
129
|
-
test_after_commit (0.4.1)
|
130
|
-
activerecord (>= 3.2)
|
131
|
-
thor (0.19.1)
|
132
|
-
tilt (1.4.1)
|
133
|
-
timecop (0.7.1)
|
134
|
-
treetop (1.4.15)
|
135
|
-
polyglot
|
136
|
-
polyglot (>= 0.3.1)
|
137
|
-
tzinfo (0.3.51)
|
138
|
-
wwtd (1.3.0)
|
139
|
-
|
140
|
-
PLATFORMS
|
141
|
-
ruby
|
142
|
-
|
143
|
-
DEPENDENCIES
|
144
|
-
bump
|
145
|
-
database_cleaner (= 1.3.0)
|
146
|
-
inst-jobs!
|
147
|
-
pg
|
148
|
-
pry
|
149
|
-
rack-test
|
150
|
-
rails (~> 3.2.19)
|
151
|
-
rake
|
152
|
-
rspec (= 3.4.0)
|
153
|
-
sinatra
|
154
|
-
sinatra-contrib
|
155
|
-
test_after_commit (= 0.4.1)
|
156
|
-
timecop (= 0.7.1)
|
157
|
-
wwtd (~> 1.3.0)
|
158
|
-
|
159
|
-
BUNDLED WITH
|
160
|
-
1.12.5
|
@@ -1,148 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../../
|
3
|
-
specs:
|
4
|
-
inst-jobs (0.11.3)
|
5
|
-
after_transaction_commit (= 1.0.1)
|
6
|
-
rails (>= 3.2)
|
7
|
-
redis (> 3.0)
|
8
|
-
redis-scripting (~> 1.0.1)
|
9
|
-
rufus-scheduler (~> 3.1.2)
|
10
|
-
thor (>= 0.14.6, < 2.0)
|
11
|
-
|
12
|
-
GEM
|
13
|
-
remote: https://rubygems.org/
|
14
|
-
specs:
|
15
|
-
actionmailer (4.0.13)
|
16
|
-
actionpack (= 4.0.13)
|
17
|
-
mail (~> 2.5, >= 2.5.4)
|
18
|
-
actionpack (4.0.13)
|
19
|
-
activesupport (= 4.0.13)
|
20
|
-
builder (~> 3.1.0)
|
21
|
-
erubis (~> 2.7.0)
|
22
|
-
rack (~> 1.5.2)
|
23
|
-
rack-test (~> 0.6.2)
|
24
|
-
activemodel (4.0.13)
|
25
|
-
activesupport (= 4.0.13)
|
26
|
-
builder (~> 3.1.0)
|
27
|
-
activerecord (4.0.13)
|
28
|
-
activemodel (= 4.0.13)
|
29
|
-
activerecord-deprecated_finders (~> 1.0.2)
|
30
|
-
activesupport (= 4.0.13)
|
31
|
-
arel (~> 4.0.0)
|
32
|
-
activerecord-deprecated_finders (1.0.4)
|
33
|
-
activesupport (4.0.13)
|
34
|
-
i18n (~> 0.6, >= 0.6.9)
|
35
|
-
minitest (~> 4.2)
|
36
|
-
multi_json (~> 1.3)
|
37
|
-
thread_safe (~> 0.1)
|
38
|
-
tzinfo (~> 0.3.37)
|
39
|
-
after_transaction_commit (1.0.1)
|
40
|
-
activerecord (>= 3.2)
|
41
|
-
arel (4.0.2)
|
42
|
-
backports (3.6.8)
|
43
|
-
builder (3.1.4)
|
44
|
-
bump (0.5.3)
|
45
|
-
coderay (1.1.1)
|
46
|
-
concurrent-ruby (1.0.2)
|
47
|
-
database_cleaner (1.3.0)
|
48
|
-
diff-lcs (1.2.5)
|
49
|
-
erubis (2.7.0)
|
50
|
-
i18n (0.7.0)
|
51
|
-
mail (2.6.4)
|
52
|
-
mime-types (>= 1.16, < 4)
|
53
|
-
method_source (0.8.2)
|
54
|
-
mime-types (3.1)
|
55
|
-
mime-types-data (~> 3.2015)
|
56
|
-
mime-types-data (3.2016.0521)
|
57
|
-
minitest (4.7.5)
|
58
|
-
multi_json (1.12.1)
|
59
|
-
pg (0.18.4)
|
60
|
-
pry (0.10.4)
|
61
|
-
coderay (~> 1.1.0)
|
62
|
-
method_source (~> 0.8.1)
|
63
|
-
slop (~> 3.4)
|
64
|
-
rack (1.5.5)
|
65
|
-
rack-protection (1.5.3)
|
66
|
-
rack
|
67
|
-
rack-test (0.6.3)
|
68
|
-
rack (>= 1.0)
|
69
|
-
rails (4.0.13)
|
70
|
-
actionmailer (= 4.0.13)
|
71
|
-
actionpack (= 4.0.13)
|
72
|
-
activerecord (= 4.0.13)
|
73
|
-
activesupport (= 4.0.13)
|
74
|
-
bundler (>= 1.3.0, < 2.0)
|
75
|
-
railties (= 4.0.13)
|
76
|
-
sprockets-rails (~> 2.0)
|
77
|
-
railties (4.0.13)
|
78
|
-
actionpack (= 4.0.13)
|
79
|
-
activesupport (= 4.0.13)
|
80
|
-
rake (>= 0.8.7)
|
81
|
-
thor (>= 0.18.1, < 2.0)
|
82
|
-
rake (11.2.2)
|
83
|
-
redis (3.3.1)
|
84
|
-
redis-scripting (1.0.1)
|
85
|
-
redis (>= 3.0)
|
86
|
-
rspec (3.4.0)
|
87
|
-
rspec-core (~> 3.4.0)
|
88
|
-
rspec-expectations (~> 3.4.0)
|
89
|
-
rspec-mocks (~> 3.4.0)
|
90
|
-
rspec-core (3.4.4)
|
91
|
-
rspec-support (~> 3.4.0)
|
92
|
-
rspec-expectations (3.4.0)
|
93
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
94
|
-
rspec-support (~> 3.4.0)
|
95
|
-
rspec-mocks (3.4.1)
|
96
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
97
|
-
rspec-support (~> 3.4.0)
|
98
|
-
rspec-support (3.4.1)
|
99
|
-
rufus-scheduler (3.1.10)
|
100
|
-
sinatra (1.4.7)
|
101
|
-
rack (~> 1.5)
|
102
|
-
rack-protection (~> 1.4)
|
103
|
-
tilt (>= 1.3, < 3)
|
104
|
-
sinatra-contrib (1.4.7)
|
105
|
-
backports (>= 2.0)
|
106
|
-
multi_json
|
107
|
-
rack-protection
|
108
|
-
rack-test
|
109
|
-
sinatra (~> 1.4.0)
|
110
|
-
tilt (>= 1.3, < 3)
|
111
|
-
slop (3.6.0)
|
112
|
-
sprockets (3.6.3)
|
113
|
-
concurrent-ruby (~> 1.0)
|
114
|
-
rack (> 1, < 3)
|
115
|
-
sprockets-rails (2.3.3)
|
116
|
-
actionpack (>= 3.0)
|
117
|
-
activesupport (>= 3.0)
|
118
|
-
sprockets (>= 2.8, < 4.0)
|
119
|
-
test_after_commit (0.4.1)
|
120
|
-
activerecord (>= 3.2)
|
121
|
-
thor (0.19.1)
|
122
|
-
thread_safe (0.3.5)
|
123
|
-
tilt (2.0.5)
|
124
|
-
timecop (0.7.1)
|
125
|
-
tzinfo (0.3.51)
|
126
|
-
wwtd (1.3.0)
|
127
|
-
|
128
|
-
PLATFORMS
|
129
|
-
ruby
|
130
|
-
|
131
|
-
DEPENDENCIES
|
132
|
-
bump
|
133
|
-
database_cleaner (= 1.3.0)
|
134
|
-
inst-jobs!
|
135
|
-
pg
|
136
|
-
pry
|
137
|
-
rack-test
|
138
|
-
rails (~> 4.0.10)
|
139
|
-
rake
|
140
|
-
rspec (= 3.4.0)
|
141
|
-
sinatra
|
142
|
-
sinatra-contrib
|
143
|
-
test_after_commit (= 0.4.1)
|
144
|
-
timecop (= 0.7.1)
|
145
|
-
wwtd (~> 1.3.0)
|
146
|
-
|
147
|
-
BUNDLED WITH
|
148
|
-
1.12.5
|
@@ -1,154 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../../
|
3
|
-
specs:
|
4
|
-
inst-jobs (0.11.3)
|
5
|
-
after_transaction_commit (= 1.0.1)
|
6
|
-
rails (>= 3.2)
|
7
|
-
redis (> 3.0)
|
8
|
-
redis-scripting (~> 1.0.1)
|
9
|
-
rufus-scheduler (~> 3.1.2)
|
10
|
-
thor (>= 0.14.6, < 2.0)
|
11
|
-
|
12
|
-
GEM
|
13
|
-
remote: https://rubygems.org/
|
14
|
-
specs:
|
15
|
-
actionmailer (4.1.16)
|
16
|
-
actionpack (= 4.1.16)
|
17
|
-
actionview (= 4.1.16)
|
18
|
-
mail (~> 2.5, >= 2.5.4)
|
19
|
-
actionpack (4.1.16)
|
20
|
-
actionview (= 4.1.16)
|
21
|
-
activesupport (= 4.1.16)
|
22
|
-
rack (~> 1.5.2)
|
23
|
-
rack-test (~> 0.6.2)
|
24
|
-
actionview (4.1.16)
|
25
|
-
activesupport (= 4.1.16)
|
26
|
-
builder (~> 3.1)
|
27
|
-
erubis (~> 2.7.0)
|
28
|
-
activemodel (4.1.16)
|
29
|
-
activesupport (= 4.1.16)
|
30
|
-
builder (~> 3.1)
|
31
|
-
activerecord (4.1.16)
|
32
|
-
activemodel (= 4.1.16)
|
33
|
-
activesupport (= 4.1.16)
|
34
|
-
arel (~> 5.0.0)
|
35
|
-
activesupport (4.1.16)
|
36
|
-
i18n (~> 0.6, >= 0.6.9)
|
37
|
-
json (~> 1.7, >= 1.7.7)
|
38
|
-
minitest (~> 5.1)
|
39
|
-
thread_safe (~> 0.1)
|
40
|
-
tzinfo (~> 1.1)
|
41
|
-
after_transaction_commit (1.0.1)
|
42
|
-
activerecord (>= 3.2)
|
43
|
-
arel (5.0.1.20140414130214)
|
44
|
-
backports (3.6.8)
|
45
|
-
builder (3.2.2)
|
46
|
-
bump (0.5.3)
|
47
|
-
coderay (1.1.1)
|
48
|
-
concurrent-ruby (1.0.2)
|
49
|
-
database_cleaner (1.3.0)
|
50
|
-
diff-lcs (1.2.5)
|
51
|
-
erubis (2.7.0)
|
52
|
-
i18n (0.7.0)
|
53
|
-
json (1.8.3)
|
54
|
-
mail (2.6.4)
|
55
|
-
mime-types (>= 1.16, < 4)
|
56
|
-
method_source (0.8.2)
|
57
|
-
mime-types (3.1)
|
58
|
-
mime-types-data (~> 3.2015)
|
59
|
-
mime-types-data (3.2016.0521)
|
60
|
-
minitest (5.9.0)
|
61
|
-
multi_json (1.12.1)
|
62
|
-
pg (0.18.4)
|
63
|
-
pry (0.10.4)
|
64
|
-
coderay (~> 1.1.0)
|
65
|
-
method_source (~> 0.8.1)
|
66
|
-
slop (~> 3.4)
|
67
|
-
rack (1.5.5)
|
68
|
-
rack-protection (1.5.3)
|
69
|
-
rack
|
70
|
-
rack-test (0.6.3)
|
71
|
-
rack (>= 1.0)
|
72
|
-
rails (4.1.16)
|
73
|
-
actionmailer (= 4.1.16)
|
74
|
-
actionpack (= 4.1.16)
|
75
|
-
actionview (= 4.1.16)
|
76
|
-
activemodel (= 4.1.16)
|
77
|
-
activerecord (= 4.1.16)
|
78
|
-
activesupport (= 4.1.16)
|
79
|
-
bundler (>= 1.3.0, < 2.0)
|
80
|
-
railties (= 4.1.16)
|
81
|
-
sprockets-rails (~> 2.0)
|
82
|
-
railties (4.1.16)
|
83
|
-
actionpack (= 4.1.16)
|
84
|
-
activesupport (= 4.1.16)
|
85
|
-
rake (>= 0.8.7)
|
86
|
-
thor (>= 0.18.1, < 2.0)
|
87
|
-
rake (11.2.2)
|
88
|
-
redis (3.3.1)
|
89
|
-
redis-scripting (1.0.1)
|
90
|
-
redis (>= 3.0)
|
91
|
-
rspec (3.4.0)
|
92
|
-
rspec-core (~> 3.4.0)
|
93
|
-
rspec-expectations (~> 3.4.0)
|
94
|
-
rspec-mocks (~> 3.4.0)
|
95
|
-
rspec-core (3.4.4)
|
96
|
-
rspec-support (~> 3.4.0)
|
97
|
-
rspec-expectations (3.4.0)
|
98
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
99
|
-
rspec-support (~> 3.4.0)
|
100
|
-
rspec-mocks (3.4.1)
|
101
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
102
|
-
rspec-support (~> 3.4.0)
|
103
|
-
rspec-support (3.4.1)
|
104
|
-
rufus-scheduler (3.1.10)
|
105
|
-
sinatra (1.4.7)
|
106
|
-
rack (~> 1.5)
|
107
|
-
rack-protection (~> 1.4)
|
108
|
-
tilt (>= 1.3, < 3)
|
109
|
-
sinatra-contrib (1.4.7)
|
110
|
-
backports (>= 2.0)
|
111
|
-
multi_json
|
112
|
-
rack-protection
|
113
|
-
rack-test
|
114
|
-
sinatra (~> 1.4.0)
|
115
|
-
tilt (>= 1.3, < 3)
|
116
|
-
slop (3.6.0)
|
117
|
-
sprockets (3.7.0)
|
118
|
-
concurrent-ruby (~> 1.0)
|
119
|
-
rack (> 1, < 3)
|
120
|
-
sprockets-rails (2.3.3)
|
121
|
-
actionpack (>= 3.0)
|
122
|
-
activesupport (>= 3.0)
|
123
|
-
sprockets (>= 2.8, < 4.0)
|
124
|
-
test_after_commit (0.4.1)
|
125
|
-
activerecord (>= 3.2)
|
126
|
-
thor (0.19.1)
|
127
|
-
thread_safe (0.3.5)
|
128
|
-
tilt (2.0.5)
|
129
|
-
timecop (0.7.1)
|
130
|
-
tzinfo (1.2.2)
|
131
|
-
thread_safe (~> 0.1)
|
132
|
-
wwtd (1.3.0)
|
133
|
-
|
134
|
-
PLATFORMS
|
135
|
-
ruby
|
136
|
-
|
137
|
-
DEPENDENCIES
|
138
|
-
bump
|
139
|
-
database_cleaner (= 1.3.0)
|
140
|
-
inst-jobs!
|
141
|
-
pg
|
142
|
-
pry
|
143
|
-
rack-test
|
144
|
-
rails (~> 4.1.6)
|
145
|
-
rake
|
146
|
-
rspec (= 3.4.0)
|
147
|
-
sinatra
|
148
|
-
sinatra-contrib
|
149
|
-
test_after_commit (= 0.4.1)
|
150
|
-
timecop (= 0.7.1)
|
151
|
-
wwtd (~> 1.3.0)
|
152
|
-
|
153
|
-
BUNDLED WITH
|
154
|
-
1.12.5
|