inst-jobs 0.15.3 → 0.15.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/delayed/version.rb +1 -1
- data/lib/delayed/worker.rb +10 -2
- data/spec/delayed/worker_spec.rb +39 -19
- data/spec/gemfiles/42.gemfile.lock +49 -51
- data/spec/gemfiles/50.gemfile.lock +61 -60
- data/spec/gemfiles/52.gemfile +7 -0
- metadata +25 -25
- data/spec/gemfiles/51.gemfile.lock +0 -196
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11f57ce391944d07cd3f415023ea4ad614e94c34c4bac595b020ba5756c1b104
|
4
|
+
data.tar.gz: ea2255af9d5d1773263c19734f5d6b4731690846dc32a6a739ea902452721c85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27a4b477c84a5ab4800ac722f7a41d5952f11723770308075cd214034375497cfe4b96ab6cc0e3811f631698b5d0c6ada8741ce355d150bea6facf14f733d070
|
7
|
+
data.tar.gz: a7ba37a1efa1e7b7f25316fa84d0a619913ec3a676c389c1f7279f60d2b34b62d2f3703f563c768b447a1cc4160987976e992c26d0df80204a52c479d275a96a
|
data/lib/delayed/version.rb
CHANGED
data/lib/delayed/worker.rb
CHANGED
@@ -63,11 +63,19 @@ class Worker
|
|
63
63
|
if app && !app.config.cache_classes
|
64
64
|
Delayed::Worker.lifecycle.around(:perform) do |worker, job, &block|
|
65
65
|
reload = app.config.reload_classes_only_on_change != true || app.reloaders.map(&:updated?).any?
|
66
|
-
|
66
|
+
|
67
|
+
if reload
|
68
|
+
if defined?(ActiveSupport::Reloader)
|
69
|
+
Rails.application.reloader.reload!
|
70
|
+
else
|
71
|
+
ActionDispatch::Reloader.prepare!
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
67
75
|
begin
|
68
76
|
block.call(worker, job)
|
69
77
|
ensure
|
70
|
-
ActionDispatch::Reloader.cleanup! if reload
|
78
|
+
ActionDispatch::Reloader.cleanup! if reload && !defined?(ActiveSupport::Reloader)
|
71
79
|
end
|
72
80
|
end
|
73
81
|
end
|
data/spec/delayed/worker_spec.rb
CHANGED
@@ -1,28 +1,48 @@
|
|
1
1
|
require_relative "../spec_helper"
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
subject { described_class.new(worker_config.dup) }
|
3
|
+
describe Delayed::Worker do
|
4
|
+
let(:worker_config) { {
|
5
|
+
queue: "test", min_priority: 1, max_priority: 2, stuff: "stuff",
|
6
|
+
}.freeze }
|
7
|
+
subject { described_class.new(worker_config.dup) }
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
after { Delayed::Worker.lifecycle.reset! }
|
10
|
+
|
11
|
+
describe "#perform" do
|
12
|
+
it "fires off an error callback when a job raises an exception" do
|
13
|
+
fired = false
|
14
|
+
Delayed::Worker.lifecycle.before(:error) {|worker, exception| fired = true}
|
15
|
+
job = double(:last_error= => nil, attempts: 1, reschedule: nil)
|
16
|
+
subject.perform(job)
|
17
|
+
expect(fired).to be_truthy
|
18
18
|
end
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
it "reloads" do
|
21
|
+
fakeApplication = double('Rails.application',
|
22
|
+
config: double('Rails.application.config',
|
23
|
+
cache_classes: false,
|
24
|
+
reload_classes_only_on_change: false
|
25
|
+
),
|
26
|
+
reloader: double()
|
27
|
+
)
|
28
|
+
|
29
|
+
allow(Rails).to receive(:application).and_return(fakeApplication)
|
30
|
+
if Rails::VERSION::MAJOR >= 5
|
31
|
+
expect(Rails.application.reloader).to receive(:reload!).once
|
32
|
+
else
|
33
|
+
expect(ActionDispatch::Reloader).to receive(:prepare!).once
|
34
|
+
expect(ActionDispatch::Reloader).to receive(:cleanup!).once
|
25
35
|
end
|
36
|
+
job = double(:last_error= => nil, attempts: 0, reschedule: nil, expired?: false)
|
37
|
+
subject.perform(job)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe "#run" do
|
42
|
+
it "passes extra config options through to the WorkQueue" do
|
43
|
+
expect(subject.work_queue).to receive(:get_and_lock_next_available).
|
44
|
+
with(subject.name, worker_config).and_return(nil)
|
45
|
+
subject.run
|
26
46
|
end
|
27
47
|
end
|
28
48
|
end
|
@@ -1,109 +1,107 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
inst-jobs (0.
|
5
|
-
activerecord (>= 4.2)
|
6
|
-
activesupport (>= 4.2)
|
4
|
+
inst-jobs (0.14.2)
|
7
5
|
after_transaction_commit (>= 1.0, < 3)
|
8
|
-
|
6
|
+
rails (>= 4.2)
|
9
7
|
redis (> 3.0)
|
10
8
|
redis-scripting (~> 1.0.1)
|
11
|
-
rufus-scheduler (~> 3.4
|
9
|
+
rufus-scheduler (~> 3.4)
|
12
10
|
|
13
11
|
GEM
|
14
12
|
remote: https://rubygems.org/
|
15
13
|
specs:
|
16
|
-
actionmailer (4.2.
|
17
|
-
actionpack (= 4.2.
|
18
|
-
actionview (= 4.2.
|
19
|
-
activejob (= 4.2.
|
14
|
+
actionmailer (4.2.8)
|
15
|
+
actionpack (= 4.2.8)
|
16
|
+
actionview (= 4.2.8)
|
17
|
+
activejob (= 4.2.8)
|
20
18
|
mail (~> 2.5, >= 2.5.4)
|
21
19
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
-
actionpack (4.2.
|
23
|
-
actionview (= 4.2.
|
24
|
-
activesupport (= 4.2.
|
20
|
+
actionpack (4.2.8)
|
21
|
+
actionview (= 4.2.8)
|
22
|
+
activesupport (= 4.2.8)
|
25
23
|
rack (~> 1.6)
|
26
24
|
rack-test (~> 0.6.2)
|
27
25
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
28
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
29
|
-
actionview (4.2.
|
30
|
-
activesupport (= 4.2.
|
27
|
+
actionview (4.2.8)
|
28
|
+
activesupport (= 4.2.8)
|
31
29
|
builder (~> 3.1)
|
32
30
|
erubis (~> 2.7.0)
|
33
31
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
34
32
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
35
|
-
activejob (4.2.
|
36
|
-
activesupport (= 4.2.
|
33
|
+
activejob (4.2.8)
|
34
|
+
activesupport (= 4.2.8)
|
37
35
|
globalid (>= 0.3.0)
|
38
|
-
activemodel (4.2.
|
39
|
-
activesupport (= 4.2.
|
36
|
+
activemodel (4.2.8)
|
37
|
+
activesupport (= 4.2.8)
|
40
38
|
builder (~> 3.1)
|
41
|
-
activerecord (4.2.
|
42
|
-
activemodel (= 4.2.
|
43
|
-
activesupport (= 4.2.
|
39
|
+
activerecord (4.2.8)
|
40
|
+
activemodel (= 4.2.8)
|
41
|
+
activesupport (= 4.2.8)
|
44
42
|
arel (~> 6.0)
|
45
|
-
activesupport (4.2.
|
43
|
+
activesupport (4.2.8)
|
46
44
|
i18n (~> 0.7)
|
47
45
|
minitest (~> 5.1)
|
48
46
|
thread_safe (~> 0.3, >= 0.3.4)
|
49
47
|
tzinfo (~> 1.1)
|
50
48
|
addressable (2.5.2)
|
51
49
|
public_suffix (>= 2.0.2, < 4.0)
|
52
|
-
after_transaction_commit (1.1.
|
50
|
+
after_transaction_commit (1.1.1)
|
53
51
|
activerecord (>= 4.0)
|
54
52
|
arel (6.0.4)
|
55
|
-
backports (3.
|
53
|
+
backports (3.7.0)
|
56
54
|
builder (3.2.3)
|
57
|
-
bump (0.5.
|
55
|
+
bump (0.5.3)
|
58
56
|
byebug (9.0.6)
|
59
57
|
coderay (1.1.1)
|
60
58
|
concurrent-ruby (1.0.5)
|
61
59
|
database_cleaner (1.6.1)
|
62
60
|
diff-lcs (1.3)
|
63
61
|
erubis (2.7.0)
|
64
|
-
et-orbi (1.
|
62
|
+
et-orbi (1.0.9)
|
65
63
|
tzinfo
|
66
64
|
globalid (0.4.0)
|
67
65
|
activesupport (>= 4.2.0)
|
68
66
|
httpclient (2.8.3)
|
69
|
-
i18n (0.8.
|
70
|
-
imperium (0.
|
67
|
+
i18n (0.8.1)
|
68
|
+
imperium (0.2.4)
|
71
69
|
addressable (~> 2.5.0)
|
72
70
|
httpclient (~> 2.8)
|
73
71
|
loofah (2.0.3)
|
74
72
|
nokogiri (>= 1.5.9)
|
75
|
-
mail (2.6.
|
73
|
+
mail (2.6.4)
|
76
74
|
mime-types (>= 1.16, < 4)
|
77
75
|
method_source (0.8.2)
|
78
76
|
mime-types (3.1)
|
79
77
|
mime-types-data (~> 3.2015)
|
80
78
|
mime-types-data (3.2016.0521)
|
81
|
-
mini_portile2 (2.
|
82
|
-
minitest (5.10.
|
79
|
+
mini_portile2 (2.1.0)
|
80
|
+
minitest (5.10.1)
|
83
81
|
multi_json (1.12.1)
|
84
|
-
nokogiri (1.
|
85
|
-
mini_portile2 (~> 2.
|
86
|
-
pg (0.
|
82
|
+
nokogiri (1.7.1)
|
83
|
+
mini_portile2 (~> 2.1.0)
|
84
|
+
pg (0.20.0)
|
87
85
|
pry (0.10.4)
|
88
86
|
coderay (~> 1.1.0)
|
89
87
|
method_source (~> 0.8.1)
|
90
88
|
slop (~> 3.4)
|
91
|
-
public_suffix (3.0.
|
92
|
-
rack (1.6.
|
89
|
+
public_suffix (3.0.1)
|
90
|
+
rack (1.6.5)
|
93
91
|
rack-protection (1.5.3)
|
94
92
|
rack
|
95
93
|
rack-test (0.6.3)
|
96
94
|
rack (>= 1.0)
|
97
|
-
rails (4.2.
|
98
|
-
actionmailer (= 4.2.
|
99
|
-
actionpack (= 4.2.
|
100
|
-
actionview (= 4.2.
|
101
|
-
activejob (= 4.2.
|
102
|
-
activemodel (= 4.2.
|
103
|
-
activerecord (= 4.2.
|
104
|
-
activesupport (= 4.2.
|
95
|
+
rails (4.2.8)
|
96
|
+
actionmailer (= 4.2.8)
|
97
|
+
actionpack (= 4.2.8)
|
98
|
+
actionview (= 4.2.8)
|
99
|
+
activejob (= 4.2.8)
|
100
|
+
activemodel (= 4.2.8)
|
101
|
+
activerecord (= 4.2.8)
|
102
|
+
activesupport (= 4.2.8)
|
105
103
|
bundler (>= 1.3.0, < 2.0)
|
106
|
-
railties (= 4.2.
|
104
|
+
railties (= 4.2.8)
|
107
105
|
sprockets-rails
|
108
106
|
rails-deprecated_sanitizer (1.0.3)
|
109
107
|
activesupport (>= 4.2.0.alpha)
|
@@ -113,13 +111,13 @@ GEM
|
|
113
111
|
rails-deprecated_sanitizer (>= 1.0.1)
|
114
112
|
rails-html-sanitizer (1.0.3)
|
115
113
|
loofah (~> 2.0)
|
116
|
-
railties (4.2.
|
117
|
-
actionpack (= 4.2.
|
118
|
-
activesupport (= 4.2.
|
114
|
+
railties (4.2.8)
|
115
|
+
actionpack (= 4.2.8)
|
116
|
+
activesupport (= 4.2.8)
|
119
117
|
rake (>= 0.8.7)
|
120
118
|
thor (>= 0.18.1, < 2.0)
|
121
119
|
rake (12.0.0)
|
122
|
-
redis (4.0.
|
120
|
+
redis (4.0.1)
|
123
121
|
redis-scripting (1.0.1)
|
124
122
|
redis (>= 3.0)
|
125
123
|
rspec (3.4.0)
|
@@ -160,7 +158,7 @@ GEM
|
|
160
158
|
activerecord (>= 3.2)
|
161
159
|
thor (0.19.4)
|
162
160
|
thread_safe (0.3.6)
|
163
|
-
tilt (2.0.
|
161
|
+
tilt (2.0.7)
|
164
162
|
timecop (0.7.1)
|
165
163
|
tzinfo (1.2.3)
|
166
164
|
thread_safe (~> 0.1)
|
@@ -176,7 +174,7 @@ DEPENDENCIES
|
|
176
174
|
database_cleaner (= 1.6.1)
|
177
175
|
imperium (>= 0.2.3)
|
178
176
|
inst-jobs!
|
179
|
-
pg
|
177
|
+
pg
|
180
178
|
pry
|
181
179
|
rack-test
|
182
180
|
rails (~> 4.2.5)
|
@@ -1,115 +1,113 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
inst-jobs (0.
|
5
|
-
after_transaction_commit (
|
4
|
+
inst-jobs (0.12.3)
|
5
|
+
after_transaction_commit (~> 1.0)
|
6
6
|
rails (>= 4.2)
|
7
7
|
redis (> 3.0)
|
8
8
|
redis-scripting (~> 1.0.1)
|
9
|
-
rufus-scheduler (~> 3.
|
9
|
+
rufus-scheduler (~> 3.3.2)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (5.0.
|
15
|
-
actionpack (= 5.0.
|
14
|
+
actioncable (5.0.2)
|
15
|
+
actionpack (= 5.0.2)
|
16
16
|
nio4r (>= 1.2, < 3.0)
|
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.2)
|
19
|
+
actionpack (= 5.0.2)
|
20
|
+
actionview (= 5.0.2)
|
21
|
+
activejob (= 5.0.2)
|
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.2)
|
25
|
+
actionview (= 5.0.2)
|
26
|
+
activesupport (= 5.0.2)
|
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.2)
|
32
|
+
activesupport (= 5.0.2)
|
33
33
|
builder (~> 3.1)
|
34
34
|
erubis (~> 2.7.0)
|
35
35
|
rails-dom-testing (~> 2.0)
|
36
36
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
37
|
-
activejob (5.0.
|
38
|
-
activesupport (= 5.0.
|
37
|
+
activejob (5.0.2)
|
38
|
+
activesupport (= 5.0.2)
|
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.2)
|
41
|
+
activesupport (= 5.0.2)
|
42
|
+
activerecord (5.0.2)
|
43
|
+
activemodel (= 5.0.2)
|
44
|
+
activesupport (= 5.0.2)
|
45
45
|
arel (~> 7.0)
|
46
|
-
activesupport (5.0.
|
46
|
+
activesupport (5.0.2)
|
47
47
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
48
|
i18n (~> 0.7)
|
49
49
|
minitest (~> 5.1)
|
50
50
|
tzinfo (~> 1.1)
|
51
|
-
after_transaction_commit (
|
52
|
-
activerecord (>=
|
51
|
+
after_transaction_commit (1.1.1)
|
52
|
+
activerecord (>= 4.0)
|
53
53
|
arel (7.1.4)
|
54
|
-
backports (3.
|
54
|
+
backports (3.7.0)
|
55
55
|
builder (3.2.3)
|
56
|
-
bump (0.5.
|
56
|
+
bump (0.5.3)
|
57
57
|
byebug (9.0.6)
|
58
58
|
coderay (1.1.1)
|
59
59
|
concurrent-ruby (1.0.5)
|
60
|
-
database_cleaner (1.
|
60
|
+
database_cleaner (1.3.0)
|
61
61
|
diff-lcs (1.3)
|
62
62
|
erubis (2.7.0)
|
63
|
-
et-orbi (1.0.5)
|
64
|
-
tzinfo
|
65
63
|
globalid (0.4.0)
|
66
64
|
activesupport (>= 4.2.0)
|
67
|
-
i18n (0.8.
|
65
|
+
i18n (0.8.1)
|
68
66
|
loofah (2.0.3)
|
69
67
|
nokogiri (>= 1.5.9)
|
70
|
-
mail (2.6.
|
68
|
+
mail (2.6.4)
|
71
69
|
mime-types (>= 1.16, < 4)
|
72
70
|
method_source (0.8.2)
|
73
71
|
mime-types (3.1)
|
74
72
|
mime-types-data (~> 3.2015)
|
75
73
|
mime-types-data (3.2016.0521)
|
76
|
-
mini_portile2 (2.
|
77
|
-
minitest (5.10.
|
74
|
+
mini_portile2 (2.1.0)
|
75
|
+
minitest (5.10.1)
|
78
76
|
multi_json (1.12.1)
|
79
77
|
mustermann (1.0.0.beta2)
|
80
|
-
nio4r (2.
|
81
|
-
nokogiri (1.
|
82
|
-
mini_portile2 (~> 2.
|
83
|
-
pg (0.
|
78
|
+
nio4r (2.0.0)
|
79
|
+
nokogiri (1.7.1)
|
80
|
+
mini_portile2 (~> 2.1.0)
|
81
|
+
pg (0.20.0)
|
84
82
|
pry (0.10.4)
|
85
83
|
coderay (~> 1.1.0)
|
86
84
|
method_source (~> 0.8.1)
|
87
85
|
slop (~> 3.4)
|
88
|
-
rack (2.0.
|
86
|
+
rack (2.0.1)
|
89
87
|
rack-protection (2.0.0.beta2)
|
90
88
|
rack
|
91
89
|
rack-test (0.6.3)
|
92
90
|
rack (>= 1.0)
|
93
|
-
rails (5.0.
|
94
|
-
actioncable (= 5.0.
|
95
|
-
actionmailer (= 5.0.
|
96
|
-
actionpack (= 5.0.
|
97
|
-
actionview (= 5.0.
|
98
|
-
activejob (= 5.0.
|
99
|
-
activemodel (= 5.0.
|
100
|
-
activerecord (= 5.0.
|
101
|
-
activesupport (= 5.0.
|
102
|
-
bundler (>= 1.3.0)
|
103
|
-
railties (= 5.0.
|
91
|
+
rails (5.0.2)
|
92
|
+
actioncable (= 5.0.2)
|
93
|
+
actionmailer (= 5.0.2)
|
94
|
+
actionpack (= 5.0.2)
|
95
|
+
actionview (= 5.0.2)
|
96
|
+
activejob (= 5.0.2)
|
97
|
+
activemodel (= 5.0.2)
|
98
|
+
activerecord (= 5.0.2)
|
99
|
+
activesupport (= 5.0.2)
|
100
|
+
bundler (>= 1.3.0, < 2.0)
|
101
|
+
railties (= 5.0.2)
|
104
102
|
sprockets-rails (>= 2.0.0)
|
105
|
-
rails-dom-testing (2.0.
|
106
|
-
activesupport (>= 4.2.0)
|
107
|
-
nokogiri (
|
103
|
+
rails-dom-testing (2.0.2)
|
104
|
+
activesupport (>= 4.2.0, < 6.0)
|
105
|
+
nokogiri (~> 1.6)
|
108
106
|
rails-html-sanitizer (1.0.3)
|
109
107
|
loofah (~> 2.0)
|
110
|
-
railties (5.0.
|
111
|
-
actionpack (= 5.0.
|
112
|
-
activesupport (= 5.0.
|
108
|
+
railties (5.0.2)
|
109
|
+
actionpack (= 5.0.2)
|
110
|
+
activesupport (= 5.0.2)
|
113
111
|
method_source
|
114
112
|
rake (>= 0.8.7)
|
115
113
|
thor (>= 0.18.1, < 2.0)
|
@@ -130,8 +128,8 @@ GEM
|
|
130
128
|
diff-lcs (>= 1.2.0, < 2.0)
|
131
129
|
rspec-support (~> 3.4.0)
|
132
130
|
rspec-support (3.4.1)
|
133
|
-
rufus-scheduler (3.4
|
134
|
-
|
131
|
+
rufus-scheduler (3.3.4)
|
132
|
+
tzinfo
|
135
133
|
sinatra (2.0.0.beta2)
|
136
134
|
mustermann (= 1.0.0.beta2)
|
137
135
|
rack (~> 2.0)
|
@@ -153,9 +151,11 @@ GEM
|
|
153
151
|
actionpack (>= 4.0)
|
154
152
|
activesupport (>= 4.0)
|
155
153
|
sprockets (>= 3.0.0)
|
154
|
+
test_after_commit (0.4.1)
|
155
|
+
activerecord (>= 3.2)
|
156
156
|
thor (0.19.4)
|
157
157
|
thread_safe (0.3.6)
|
158
|
-
tilt (2.0.
|
158
|
+
tilt (2.0.7)
|
159
159
|
timecop (0.7.1)
|
160
160
|
tzinfo (1.2.3)
|
161
161
|
thread_safe (~> 0.1)
|
@@ -170,7 +170,7 @@ PLATFORMS
|
|
170
170
|
DEPENDENCIES
|
171
171
|
bump
|
172
172
|
byebug
|
173
|
-
database_cleaner (= 1.
|
173
|
+
database_cleaner (= 1.3.0)
|
174
174
|
inst-jobs!
|
175
175
|
pg
|
176
176
|
pry
|
@@ -180,8 +180,9 @@ DEPENDENCIES
|
|
180
180
|
rspec (= 3.4.0)
|
181
181
|
sinatra (= 2.0.0.beta2)
|
182
182
|
sinatra-contrib (= 2.0.0.beta2)
|
183
|
+
test_after_commit (= 0.4.1)
|
183
184
|
timecop (= 0.7.1)
|
184
185
|
wwtd (~> 1.3.0)
|
185
186
|
|
186
187
|
BUNDLED WITH
|
187
|
-
1.
|
188
|
+
1.14.6
|
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.15.
|
4
|
+
version: 0.15.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -411,7 +411,7 @@ files:
|
|
411
411
|
- spec/gemfiles/50.gemfile
|
412
412
|
- spec/gemfiles/50.gemfile.lock
|
413
413
|
- spec/gemfiles/51.gemfile
|
414
|
-
- spec/gemfiles/
|
414
|
+
- spec/gemfiles/52.gemfile
|
415
415
|
- spec/migrate/20140924140513_add_story_table.rb
|
416
416
|
- spec/redis_job_spec.rb
|
417
417
|
- spec/sample_jobs.rb
|
@@ -447,32 +447,32 @@ signing_key:
|
|
447
447
|
specification_version: 4
|
448
448
|
summary: Instructure-maintained fork of delayed_job
|
449
449
|
test_files:
|
450
|
-
- spec/
|
451
|
-
- spec/spec_helper.rb
|
452
|
-
- spec/redis_job_spec.rb
|
453
|
-
- spec/gemfiles/51.gemfile.lock
|
454
|
-
- spec/gemfiles/42.gemfile.lock
|
455
|
-
- spec/gemfiles/50.gemfile.lock
|
456
|
-
- spec/gemfiles/42.gemfile
|
457
|
-
- spec/gemfiles/50.gemfile
|
458
|
-
- spec/gemfiles/51.gemfile
|
459
|
-
- spec/shared_jobs_specs.rb
|
460
|
-
- spec/shared/performable_method.rb
|
461
|
-
- spec/shared/testing.rb
|
462
|
-
- spec/shared/delayed_batch.rb
|
463
|
-
- spec/shared/worker.rb
|
464
|
-
- spec/shared/delayed_method.rb
|
465
|
-
- spec/shared/shared_backend.rb
|
466
|
-
- spec/migrate/20140924140513_add_story_table.rb
|
467
|
-
- spec/delayed/server_spec.rb
|
450
|
+
- spec/active_record_job_spec.rb
|
468
451
|
- spec/delayed/cli_spec.rb
|
469
452
|
- spec/delayed/daemon_spec.rb
|
470
|
-
- spec/delayed/
|
453
|
+
- spec/delayed/server_spec.rb
|
471
454
|
- spec/delayed/settings_spec.rb
|
472
455
|
- spec/delayed/work_queue/in_process_spec.rb
|
473
|
-
- spec/delayed/work_queue/parent_process_spec.rb
|
474
456
|
- spec/delayed/work_queue/parent_process/client_spec.rb
|
475
457
|
- spec/delayed/work_queue/parent_process/server_spec.rb
|
476
|
-
- spec/delayed/
|
458
|
+
- spec/delayed/work_queue/parent_process_spec.rb
|
477
459
|
- spec/delayed/worker/consul_health_check_spec.rb
|
478
|
-
- spec/
|
460
|
+
- spec/delayed/worker/health_check_spec.rb
|
461
|
+
- spec/delayed/worker_spec.rb
|
462
|
+
- spec/gemfiles/42.gemfile
|
463
|
+
- spec/gemfiles/42.gemfile.lock
|
464
|
+
- spec/gemfiles/50.gemfile
|
465
|
+
- spec/gemfiles/50.gemfile.lock
|
466
|
+
- spec/gemfiles/51.gemfile
|
467
|
+
- spec/gemfiles/52.gemfile
|
468
|
+
- spec/migrate/20140924140513_add_story_table.rb
|
469
|
+
- spec/redis_job_spec.rb
|
470
|
+
- spec/sample_jobs.rb
|
471
|
+
- spec/shared/delayed_batch.rb
|
472
|
+
- spec/shared/delayed_method.rb
|
473
|
+
- spec/shared/performable_method.rb
|
474
|
+
- spec/shared/shared_backend.rb
|
475
|
+
- spec/shared/testing.rb
|
476
|
+
- spec/shared/worker.rb
|
477
|
+
- spec/shared_jobs_specs.rb
|
478
|
+
- spec/spec_helper.rb
|
@@ -1,196 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../..
|
3
|
-
specs:
|
4
|
-
inst-jobs (0.15.1)
|
5
|
-
activerecord (>= 4.2)
|
6
|
-
activesupport (>= 4.2)
|
7
|
-
after_transaction_commit (>= 1.0, < 3)
|
8
|
-
railties (>= 4.2)
|
9
|
-
redis (> 3.0)
|
10
|
-
redis-scripting (~> 1.0.1)
|
11
|
-
rufus-scheduler (~> 3.4, < 3.5)
|
12
|
-
|
13
|
-
GEM
|
14
|
-
remote: https://rubygems.org/
|
15
|
-
specs:
|
16
|
-
actioncable (5.1.6)
|
17
|
-
actionpack (= 5.1.6)
|
18
|
-
nio4r (~> 2.0)
|
19
|
-
websocket-driver (~> 0.6.1)
|
20
|
-
actionmailer (5.1.6)
|
21
|
-
actionpack (= 5.1.6)
|
22
|
-
actionview (= 5.1.6)
|
23
|
-
activejob (= 5.1.6)
|
24
|
-
mail (~> 2.5, >= 2.5.4)
|
25
|
-
rails-dom-testing (~> 2.0)
|
26
|
-
actionpack (5.1.6)
|
27
|
-
actionview (= 5.1.6)
|
28
|
-
activesupport (= 5.1.6)
|
29
|
-
rack (~> 2.0)
|
30
|
-
rack-test (>= 0.6.3)
|
31
|
-
rails-dom-testing (~> 2.0)
|
32
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
33
|
-
actionview (5.1.6)
|
34
|
-
activesupport (= 5.1.6)
|
35
|
-
builder (~> 3.1)
|
36
|
-
erubi (~> 1.4)
|
37
|
-
rails-dom-testing (~> 2.0)
|
38
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
39
|
-
activejob (5.1.6)
|
40
|
-
activesupport (= 5.1.6)
|
41
|
-
globalid (>= 0.3.6)
|
42
|
-
activemodel (5.1.6)
|
43
|
-
activesupport (= 5.1.6)
|
44
|
-
activerecord (5.1.6)
|
45
|
-
activemodel (= 5.1.6)
|
46
|
-
activesupport (= 5.1.6)
|
47
|
-
arel (~> 8.0)
|
48
|
-
activesupport (5.1.6)
|
49
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
50
|
-
i18n (>= 0.7, < 2)
|
51
|
-
minitest (~> 5.1)
|
52
|
-
tzinfo (~> 1.1)
|
53
|
-
addressable (2.5.2)
|
54
|
-
public_suffix (>= 2.0.2, < 4.0)
|
55
|
-
after_transaction_commit (2.0.0)
|
56
|
-
activerecord (>= 5.0)
|
57
|
-
arel (8.0.0)
|
58
|
-
backports (3.11.3)
|
59
|
-
builder (3.2.3)
|
60
|
-
bump (0.6.1)
|
61
|
-
byebug (10.0.2)
|
62
|
-
coderay (1.1.2)
|
63
|
-
concurrent-ruby (1.0.5)
|
64
|
-
crass (1.0.4)
|
65
|
-
database_cleaner (1.6.1)
|
66
|
-
diff-lcs (1.3)
|
67
|
-
erubi (1.7.1)
|
68
|
-
et-orbi (1.1.4)
|
69
|
-
tzinfo
|
70
|
-
globalid (0.4.1)
|
71
|
-
activesupport (>= 4.2.0)
|
72
|
-
httpclient (2.8.3)
|
73
|
-
i18n (1.1.0)
|
74
|
-
concurrent-ruby (~> 1.0)
|
75
|
-
imperium (0.5.0)
|
76
|
-
addressable (~> 2.5.0)
|
77
|
-
httpclient (~> 2.8)
|
78
|
-
loofah (2.2.2)
|
79
|
-
crass (~> 1.0.2)
|
80
|
-
nokogiri (>= 1.5.9)
|
81
|
-
mail (2.7.0)
|
82
|
-
mini_mime (>= 0.1.1)
|
83
|
-
method_source (0.9.0)
|
84
|
-
mini_mime (1.0.1)
|
85
|
-
mini_portile2 (2.3.0)
|
86
|
-
minitest (5.11.3)
|
87
|
-
multi_json (1.13.1)
|
88
|
-
mustermann (1.0.0.beta2)
|
89
|
-
nio4r (2.3.1)
|
90
|
-
nokogiri (1.8.4)
|
91
|
-
mini_portile2 (~> 2.3.0)
|
92
|
-
pg (0.21.0)
|
93
|
-
pry (0.11.3)
|
94
|
-
coderay (~> 1.1.0)
|
95
|
-
method_source (~> 0.9.0)
|
96
|
-
public_suffix (3.0.3)
|
97
|
-
rack (2.0.5)
|
98
|
-
rack-protection (2.0.0.beta2)
|
99
|
-
rack
|
100
|
-
rack-test (1.1.0)
|
101
|
-
rack (>= 1.0, < 3)
|
102
|
-
rails (5.1.6)
|
103
|
-
actioncable (= 5.1.6)
|
104
|
-
actionmailer (= 5.1.6)
|
105
|
-
actionpack (= 5.1.6)
|
106
|
-
actionview (= 5.1.6)
|
107
|
-
activejob (= 5.1.6)
|
108
|
-
activemodel (= 5.1.6)
|
109
|
-
activerecord (= 5.1.6)
|
110
|
-
activesupport (= 5.1.6)
|
111
|
-
bundler (>= 1.3.0)
|
112
|
-
railties (= 5.1.6)
|
113
|
-
sprockets-rails (>= 2.0.0)
|
114
|
-
rails-dom-testing (2.0.3)
|
115
|
-
activesupport (>= 4.2.0)
|
116
|
-
nokogiri (>= 1.6)
|
117
|
-
rails-html-sanitizer (1.0.4)
|
118
|
-
loofah (~> 2.2, >= 2.2.2)
|
119
|
-
railties (5.1.6)
|
120
|
-
actionpack (= 5.1.6)
|
121
|
-
activesupport (= 5.1.6)
|
122
|
-
method_source
|
123
|
-
rake (>= 0.8.7)
|
124
|
-
thor (>= 0.18.1, < 2.0)
|
125
|
-
rake (12.3.1)
|
126
|
-
redis (4.0.2)
|
127
|
-
redis-scripting (1.0.1)
|
128
|
-
redis (>= 3.0)
|
129
|
-
rspec (3.4.0)
|
130
|
-
rspec-core (~> 3.4.0)
|
131
|
-
rspec-expectations (~> 3.4.0)
|
132
|
-
rspec-mocks (~> 3.4.0)
|
133
|
-
rspec-core (3.4.4)
|
134
|
-
rspec-support (~> 3.4.0)
|
135
|
-
rspec-expectations (3.4.0)
|
136
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
137
|
-
rspec-support (~> 3.4.0)
|
138
|
-
rspec-mocks (3.4.1)
|
139
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
140
|
-
rspec-support (~> 3.4.0)
|
141
|
-
rspec-support (3.4.1)
|
142
|
-
rufus-scheduler (3.4.2)
|
143
|
-
et-orbi (~> 1.0)
|
144
|
-
sinatra (2.0.0.beta2)
|
145
|
-
mustermann (= 1.0.0.beta2)
|
146
|
-
rack (~> 2.0)
|
147
|
-
rack-protection (= 2.0.0.beta2)
|
148
|
-
tilt (~> 2.0)
|
149
|
-
sinatra-contrib (2.0.0.beta2)
|
150
|
-
backports (>= 2.0)
|
151
|
-
multi_json
|
152
|
-
mustermann (= 1.0.0.beta2)
|
153
|
-
rack-protection (= 2.0.0.beta2)
|
154
|
-
rack-test
|
155
|
-
sinatra (= 2.0.0.beta2)
|
156
|
-
tilt (>= 1.3, < 3)
|
157
|
-
sprockets (3.7.2)
|
158
|
-
concurrent-ruby (~> 1.0)
|
159
|
-
rack (> 1, < 3)
|
160
|
-
sprockets-rails (3.2.1)
|
161
|
-
actionpack (>= 4.0)
|
162
|
-
activesupport (>= 4.0)
|
163
|
-
sprockets (>= 3.0.0)
|
164
|
-
thor (0.20.0)
|
165
|
-
thread_safe (0.3.6)
|
166
|
-
tilt (2.0.8)
|
167
|
-
timecop (0.7.1)
|
168
|
-
tzinfo (1.2.5)
|
169
|
-
thread_safe (~> 0.1)
|
170
|
-
websocket-driver (0.6.5)
|
171
|
-
websocket-extensions (>= 0.1.0)
|
172
|
-
websocket-extensions (0.1.3)
|
173
|
-
wwtd (1.3.0)
|
174
|
-
|
175
|
-
PLATFORMS
|
176
|
-
ruby
|
177
|
-
|
178
|
-
DEPENDENCIES
|
179
|
-
bump
|
180
|
-
byebug
|
181
|
-
database_cleaner (= 1.6.1)
|
182
|
-
imperium (>= 0.2.3)
|
183
|
-
inst-jobs!
|
184
|
-
pg (< 1.0)
|
185
|
-
pry
|
186
|
-
rack-test
|
187
|
-
rails (~> 5.1.0)
|
188
|
-
rake
|
189
|
-
rspec (= 3.4.0)
|
190
|
-
sinatra (= 2.0.0.beta2)
|
191
|
-
sinatra-contrib (= 2.0.0.beta2)
|
192
|
-
timecop (= 0.7.1)
|
193
|
-
wwtd (~> 1.3.0)
|
194
|
-
|
195
|
-
BUNDLED WITH
|
196
|
-
1.16.1
|