inst-jobs 0.13.0 → 0.13.1
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 +11 -7
- data/lib/delayed/version.rb +1 -1
- data/spec/gemfiles/42.gemfile.lock +46 -44
- data/spec/gemfiles/50.gemfile.lock +48 -48
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88d026d10899b3fcef92fba22bed66e9ba05bce9
|
4
|
+
data.tar.gz: 2dca6bebaa087750b6795277d0a16f998703ad03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7284fd2de413d4743a095bc006c3250ddc8cab09e40d9c1c907d0417a6c51da77b6bbce6fe4c021684974100cca044356eb84c9ae1ab60b27be1f692cfeb7889
|
7
|
+
data.tar.gz: ea2690ae29842daefc978f32964508f18ce7664e9ac0b95bc4d12c864b4a93d06d57906405b659ed83c76c5858f9ae38c270711d9c23ea07a03439a829996693
|
@@ -16,13 +16,6 @@ module Delayed
|
|
16
16
|
class Job < ::ActiveRecord::Base
|
17
17
|
include Delayed::Backend::Base
|
18
18
|
self.table_name = :delayed_jobs
|
19
|
-
# Rails hasn't completely loaded yet, and setting the table name will cache some stuff
|
20
|
-
# so reset that cache so that it will load correctly after Rails is all loaded
|
21
|
-
# It's fixed in Rails 5 to not cache anything when you set the table_name
|
22
|
-
if Rails.version < '5' && Rails.version >= '4.2'
|
23
|
-
@arel_engine = nil
|
24
|
-
@arel_table = nil
|
25
|
-
end
|
26
19
|
|
27
20
|
def self.reconnect!
|
28
21
|
clear_all_connections!
|
@@ -412,6 +405,17 @@ module Delayed
|
|
412
405
|
class Failed < Job
|
413
406
|
include Delayed::Backend::Base
|
414
407
|
self.table_name = :failed_jobs
|
408
|
+
# Rails hasn't completely loaded yet, and setting the table name will cache some stuff
|
409
|
+
# so reset that cache so that it will load correctly after Rails is all loaded
|
410
|
+
# It's fixed in Rails 5 to not cache anything when you set the table_name
|
411
|
+
if Rails.version < '5' && Rails.version >= '4.2'
|
412
|
+
@arel_engine = nil
|
413
|
+
@arel_table = nil
|
414
|
+
end
|
415
|
+
end
|
416
|
+
if Rails.version < '5' && Rails.version >= '4.2'
|
417
|
+
@arel_engine = nil
|
418
|
+
@arel_table = nil
|
415
419
|
end
|
416
420
|
end
|
417
421
|
|
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,55 +11,57 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actionmailer (4.2.
|
15
|
-
actionpack (= 4.2.
|
16
|
-
actionview (= 4.2.
|
17
|
-
activejob (= 4.2.
|
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.
|
21
|
-
actionview (= 4.2.
|
22
|
-
activesupport (= 4.2.
|
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.
|
28
|
-
activesupport (= 4.2.
|
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
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
33
|
-
activejob (4.2.
|
34
|
-
activesupport (= 4.2.
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
33
|
+
activejob (4.2.7.1)
|
34
|
+
activesupport (= 4.2.7.1)
|
35
35
|
globalid (>= 0.3.0)
|
36
|
-
activemodel (4.2.
|
37
|
-
activesupport (= 4.2.
|
36
|
+
activemodel (4.2.7.1)
|
37
|
+
activesupport (= 4.2.7.1)
|
38
38
|
builder (~> 3.1)
|
39
|
-
activerecord (4.2.
|
40
|
-
activemodel (= 4.2.
|
41
|
-
activesupport (= 4.2.
|
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.
|
43
|
+
activesupport (4.2.7.1)
|
44
44
|
i18n (~> 0.7)
|
45
|
+
json (~> 1.7, >= 1.7.7)
|
45
46
|
minitest (~> 5.1)
|
46
47
|
thread_safe (~> 0.3, >= 0.3.4)
|
47
48
|
tzinfo (~> 1.1)
|
48
49
|
after_transaction_commit (1.1.1)
|
49
50
|
activerecord (>= 4.0)
|
50
51
|
arel (6.0.4)
|
51
|
-
backports (3.
|
52
|
+
backports (3.6.8)
|
52
53
|
builder (3.2.3)
|
53
54
|
bump (0.5.3)
|
54
55
|
byebug (9.0.6)
|
55
56
|
coderay (1.1.1)
|
56
|
-
concurrent-ruby (1.0.
|
57
|
+
concurrent-ruby (1.0.4)
|
57
58
|
database_cleaner (1.3.0)
|
58
59
|
diff-lcs (1.3)
|
59
60
|
erubis (2.7.0)
|
60
|
-
globalid (0.
|
61
|
-
activesupport (>= 4.
|
62
|
-
i18n (0.
|
61
|
+
globalid (0.3.7)
|
62
|
+
activesupport (>= 4.1.0)
|
63
|
+
i18n (0.7.0)
|
64
|
+
json (1.8.6)
|
63
65
|
loofah (2.0.3)
|
64
66
|
nokogiri (>= 1.5.9)
|
65
67
|
mail (2.6.4)
|
@@ -71,9 +73,9 @@ GEM
|
|
71
73
|
mini_portile2 (2.1.0)
|
72
74
|
minitest (5.10.1)
|
73
75
|
multi_json (1.12.1)
|
74
|
-
nokogiri (1.7.1)
|
76
|
+
nokogiri (1.7.0.1)
|
75
77
|
mini_portile2 (~> 2.1.0)
|
76
|
-
pg (0.
|
78
|
+
pg (0.19.0)
|
77
79
|
pry (0.10.4)
|
78
80
|
coderay (~> 1.1.0)
|
79
81
|
method_source (~> 0.8.1)
|
@@ -83,16 +85,16 @@ GEM
|
|
83
85
|
rack
|
84
86
|
rack-test (0.6.3)
|
85
87
|
rack (>= 1.0)
|
86
|
-
rails (4.2.
|
87
|
-
actionmailer (= 4.2.
|
88
|
-
actionpack (= 4.2.
|
89
|
-
actionview (= 4.2.
|
90
|
-
activejob (= 4.2.
|
91
|
-
activemodel (= 4.2.
|
92
|
-
activerecord (= 4.2.
|
93
|
-
activesupport (= 4.2.
|
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)
|
94
96
|
bundler (>= 1.3.0, < 2.0)
|
95
|
-
railties (= 4.2.
|
97
|
+
railties (= 4.2.7.1)
|
96
98
|
sprockets-rails
|
97
99
|
rails-deprecated_sanitizer (1.0.3)
|
98
100
|
activesupport (>= 4.2.0.alpha)
|
@@ -102,9 +104,9 @@ GEM
|
|
102
104
|
rails-deprecated_sanitizer (>= 1.0.1)
|
103
105
|
rails-html-sanitizer (1.0.3)
|
104
106
|
loofah (~> 2.0)
|
105
|
-
railties (4.2.
|
106
|
-
actionpack (= 4.2.
|
107
|
-
activesupport (= 4.2.
|
107
|
+
railties (4.2.7.1)
|
108
|
+
actionpack (= 4.2.7.1)
|
109
|
+
activesupport (= 4.2.7.1)
|
108
110
|
rake (>= 0.8.7)
|
109
111
|
thor (>= 0.18.1, < 2.0)
|
110
112
|
rake (12.0.0)
|
@@ -124,9 +126,9 @@ GEM
|
|
124
126
|
diff-lcs (>= 1.2.0, < 2.0)
|
125
127
|
rspec-support (~> 3.4.0)
|
126
128
|
rspec-support (3.4.1)
|
127
|
-
rufus-scheduler (3.3.
|
129
|
+
rufus-scheduler (3.3.3)
|
128
130
|
tzinfo
|
129
|
-
sinatra (1.4.
|
131
|
+
sinatra (1.4.7)
|
130
132
|
rack (~> 1.5)
|
131
133
|
rack-protection (~> 1.4)
|
132
134
|
tilt (>= 1.3, < 3)
|
@@ -148,10 +150,10 @@ GEM
|
|
148
150
|
test_after_commit (0.4.1)
|
149
151
|
activerecord (>= 3.2)
|
150
152
|
thor (0.19.4)
|
151
|
-
thread_safe (0.3.
|
152
|
-
tilt (2.0.
|
153
|
+
thread_safe (0.3.5)
|
154
|
+
tilt (2.0.5)
|
153
155
|
timecop (0.7.1)
|
154
|
-
tzinfo (1.2.
|
156
|
+
tzinfo (1.2.2)
|
155
157
|
thread_safe (~> 0.1)
|
156
158
|
wwtd (1.3.0)
|
157
159
|
|
@@ -176,4 +178,4 @@ DEPENDENCIES
|
|
176
178
|
wwtd (~> 1.3.0)
|
177
179
|
|
178
180
|
BUNDLED WITH
|
179
|
-
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
|
-
globalid (0.
|
64
|
-
activesupport (>= 4.
|
65
|
-
i18n (0.
|
63
|
+
globalid (0.3.7)
|
64
|
+
activesupport (>= 4.1.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
|