inst-jobs 0.15.12 → 0.15.13
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 +8 -2
- data/lib/delayed/version.rb +1 -1
- data/spec/gemfiles/42.gemfile.lock +19 -19
- data/spec/gemfiles/50.gemfile.lock +32 -22
- data/spec/gemfiles/51.gemfile.lock +19 -19
- data/spec/gemfiles/52.gemfile.lock +204 -0
- data/spec/gemfiles/60.gemfile +7 -0
- data/spec/gemfiles/60.gemfile.lock +220 -0
- data/spec/spec_helper.rb +2 -0
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f39b51003bab5d4472dc4c4e0e6e5bd238dbe4a30388b2ff71ee1c7f950f718b
|
4
|
+
data.tar.gz: f21e1844d5c8735903f1919e23f5d8a51806e0aa3d51334bc4d7e41a2f8edfab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7ff506a476a73b6457aee163d1daf62d39cc0257f7059ce1a02d2a4b4c297e5b32aed5088595aa4d0f7517de49063ed8a2b1323698708d7a1199f9aa05e43d6
|
7
|
+
data.tar.gz: 6df6ada0bdf6c1532e765e391adacbab776379bd2a03fa19159bf2e0994d05d554ec3defea79073aa38bbac844bad1602485aee3312741a31565273e62b4b1bc
|
@@ -38,8 +38,14 @@ module Delayed
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
if Rails.version >= '6'
|
42
|
+
attribute_names = job.send(:attribute_names_for_partial_writes)
|
43
|
+
attribute_names = job.send(:attributes_for_create, attribute_names)
|
44
|
+
values = job.send(:attributes_with_values, attribute_names)
|
45
|
+
else
|
46
|
+
attribute_names = job.partial_writes? ? job.send(:keys_for_partial_write) : self.attribute_names
|
47
|
+
values = job.send(:attributes_with_values_for_create, attribute_names)
|
48
|
+
end
|
43
49
|
im = arel_table.compile_insert(_substitute_values(values))
|
44
50
|
sql, _binds = connection.send(:to_sql_and_binds, im, [])
|
45
51
|
|
data/lib/delayed/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
inst-jobs (0.15.
|
4
|
+
inst-jobs (0.15.12)
|
5
5
|
activerecord (>= 4.2)
|
6
6
|
activesupport (>= 4.2)
|
7
7
|
after_transaction_commit (>= 1.0, < 3)
|
@@ -61,7 +61,7 @@ GEM
|
|
61
61
|
database_cleaner (1.6.1)
|
62
62
|
diff-lcs (1.3)
|
63
63
|
erubis (2.7.0)
|
64
|
-
et-orbi (1.1
|
64
|
+
et-orbi (1.2.1)
|
65
65
|
tzinfo
|
66
66
|
globalid (0.4.0)
|
67
67
|
activesupport (>= 4.2.0)
|
@@ -78,11 +78,11 @@ GEM
|
|
78
78
|
mime-types (3.1)
|
79
79
|
mime-types-data (~> 3.2015)
|
80
80
|
mime-types-data (3.2016.0521)
|
81
|
-
mini_portile2 (2.
|
81
|
+
mini_portile2 (2.4.0)
|
82
82
|
minitest (5.10.3)
|
83
83
|
multi_json (1.12.1)
|
84
|
-
nokogiri (1.
|
85
|
-
mini_portile2 (~> 2.
|
84
|
+
nokogiri (1.10.4)
|
85
|
+
mini_portile2 (~> 2.4.0)
|
86
86
|
pg (0.21.0)
|
87
87
|
pry (0.10.4)
|
88
88
|
coderay (~> 1.1.0)
|
@@ -119,22 +119,22 @@ GEM
|
|
119
119
|
rake (>= 0.8.7)
|
120
120
|
thor (>= 0.18.1, < 2.0)
|
121
121
|
rake (12.0.0)
|
122
|
-
redis (4.
|
122
|
+
redis (4.1.2)
|
123
123
|
redis-scripting (1.0.1)
|
124
124
|
redis (>= 3.0)
|
125
|
-
rspec (3.
|
126
|
-
rspec-core (~> 3.
|
127
|
-
rspec-expectations (~> 3.
|
128
|
-
rspec-mocks (~> 3.
|
129
|
-
rspec-core (3.
|
130
|
-
rspec-support (~> 3.
|
131
|
-
rspec-expectations (3.4
|
125
|
+
rspec (3.8.0)
|
126
|
+
rspec-core (~> 3.8.0)
|
127
|
+
rspec-expectations (~> 3.8.0)
|
128
|
+
rspec-mocks (~> 3.8.0)
|
129
|
+
rspec-core (3.8.2)
|
130
|
+
rspec-support (~> 3.8.0)
|
131
|
+
rspec-expectations (3.8.4)
|
132
132
|
diff-lcs (>= 1.2.0, < 2.0)
|
133
|
-
rspec-support (~> 3.
|
134
|
-
rspec-mocks (3.
|
133
|
+
rspec-support (~> 3.8.0)
|
134
|
+
rspec-mocks (3.8.1)
|
135
135
|
diff-lcs (>= 1.2.0, < 2.0)
|
136
|
-
rspec-support (~> 3.
|
137
|
-
rspec-support (3.
|
136
|
+
rspec-support (~> 3.8.0)
|
137
|
+
rspec-support (3.8.2)
|
138
138
|
rufus-scheduler (3.4.2)
|
139
139
|
et-orbi (~> 1.0)
|
140
140
|
sinatra (1.4.8)
|
@@ -181,7 +181,7 @@ DEPENDENCIES
|
|
181
181
|
rack-test
|
182
182
|
rails (~> 4.2.5)
|
183
183
|
rake
|
184
|
-
rspec (
|
184
|
+
rspec (~> 3.8.0)
|
185
185
|
sinatra
|
186
186
|
sinatra-contrib
|
187
187
|
test_after_commit (= 0.4.1)
|
@@ -189,4 +189,4 @@ DEPENDENCIES
|
|
189
189
|
wwtd (~> 1.3.0)
|
190
190
|
|
191
191
|
BUNDLED WITH
|
192
|
-
1.
|
192
|
+
1.17.2
|
@@ -1,12 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
inst-jobs (0.
|
4
|
+
inst-jobs (0.15.12)
|
5
|
+
activerecord (>= 4.2)
|
6
|
+
activesupport (>= 4.2)
|
5
7
|
after_transaction_commit (>= 1.0, < 3)
|
6
|
-
|
8
|
+
railties (>= 4.2)
|
7
9
|
redis (> 3.0)
|
8
10
|
redis-scripting (~> 1.0.1)
|
9
|
-
rufus-scheduler (~> 3.4)
|
11
|
+
rufus-scheduler (~> 3.4, < 3.5)
|
10
12
|
|
11
13
|
GEM
|
12
14
|
remote: https://rubygems.org/
|
@@ -48,6 +50,8 @@ GEM
|
|
48
50
|
i18n (~> 0.7)
|
49
51
|
minitest (~> 5.1)
|
50
52
|
tzinfo (~> 1.1)
|
53
|
+
addressable (2.6.0)
|
54
|
+
public_suffix (>= 2.0.2, < 4.0)
|
51
55
|
after_transaction_commit (2.0.0)
|
52
56
|
activerecord (>= 5.0)
|
53
57
|
arel (7.1.4)
|
@@ -60,11 +64,15 @@ GEM
|
|
60
64
|
database_cleaner (1.6.1)
|
61
65
|
diff-lcs (1.3)
|
62
66
|
erubis (2.7.0)
|
63
|
-
et-orbi (1.
|
67
|
+
et-orbi (1.2.1)
|
64
68
|
tzinfo
|
65
69
|
globalid (0.4.0)
|
66
70
|
activesupport (>= 4.2.0)
|
71
|
+
httpclient (2.8.3)
|
67
72
|
i18n (0.8.6)
|
73
|
+
imperium (0.5.1)
|
74
|
+
addressable (~> 2.5)
|
75
|
+
httpclient (~> 2.8)
|
68
76
|
loofah (2.0.3)
|
69
77
|
nokogiri (>= 1.5.9)
|
70
78
|
mail (2.6.6)
|
@@ -73,18 +81,19 @@ GEM
|
|
73
81
|
mime-types (3.1)
|
74
82
|
mime-types-data (~> 3.2015)
|
75
83
|
mime-types-data (3.2016.0521)
|
76
|
-
mini_portile2 (2.
|
84
|
+
mini_portile2 (2.4.0)
|
77
85
|
minitest (5.10.3)
|
78
86
|
multi_json (1.12.1)
|
79
87
|
mustermann (1.0.0.beta2)
|
80
88
|
nio4r (2.1.0)
|
81
|
-
nokogiri (1.
|
82
|
-
mini_portile2 (~> 2.
|
89
|
+
nokogiri (1.10.4)
|
90
|
+
mini_portile2 (~> 2.4.0)
|
83
91
|
pg (0.21.0)
|
84
92
|
pry (0.10.4)
|
85
93
|
coderay (~> 1.1.0)
|
86
94
|
method_source (~> 0.8.1)
|
87
95
|
slop (~> 3.4)
|
96
|
+
public_suffix (3.1.1)
|
88
97
|
rack (2.0.3)
|
89
98
|
rack-protection (2.0.0.beta2)
|
90
99
|
rack
|
@@ -114,22 +123,22 @@ GEM
|
|
114
123
|
rake (>= 0.8.7)
|
115
124
|
thor (>= 0.18.1, < 2.0)
|
116
125
|
rake (12.0.0)
|
117
|
-
redis (
|
126
|
+
redis (4.1.2)
|
118
127
|
redis-scripting (1.0.1)
|
119
128
|
redis (>= 3.0)
|
120
|
-
rspec (3.
|
121
|
-
rspec-core (~> 3.
|
122
|
-
rspec-expectations (~> 3.
|
123
|
-
rspec-mocks (~> 3.
|
124
|
-
rspec-core (3.
|
125
|
-
rspec-support (~> 3.
|
126
|
-
rspec-expectations (3.4
|
129
|
+
rspec (3.8.0)
|
130
|
+
rspec-core (~> 3.8.0)
|
131
|
+
rspec-expectations (~> 3.8.0)
|
132
|
+
rspec-mocks (~> 3.8.0)
|
133
|
+
rspec-core (3.8.2)
|
134
|
+
rspec-support (~> 3.8.0)
|
135
|
+
rspec-expectations (3.8.4)
|
127
136
|
diff-lcs (>= 1.2.0, < 2.0)
|
128
|
-
rspec-support (~> 3.
|
129
|
-
rspec-mocks (3.
|
137
|
+
rspec-support (~> 3.8.0)
|
138
|
+
rspec-mocks (3.8.1)
|
130
139
|
diff-lcs (>= 1.2.0, < 2.0)
|
131
|
-
rspec-support (~> 3.
|
132
|
-
rspec-support (3.
|
140
|
+
rspec-support (~> 3.8.0)
|
141
|
+
rspec-support (3.8.2)
|
133
142
|
rufus-scheduler (3.4.2)
|
134
143
|
et-orbi (~> 1.0)
|
135
144
|
sinatra (2.0.0.beta2)
|
@@ -171,17 +180,18 @@ DEPENDENCIES
|
|
171
180
|
bump
|
172
181
|
byebug
|
173
182
|
database_cleaner (= 1.6.1)
|
183
|
+
imperium (>= 0.2.3)
|
174
184
|
inst-jobs!
|
175
|
-
pg
|
185
|
+
pg (< 1.0)
|
176
186
|
pry
|
177
187
|
rack-test
|
178
188
|
rails (~> 5.0.0)
|
179
189
|
rake
|
180
|
-
rspec (
|
190
|
+
rspec (~> 3.8.0)
|
181
191
|
sinatra (= 2.0.0.beta2)
|
182
192
|
sinatra-contrib (= 2.0.0.beta2)
|
183
193
|
timecop (= 0.7.1)
|
184
194
|
wwtd (~> 1.3.0)
|
185
195
|
|
186
196
|
BUNDLED WITH
|
187
|
-
1.
|
197
|
+
1.17.2
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
inst-jobs (0.15.
|
4
|
+
inst-jobs (0.15.12)
|
5
5
|
activerecord (>= 4.2)
|
6
6
|
activesupport (>= 4.2)
|
7
7
|
after_transaction_commit (>= 1.0, < 3)
|
@@ -65,7 +65,7 @@ GEM
|
|
65
65
|
database_cleaner (1.6.1)
|
66
66
|
diff-lcs (1.3)
|
67
67
|
erubi (1.7.1)
|
68
|
-
et-orbi (1.1
|
68
|
+
et-orbi (1.2.1)
|
69
69
|
tzinfo
|
70
70
|
globalid (0.4.1)
|
71
71
|
activesupport (>= 4.2.0)
|
@@ -82,13 +82,13 @@ GEM
|
|
82
82
|
mini_mime (>= 0.1.1)
|
83
83
|
method_source (0.9.0)
|
84
84
|
mini_mime (1.0.1)
|
85
|
-
mini_portile2 (2.
|
85
|
+
mini_portile2 (2.4.0)
|
86
86
|
minitest (5.11.3)
|
87
87
|
multi_json (1.13.1)
|
88
88
|
mustermann (1.0.0.beta2)
|
89
89
|
nio4r (2.3.1)
|
90
|
-
nokogiri (1.
|
91
|
-
mini_portile2 (~> 2.
|
90
|
+
nokogiri (1.10.4)
|
91
|
+
mini_portile2 (~> 2.4.0)
|
92
92
|
pg (0.21.0)
|
93
93
|
pry (0.11.3)
|
94
94
|
coderay (~> 1.1.0)
|
@@ -123,22 +123,22 @@ GEM
|
|
123
123
|
rake (>= 0.8.7)
|
124
124
|
thor (>= 0.18.1, < 2.0)
|
125
125
|
rake (12.3.1)
|
126
|
-
redis (4.
|
126
|
+
redis (4.1.2)
|
127
127
|
redis-scripting (1.0.1)
|
128
128
|
redis (>= 3.0)
|
129
|
-
rspec (3.
|
130
|
-
rspec-core (~> 3.
|
131
|
-
rspec-expectations (~> 3.
|
132
|
-
rspec-mocks (~> 3.
|
133
|
-
rspec-core (3.
|
134
|
-
rspec-support (~> 3.
|
135
|
-
rspec-expectations (3.4
|
129
|
+
rspec (3.8.0)
|
130
|
+
rspec-core (~> 3.8.0)
|
131
|
+
rspec-expectations (~> 3.8.0)
|
132
|
+
rspec-mocks (~> 3.8.0)
|
133
|
+
rspec-core (3.8.2)
|
134
|
+
rspec-support (~> 3.8.0)
|
135
|
+
rspec-expectations (3.8.4)
|
136
136
|
diff-lcs (>= 1.2.0, < 2.0)
|
137
|
-
rspec-support (~> 3.
|
138
|
-
rspec-mocks (3.
|
137
|
+
rspec-support (~> 3.8.0)
|
138
|
+
rspec-mocks (3.8.1)
|
139
139
|
diff-lcs (>= 1.2.0, < 2.0)
|
140
|
-
rspec-support (~> 3.
|
141
|
-
rspec-support (3.
|
140
|
+
rspec-support (~> 3.8.0)
|
141
|
+
rspec-support (3.8.2)
|
142
142
|
rufus-scheduler (3.4.2)
|
143
143
|
et-orbi (~> 1.0)
|
144
144
|
sinatra (2.0.0.beta2)
|
@@ -186,11 +186,11 @@ DEPENDENCIES
|
|
186
186
|
rack-test
|
187
187
|
rails (~> 5.1.0)
|
188
188
|
rake
|
189
|
-
rspec (
|
189
|
+
rspec (~> 3.8.0)
|
190
190
|
sinatra (= 2.0.0.beta2)
|
191
191
|
sinatra-contrib (= 2.0.0.beta2)
|
192
192
|
timecop (= 0.7.1)
|
193
193
|
wwtd (~> 1.3.0)
|
194
194
|
|
195
195
|
BUNDLED WITH
|
196
|
-
1.
|
196
|
+
1.17.2
|
@@ -0,0 +1,204 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
inst-jobs (0.15.12)
|
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.2.3)
|
17
|
+
actionpack (= 5.2.3)
|
18
|
+
nio4r (~> 2.0)
|
19
|
+
websocket-driver (>= 0.6.1)
|
20
|
+
actionmailer (5.2.3)
|
21
|
+
actionpack (= 5.2.3)
|
22
|
+
actionview (= 5.2.3)
|
23
|
+
activejob (= 5.2.3)
|
24
|
+
mail (~> 2.5, >= 2.5.4)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
actionpack (5.2.3)
|
27
|
+
actionview (= 5.2.3)
|
28
|
+
activesupport (= 5.2.3)
|
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.2.3)
|
34
|
+
activesupport (= 5.2.3)
|
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.2.3)
|
40
|
+
activesupport (= 5.2.3)
|
41
|
+
globalid (>= 0.3.6)
|
42
|
+
activemodel (5.2.3)
|
43
|
+
activesupport (= 5.2.3)
|
44
|
+
activerecord (5.2.3)
|
45
|
+
activemodel (= 5.2.3)
|
46
|
+
activesupport (= 5.2.3)
|
47
|
+
arel (>= 9.0)
|
48
|
+
activestorage (5.2.3)
|
49
|
+
actionpack (= 5.2.3)
|
50
|
+
activerecord (= 5.2.3)
|
51
|
+
marcel (~> 0.3.1)
|
52
|
+
activesupport (5.2.3)
|
53
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
54
|
+
i18n (>= 0.7, < 2)
|
55
|
+
minitest (~> 5.1)
|
56
|
+
tzinfo (~> 1.1)
|
57
|
+
addressable (2.6.0)
|
58
|
+
public_suffix (>= 2.0.2, < 4.0)
|
59
|
+
after_transaction_commit (2.0.0)
|
60
|
+
activerecord (>= 5.0)
|
61
|
+
arel (9.0.0)
|
62
|
+
backports (3.15.0)
|
63
|
+
builder (3.2.3)
|
64
|
+
bump (0.8.0)
|
65
|
+
byebug (11.0.1)
|
66
|
+
coderay (1.1.2)
|
67
|
+
concurrent-ruby (1.1.5)
|
68
|
+
crass (1.0.4)
|
69
|
+
database_cleaner (1.6.1)
|
70
|
+
diff-lcs (1.3)
|
71
|
+
erubi (1.8.0)
|
72
|
+
et-orbi (1.2.1)
|
73
|
+
tzinfo
|
74
|
+
globalid (0.4.2)
|
75
|
+
activesupport (>= 4.2.0)
|
76
|
+
httpclient (2.8.3)
|
77
|
+
i18n (1.6.0)
|
78
|
+
concurrent-ruby (~> 1.0)
|
79
|
+
imperium (0.5.1)
|
80
|
+
addressable (~> 2.5)
|
81
|
+
httpclient (~> 2.8)
|
82
|
+
loofah (2.2.3)
|
83
|
+
crass (~> 1.0.2)
|
84
|
+
nokogiri (>= 1.5.9)
|
85
|
+
mail (2.7.1)
|
86
|
+
mini_mime (>= 0.1.1)
|
87
|
+
marcel (0.3.3)
|
88
|
+
mimemagic (~> 0.3.2)
|
89
|
+
method_source (0.9.2)
|
90
|
+
mimemagic (0.3.3)
|
91
|
+
mini_mime (1.0.2)
|
92
|
+
mini_portile2 (2.4.0)
|
93
|
+
minitest (5.11.3)
|
94
|
+
multi_json (1.13.1)
|
95
|
+
mustermann (1.0.0.beta2)
|
96
|
+
nio4r (2.4.0)
|
97
|
+
nokogiri (1.10.4)
|
98
|
+
mini_portile2 (~> 2.4.0)
|
99
|
+
pg (0.21.0)
|
100
|
+
pry (0.12.2)
|
101
|
+
coderay (~> 1.1.0)
|
102
|
+
method_source (~> 0.9.0)
|
103
|
+
public_suffix (3.1.1)
|
104
|
+
rack (2.0.7)
|
105
|
+
rack-protection (2.0.0.beta2)
|
106
|
+
rack
|
107
|
+
rack-test (1.1.0)
|
108
|
+
rack (>= 1.0, < 3)
|
109
|
+
rails (5.2.3)
|
110
|
+
actioncable (= 5.2.3)
|
111
|
+
actionmailer (= 5.2.3)
|
112
|
+
actionpack (= 5.2.3)
|
113
|
+
actionview (= 5.2.3)
|
114
|
+
activejob (= 5.2.3)
|
115
|
+
activemodel (= 5.2.3)
|
116
|
+
activerecord (= 5.2.3)
|
117
|
+
activestorage (= 5.2.3)
|
118
|
+
activesupport (= 5.2.3)
|
119
|
+
bundler (>= 1.3.0)
|
120
|
+
railties (= 5.2.3)
|
121
|
+
sprockets-rails (>= 2.0.0)
|
122
|
+
rails-dom-testing (2.0.3)
|
123
|
+
activesupport (>= 4.2.0)
|
124
|
+
nokogiri (>= 1.6)
|
125
|
+
rails-html-sanitizer (1.2.0)
|
126
|
+
loofah (~> 2.2, >= 2.2.2)
|
127
|
+
railties (5.2.3)
|
128
|
+
actionpack (= 5.2.3)
|
129
|
+
activesupport (= 5.2.3)
|
130
|
+
method_source
|
131
|
+
rake (>= 0.8.7)
|
132
|
+
thor (>= 0.19.0, < 2.0)
|
133
|
+
rake (12.3.3)
|
134
|
+
redis (4.1.2)
|
135
|
+
redis-scripting (1.0.1)
|
136
|
+
redis (>= 3.0)
|
137
|
+
rspec (3.8.0)
|
138
|
+
rspec-core (~> 3.8.0)
|
139
|
+
rspec-expectations (~> 3.8.0)
|
140
|
+
rspec-mocks (~> 3.8.0)
|
141
|
+
rspec-core (3.8.2)
|
142
|
+
rspec-support (~> 3.8.0)
|
143
|
+
rspec-expectations (3.8.4)
|
144
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
145
|
+
rspec-support (~> 3.8.0)
|
146
|
+
rspec-mocks (3.8.1)
|
147
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
148
|
+
rspec-support (~> 3.8.0)
|
149
|
+
rspec-support (3.8.2)
|
150
|
+
rufus-scheduler (3.4.2)
|
151
|
+
et-orbi (~> 1.0)
|
152
|
+
sinatra (2.0.0.beta2)
|
153
|
+
mustermann (= 1.0.0.beta2)
|
154
|
+
rack (~> 2.0)
|
155
|
+
rack-protection (= 2.0.0.beta2)
|
156
|
+
tilt (~> 2.0)
|
157
|
+
sinatra-contrib (2.0.0.beta2)
|
158
|
+
backports (>= 2.0)
|
159
|
+
multi_json
|
160
|
+
mustermann (= 1.0.0.beta2)
|
161
|
+
rack-protection (= 2.0.0.beta2)
|
162
|
+
rack-test
|
163
|
+
sinatra (= 2.0.0.beta2)
|
164
|
+
tilt (>= 1.3, < 3)
|
165
|
+
sprockets (3.7.2)
|
166
|
+
concurrent-ruby (~> 1.0)
|
167
|
+
rack (> 1, < 3)
|
168
|
+
sprockets-rails (3.2.1)
|
169
|
+
actionpack (>= 4.0)
|
170
|
+
activesupport (>= 4.0)
|
171
|
+
sprockets (>= 3.0.0)
|
172
|
+
thor (0.20.3)
|
173
|
+
thread_safe (0.3.6)
|
174
|
+
tilt (2.0.9)
|
175
|
+
timecop (0.7.1)
|
176
|
+
tzinfo (1.2.5)
|
177
|
+
thread_safe (~> 0.1)
|
178
|
+
websocket-driver (0.7.1)
|
179
|
+
websocket-extensions (>= 0.1.0)
|
180
|
+
websocket-extensions (0.1.4)
|
181
|
+
wwtd (1.3.0)
|
182
|
+
|
183
|
+
PLATFORMS
|
184
|
+
ruby
|
185
|
+
|
186
|
+
DEPENDENCIES
|
187
|
+
bump
|
188
|
+
byebug
|
189
|
+
database_cleaner (= 1.6.1)
|
190
|
+
imperium (>= 0.2.3)
|
191
|
+
inst-jobs!
|
192
|
+
pg (< 1.0)
|
193
|
+
pry
|
194
|
+
rack-test
|
195
|
+
rails (~> 5.2.0)
|
196
|
+
rake
|
197
|
+
rspec (~> 3.8.0)
|
198
|
+
sinatra (= 2.0.0.beta2)
|
199
|
+
sinatra-contrib (= 2.0.0.beta2)
|
200
|
+
timecop (= 0.7.1)
|
201
|
+
wwtd (~> 1.3.0)
|
202
|
+
|
203
|
+
BUNDLED WITH
|
204
|
+
1.16.1
|
@@ -0,0 +1,220 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
inst-jobs (0.15.12)
|
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 (6.0.0.rc2)
|
17
|
+
actionpack (= 6.0.0.rc2)
|
18
|
+
nio4r (~> 2.0)
|
19
|
+
websocket-driver (>= 0.6.1)
|
20
|
+
actionmailbox (6.0.0.rc2)
|
21
|
+
actionpack (= 6.0.0.rc2)
|
22
|
+
activejob (= 6.0.0.rc2)
|
23
|
+
activerecord (= 6.0.0.rc2)
|
24
|
+
activestorage (= 6.0.0.rc2)
|
25
|
+
activesupport (= 6.0.0.rc2)
|
26
|
+
mail (>= 2.7.1)
|
27
|
+
actionmailer (6.0.0.rc2)
|
28
|
+
actionpack (= 6.0.0.rc2)
|
29
|
+
actionview (= 6.0.0.rc2)
|
30
|
+
activejob (= 6.0.0.rc2)
|
31
|
+
mail (~> 2.5, >= 2.5.4)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
actionpack (6.0.0.rc2)
|
34
|
+
actionview (= 6.0.0.rc2)
|
35
|
+
activesupport (= 6.0.0.rc2)
|
36
|
+
rack (~> 2.0)
|
37
|
+
rack-test (>= 0.6.3)
|
38
|
+
rails-dom-testing (~> 2.0)
|
39
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
40
|
+
actiontext (6.0.0.rc2)
|
41
|
+
actionpack (= 6.0.0.rc2)
|
42
|
+
activerecord (= 6.0.0.rc2)
|
43
|
+
activestorage (= 6.0.0.rc2)
|
44
|
+
activesupport (= 6.0.0.rc2)
|
45
|
+
nokogiri (>= 1.8.5)
|
46
|
+
actionview (6.0.0.rc2)
|
47
|
+
activesupport (= 6.0.0.rc2)
|
48
|
+
builder (~> 3.1)
|
49
|
+
erubi (~> 1.4)
|
50
|
+
rails-dom-testing (~> 2.0)
|
51
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
52
|
+
activejob (6.0.0.rc2)
|
53
|
+
activesupport (= 6.0.0.rc2)
|
54
|
+
globalid (>= 0.3.6)
|
55
|
+
activemodel (6.0.0.rc2)
|
56
|
+
activesupport (= 6.0.0.rc2)
|
57
|
+
activerecord (6.0.0.rc2)
|
58
|
+
activemodel (= 6.0.0.rc2)
|
59
|
+
activesupport (= 6.0.0.rc2)
|
60
|
+
activestorage (6.0.0.rc2)
|
61
|
+
actionpack (= 6.0.0.rc2)
|
62
|
+
activejob (= 6.0.0.rc2)
|
63
|
+
activerecord (= 6.0.0.rc2)
|
64
|
+
marcel (~> 0.3.1)
|
65
|
+
activesupport (6.0.0.rc2)
|
66
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
67
|
+
i18n (>= 0.7, < 2)
|
68
|
+
minitest (~> 5.1)
|
69
|
+
tzinfo (~> 1.1)
|
70
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
71
|
+
addressable (2.6.0)
|
72
|
+
public_suffix (>= 2.0.2, < 4.0)
|
73
|
+
after_transaction_commit (2.0.0)
|
74
|
+
activerecord (>= 5.0)
|
75
|
+
backports (3.15.0)
|
76
|
+
builder (3.2.3)
|
77
|
+
bump (0.8.0)
|
78
|
+
byebug (11.0.1)
|
79
|
+
coderay (1.1.2)
|
80
|
+
concurrent-ruby (1.1.5)
|
81
|
+
crass (1.0.4)
|
82
|
+
database_cleaner (1.6.1)
|
83
|
+
diff-lcs (1.3)
|
84
|
+
erubi (1.8.0)
|
85
|
+
et-orbi (1.2.1)
|
86
|
+
tzinfo
|
87
|
+
globalid (0.4.2)
|
88
|
+
activesupport (>= 4.2.0)
|
89
|
+
httpclient (2.8.3)
|
90
|
+
i18n (1.6.0)
|
91
|
+
concurrent-ruby (~> 1.0)
|
92
|
+
imperium (0.5.1)
|
93
|
+
addressable (~> 2.5)
|
94
|
+
httpclient (~> 2.8)
|
95
|
+
loofah (2.2.3)
|
96
|
+
crass (~> 1.0.2)
|
97
|
+
nokogiri (>= 1.5.9)
|
98
|
+
mail (2.7.1)
|
99
|
+
mini_mime (>= 0.1.1)
|
100
|
+
marcel (0.3.3)
|
101
|
+
mimemagic (~> 0.3.2)
|
102
|
+
method_source (0.9.2)
|
103
|
+
mimemagic (0.3.3)
|
104
|
+
mini_mime (1.0.2)
|
105
|
+
mini_portile2 (2.4.0)
|
106
|
+
minitest (5.11.3)
|
107
|
+
multi_json (1.13.1)
|
108
|
+
mustermann (1.0.0.beta2)
|
109
|
+
nio4r (2.4.0)
|
110
|
+
nokogiri (1.10.4)
|
111
|
+
mini_portile2 (~> 2.4.0)
|
112
|
+
pg (0.21.0)
|
113
|
+
pry (0.12.2)
|
114
|
+
coderay (~> 1.1.0)
|
115
|
+
method_source (~> 0.9.0)
|
116
|
+
public_suffix (3.1.1)
|
117
|
+
rack (2.0.7)
|
118
|
+
rack-protection (2.0.0.beta2)
|
119
|
+
rack
|
120
|
+
rack-test (1.1.0)
|
121
|
+
rack (>= 1.0, < 3)
|
122
|
+
rails (6.0.0.rc2)
|
123
|
+
actioncable (= 6.0.0.rc2)
|
124
|
+
actionmailbox (= 6.0.0.rc2)
|
125
|
+
actionmailer (= 6.0.0.rc2)
|
126
|
+
actionpack (= 6.0.0.rc2)
|
127
|
+
actiontext (= 6.0.0.rc2)
|
128
|
+
actionview (= 6.0.0.rc2)
|
129
|
+
activejob (= 6.0.0.rc2)
|
130
|
+
activemodel (= 6.0.0.rc2)
|
131
|
+
activerecord (= 6.0.0.rc2)
|
132
|
+
activestorage (= 6.0.0.rc2)
|
133
|
+
activesupport (= 6.0.0.rc2)
|
134
|
+
bundler (>= 1.3.0)
|
135
|
+
railties (= 6.0.0.rc2)
|
136
|
+
sprockets-rails (>= 2.0.0)
|
137
|
+
rails-dom-testing (2.0.3)
|
138
|
+
activesupport (>= 4.2.0)
|
139
|
+
nokogiri (>= 1.6)
|
140
|
+
rails-html-sanitizer (1.2.0)
|
141
|
+
loofah (~> 2.2, >= 2.2.2)
|
142
|
+
railties (6.0.0.rc2)
|
143
|
+
actionpack (= 6.0.0.rc2)
|
144
|
+
activesupport (= 6.0.0.rc2)
|
145
|
+
method_source
|
146
|
+
rake (>= 0.8.7)
|
147
|
+
thor (>= 0.20.3, < 2.0)
|
148
|
+
rake (12.3.3)
|
149
|
+
redis (4.1.2)
|
150
|
+
redis-scripting (1.0.1)
|
151
|
+
redis (>= 3.0)
|
152
|
+
rspec (3.8.0)
|
153
|
+
rspec-core (~> 3.8.0)
|
154
|
+
rspec-expectations (~> 3.8.0)
|
155
|
+
rspec-mocks (~> 3.8.0)
|
156
|
+
rspec-core (3.8.2)
|
157
|
+
rspec-support (~> 3.8.0)
|
158
|
+
rspec-expectations (3.8.4)
|
159
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
160
|
+
rspec-support (~> 3.8.0)
|
161
|
+
rspec-mocks (3.8.1)
|
162
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
163
|
+
rspec-support (~> 3.8.0)
|
164
|
+
rspec-support (3.8.2)
|
165
|
+
rufus-scheduler (3.4.2)
|
166
|
+
et-orbi (~> 1.0)
|
167
|
+
sinatra (2.0.0.beta2)
|
168
|
+
mustermann (= 1.0.0.beta2)
|
169
|
+
rack (~> 2.0)
|
170
|
+
rack-protection (= 2.0.0.beta2)
|
171
|
+
tilt (~> 2.0)
|
172
|
+
sinatra-contrib (2.0.0.beta2)
|
173
|
+
backports (>= 2.0)
|
174
|
+
multi_json
|
175
|
+
mustermann (= 1.0.0.beta2)
|
176
|
+
rack-protection (= 2.0.0.beta2)
|
177
|
+
rack-test
|
178
|
+
sinatra (= 2.0.0.beta2)
|
179
|
+
tilt (>= 1.3, < 3)
|
180
|
+
sprockets (3.7.2)
|
181
|
+
concurrent-ruby (~> 1.0)
|
182
|
+
rack (> 1, < 3)
|
183
|
+
sprockets-rails (3.2.1)
|
184
|
+
actionpack (>= 4.0)
|
185
|
+
activesupport (>= 4.0)
|
186
|
+
sprockets (>= 3.0.0)
|
187
|
+
thor (0.20.3)
|
188
|
+
thread_safe (0.3.6)
|
189
|
+
tilt (2.0.9)
|
190
|
+
timecop (0.7.1)
|
191
|
+
tzinfo (1.2.5)
|
192
|
+
thread_safe (~> 0.1)
|
193
|
+
websocket-driver (0.7.1)
|
194
|
+
websocket-extensions (>= 0.1.0)
|
195
|
+
websocket-extensions (0.1.4)
|
196
|
+
wwtd (1.3.0)
|
197
|
+
zeitwerk (2.1.9)
|
198
|
+
|
199
|
+
PLATFORMS
|
200
|
+
ruby
|
201
|
+
|
202
|
+
DEPENDENCIES
|
203
|
+
bump
|
204
|
+
byebug
|
205
|
+
database_cleaner (= 1.6.1)
|
206
|
+
imperium (>= 0.2.3)
|
207
|
+
inst-jobs!
|
208
|
+
pg (< 1.0)
|
209
|
+
pry
|
210
|
+
rack-test
|
211
|
+
rails (= 6.0.0rc2)
|
212
|
+
rake
|
213
|
+
rspec (~> 3.8.0)
|
214
|
+
sinatra (= 2.0.0.beta2)
|
215
|
+
sinatra-contrib (= 2.0.0.beta2)
|
216
|
+
timecop (= 0.7.1)
|
217
|
+
wwtd (~> 1.3.0)
|
218
|
+
|
219
|
+
BUNDLED WITH
|
220
|
+
2.0.2
|
data/spec/spec_helper.rb
CHANGED
@@ -60,6 +60,8 @@ end
|
|
60
60
|
def migrate(file)
|
61
61
|
if ::Rails.version < '5.2'
|
62
62
|
ActiveRecord::Migrator.migrate(file)
|
63
|
+
elsif ::Rails.version >= '6'
|
64
|
+
ActiveRecord::MigrationContext.new(file, ActiveRecord::SchemaMigration).migrate
|
63
65
|
else
|
64
66
|
ActiveRecord::MigrationContext.new(file).migrate
|
65
67
|
end
|
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.13
|
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: 2019-
|
12
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -309,14 +309,14 @@ dependencies:
|
|
309
309
|
requirements:
|
310
310
|
- - "~>"
|
311
311
|
- !ruby/object:Gem::Version
|
312
|
-
version: 1.
|
312
|
+
version: 1.4.0
|
313
313
|
type: :development
|
314
314
|
prerelease: false
|
315
315
|
version_requirements: !ruby/object:Gem::Requirement
|
316
316
|
requirements:
|
317
317
|
- - "~>"
|
318
318
|
- !ruby/object:Gem::Version
|
319
|
-
version: 1.
|
319
|
+
version: 1.4.0
|
320
320
|
description:
|
321
321
|
email:
|
322
322
|
- brianp@instructure.com
|
@@ -415,6 +415,9 @@ files:
|
|
415
415
|
- spec/gemfiles/51.gemfile
|
416
416
|
- spec/gemfiles/51.gemfile.lock
|
417
417
|
- spec/gemfiles/52.gemfile
|
418
|
+
- spec/gemfiles/52.gemfile.lock
|
419
|
+
- spec/gemfiles/60.gemfile
|
420
|
+
- spec/gemfiles/60.gemfile.lock
|
418
421
|
- spec/migrate/20140924140513_add_story_table.rb
|
419
422
|
- spec/redis_job_spec.rb
|
420
423
|
- spec/sample_jobs.rb
|
@@ -453,11 +456,14 @@ test_files:
|
|
453
456
|
- spec/spec_helper.rb
|
454
457
|
- spec/redis_job_spec.rb
|
455
458
|
- spec/gemfiles/51.gemfile.lock
|
459
|
+
- spec/gemfiles/60.gemfile.lock
|
456
460
|
- spec/gemfiles/42.gemfile.lock
|
457
461
|
- spec/gemfiles/50.gemfile.lock
|
462
|
+
- spec/gemfiles/60.gemfile
|
458
463
|
- spec/gemfiles/42.gemfile
|
459
464
|
- spec/gemfiles/52.gemfile
|
460
465
|
- spec/gemfiles/50.gemfile
|
466
|
+
- spec/gemfiles/52.gemfile.lock
|
461
467
|
- spec/gemfiles/51.gemfile
|
462
468
|
- spec/shared_jobs_specs.rb
|
463
469
|
- spec/shared/performable_method.rb
|