cloudtasker 0.10.2 → 0.11.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +5 -1
- data/CHANGELOG.md +0 -16
- data/app/controllers/cloudtasker/application_controller.rb +8 -0
- data/app/controllers/cloudtasker/worker_controller.rb +16 -8
- data/gemfiles/google_cloud_tasks_1.0.gemfile.lock +147 -198
- data/gemfiles/google_cloud_tasks_1.1.gemfile.lock +147 -198
- data/gemfiles/google_cloud_tasks_1.2.gemfile.lock +147 -198
- data/gemfiles/google_cloud_tasks_1.3.gemfile.lock +147 -198
- data/gemfiles/rails_5.2.gemfile.lock +82 -134
- data/gemfiles/rails_6.0.gemfile.lock +83 -135
- data/lib/cloudtasker/missing_worker_arguments_error.rb +6 -0
- data/lib/cloudtasker/version.rb +1 -1
- data/lib/cloudtasker/worker.rb +7 -0
- data/lib/cloudtasker/worker_handler.rb +1 -1
- data/lib/cloudtasker.rb +1 -1
- metadata +9 -7
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudtasker (0.
|
4
|
+
cloudtasker (0.11.rc1)
|
5
5
|
activesupport
|
6
6
|
connection_pool
|
7
7
|
fugit
|
@@ -54,80 +54,41 @@ GEM
|
|
54
54
|
i18n (>= 0.7, < 2)
|
55
55
|
minitest (~> 5.1)
|
56
56
|
tzinfo (~> 1.1)
|
57
|
-
addressable (2.
|
57
|
+
addressable (2.7.0)
|
58
58
|
public_suffix (>= 2.0.2, < 5.0)
|
59
|
-
appraisal (2.
|
59
|
+
appraisal (2.2.0)
|
60
60
|
bundler
|
61
61
|
rake
|
62
62
|
thor (>= 0.14.0)
|
63
63
|
arel (9.0.0)
|
64
|
-
ast (2.4.
|
65
|
-
async (1.30.1)
|
66
|
-
console (~> 1.10)
|
67
|
-
nio4r (~> 2.3)
|
68
|
-
timers (~> 4.1)
|
69
|
-
async-http (0.56.5)
|
70
|
-
async (>= 1.25)
|
71
|
-
async-io (>= 1.28)
|
72
|
-
async-pool (>= 0.2)
|
73
|
-
protocol-http (~> 0.22.0)
|
74
|
-
protocol-http1 (~> 0.14.0)
|
75
|
-
protocol-http2 (~> 0.14.0)
|
76
|
-
async-http-faraday (0.11.0)
|
77
|
-
async-http (~> 0.42)
|
78
|
-
faraday
|
79
|
-
async-io (1.32.2)
|
80
|
-
async
|
81
|
-
async-pool (0.3.8)
|
82
|
-
async (>= 1.25)
|
64
|
+
ast (2.4.0)
|
83
65
|
builder (3.2.4)
|
84
|
-
concurrent-ruby (1.1.
|
85
|
-
connection_pool (2.2.
|
86
|
-
|
87
|
-
|
88
|
-
crack (0.4.5)
|
89
|
-
rexml
|
66
|
+
concurrent-ruby (1.1.6)
|
67
|
+
connection_pool (2.2.3)
|
68
|
+
crack (0.4.3)
|
69
|
+
safe_yaml (~> 1.0.0)
|
90
70
|
crass (1.0.6)
|
91
|
-
diff-lcs (1.
|
92
|
-
erubi (1.
|
71
|
+
diff-lcs (1.3)
|
72
|
+
erubi (1.9.0)
|
93
73
|
et-orbi (1.2.4)
|
94
74
|
tzinfo
|
95
|
-
faraday (1.
|
96
|
-
faraday-em_http (~> 1.0)
|
97
|
-
faraday-em_synchrony (~> 1.0)
|
98
|
-
faraday-excon (~> 1.1)
|
99
|
-
faraday-httpclient (~> 1.0.1)
|
100
|
-
faraday-net_http (~> 1.0)
|
101
|
-
faraday-net_http_persistent (~> 1.1)
|
102
|
-
faraday-patron (~> 1.0)
|
103
|
-
faraday-rack (~> 1.0)
|
75
|
+
faraday (1.0.1)
|
104
76
|
multipart-post (>= 1.2, < 3)
|
105
|
-
ruby2_keywords (>= 0.0.4)
|
106
|
-
faraday-em_http (1.0.0)
|
107
|
-
faraday-em_synchrony (1.0.0)
|
108
|
-
faraday-excon (1.1.0)
|
109
77
|
faraday-http-cache (2.2.0)
|
110
78
|
faraday (>= 0.8)
|
111
|
-
|
112
|
-
faraday-net_http (1.0.1)
|
113
|
-
faraday-net_http_persistent (1.2.0)
|
114
|
-
faraday-patron (1.0.0)
|
115
|
-
faraday-rack (1.0.0)
|
116
|
-
fiber-local (1.0.0)
|
117
|
-
fugit (1.5.1)
|
79
|
+
fugit (1.3.9)
|
118
80
|
et-orbi (~> 1.1, >= 1.1.8)
|
119
|
-
raabro (~> 1.
|
120
|
-
github_changelog_generator (1.
|
81
|
+
raabro (~> 1.3)
|
82
|
+
github_changelog_generator (1.15.2)
|
121
83
|
activesupport
|
122
|
-
async (>= 1.25.0)
|
123
|
-
async-http-faraday
|
124
84
|
faraday-http-cache
|
125
85
|
multi_json
|
126
86
|
octokit (~> 4.6)
|
127
87
|
rainbow (>= 2.2.1)
|
128
88
|
rake (>= 10.0)
|
129
|
-
|
130
|
-
|
89
|
+
retriable (~> 3.0)
|
90
|
+
globalid (0.4.2)
|
91
|
+
activesupport (>= 4.2.0)
|
131
92
|
google-cloud-tasks (1.5.1)
|
132
93
|
google-gax (~> 1.8)
|
133
94
|
googleapis-common-protos (>= 1.3.9, < 2.0)
|
@@ -139,33 +100,33 @@ GEM
|
|
139
100
|
googleauth (~> 0.9)
|
140
101
|
grpc (~> 1.24)
|
141
102
|
rly (~> 0.2.3)
|
142
|
-
google-protobuf (3.
|
143
|
-
googleapis-common-protos (1.3.
|
144
|
-
google-protobuf (~> 3.
|
145
|
-
googleapis-common-protos-types (>= 1.0.
|
103
|
+
google-protobuf (3.13.0-universal-darwin)
|
104
|
+
googleapis-common-protos (1.3.10)
|
105
|
+
google-protobuf (~> 3.11)
|
106
|
+
googleapis-common-protos-types (>= 1.0.5, < 2.0)
|
146
107
|
grpc (~> 1.27)
|
147
|
-
googleapis-common-protos-types (1.
|
148
|
-
google-protobuf (~> 3.
|
149
|
-
googleauth (0.
|
108
|
+
googleapis-common-protos-types (1.0.5)
|
109
|
+
google-protobuf (~> 3.11)
|
110
|
+
googleauth (0.14.0)
|
150
111
|
faraday (>= 0.17.3, < 2.0)
|
151
112
|
jwt (>= 1.4, < 3.0)
|
152
113
|
memoist (~> 0.16)
|
153
114
|
multi_json (~> 1.11)
|
154
115
|
os (>= 0.9, < 2.0)
|
155
116
|
signet (~> 0.14)
|
156
|
-
grpc (1.
|
157
|
-
google-protobuf (~> 3.
|
117
|
+
grpc (1.32.0-universal-darwin)
|
118
|
+
google-protobuf (~> 3.13)
|
158
119
|
googleapis-common-protos-types (~> 1.0)
|
159
|
-
grpc-google-iam-v1 (0.6.
|
160
|
-
google-protobuf (~> 3.
|
161
|
-
googleapis-common-protos (>= 1.3.
|
120
|
+
grpc-google-iam-v1 (0.6.10)
|
121
|
+
google-protobuf (~> 3.11)
|
122
|
+
googleapis-common-protos (>= 1.3.10, < 2.0)
|
162
123
|
grpc (~> 1.27)
|
163
124
|
hashdiff (1.0.1)
|
164
|
-
i18n (1.8.
|
125
|
+
i18n (1.8.2)
|
165
126
|
concurrent-ruby (~> 1.0)
|
166
127
|
jaro_winkler (1.5.4)
|
167
|
-
jwt (2.2.
|
168
|
-
loofah (2.
|
128
|
+
jwt (2.2.2)
|
129
|
+
loofah (2.5.0)
|
169
130
|
crass (~> 1.0.2)
|
170
131
|
nokogiri (>= 1.5.9)
|
171
132
|
mail (2.7.1)
|
@@ -174,36 +135,25 @@ GEM
|
|
174
135
|
mimemagic (~> 0.3.2)
|
175
136
|
memoist (0.16.2)
|
176
137
|
method_source (1.0.0)
|
177
|
-
mimemagic (0.3.
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
minitest (5.14.4)
|
183
|
-
multi_json (1.15.0)
|
138
|
+
mimemagic (0.3.4)
|
139
|
+
mini_mime (1.0.2)
|
140
|
+
mini_portile2 (2.4.0)
|
141
|
+
minitest (5.14.0)
|
142
|
+
multi_json (1.14.1)
|
184
143
|
multipart-post (2.1.1)
|
185
|
-
nio4r (2.5.
|
186
|
-
nokogiri (1.
|
187
|
-
mini_portile2 (~> 2.
|
188
|
-
|
189
|
-
octokit (4.21.0)
|
144
|
+
nio4r (2.5.2)
|
145
|
+
nokogiri (1.10.9)
|
146
|
+
mini_portile2 (~> 2.4.0)
|
147
|
+
octokit (4.18.0)
|
190
148
|
faraday (>= 0.9)
|
191
149
|
sawyer (~> 0.8.0, >= 0.5.3)
|
192
150
|
os (1.1.1)
|
193
|
-
parallel (1.
|
194
|
-
parser (
|
195
|
-
ast (~> 2.4.
|
196
|
-
|
197
|
-
protocol-http (0.22.5)
|
198
|
-
protocol-http1 (0.14.2)
|
199
|
-
protocol-http (~> 0.22)
|
200
|
-
protocol-http2 (0.14.2)
|
201
|
-
protocol-hpack (~> 1.4)
|
202
|
-
protocol-http (~> 0.18)
|
203
|
-
public_suffix (4.0.6)
|
151
|
+
parallel (1.19.1)
|
152
|
+
parser (2.7.1.1)
|
153
|
+
ast (~> 2.4.0)
|
154
|
+
public_suffix (4.0.4)
|
204
155
|
raabro (1.4.0)
|
205
|
-
|
206
|
-
rack (2.2.3)
|
156
|
+
rack (2.2.2)
|
207
157
|
rack-test (1.1.0)
|
208
158
|
rack (>= 1.0, < 3)
|
209
159
|
rails (5.2.0)
|
@@ -222,7 +172,7 @@ GEM
|
|
222
172
|
rails-dom-testing (2.0.3)
|
223
173
|
activesupport (>= 4.2.0)
|
224
174
|
nokogiri (>= 1.6)
|
225
|
-
rails-html-sanitizer (1.
|
175
|
+
rails-html-sanitizer (1.3.0)
|
226
176
|
loofah (~> 2.3)
|
227
177
|
railties (5.2.0)
|
228
178
|
actionpack (= 5.2.0)
|
@@ -231,32 +181,31 @@ GEM
|
|
231
181
|
rake (>= 0.8.7)
|
232
182
|
thor (>= 0.18.1, < 2.0)
|
233
183
|
rainbow (3.0.0)
|
234
|
-
rake (13.0.
|
235
|
-
redis (4.
|
184
|
+
rake (13.0.1)
|
185
|
+
redis (4.2.2)
|
236
186
|
retriable (3.1.2)
|
237
|
-
rexml (3.2.5)
|
238
187
|
rly (0.2.3)
|
239
|
-
rspec (3.
|
240
|
-
rspec-core (~> 3.
|
241
|
-
rspec-expectations (~> 3.
|
242
|
-
rspec-mocks (~> 3.
|
243
|
-
rspec-core (3.
|
244
|
-
rspec-support (~> 3.
|
245
|
-
rspec-expectations (3.
|
188
|
+
rspec (3.9.0)
|
189
|
+
rspec-core (~> 3.9.0)
|
190
|
+
rspec-expectations (~> 3.9.0)
|
191
|
+
rspec-mocks (~> 3.9.0)
|
192
|
+
rspec-core (3.9.1)
|
193
|
+
rspec-support (~> 3.9.1)
|
194
|
+
rspec-expectations (3.9.1)
|
246
195
|
diff-lcs (>= 1.2.0, < 2.0)
|
247
|
-
rspec-support (~> 3.
|
248
|
-
rspec-mocks (3.
|
196
|
+
rspec-support (~> 3.9.0)
|
197
|
+
rspec-mocks (3.9.1)
|
249
198
|
diff-lcs (>= 1.2.0, < 2.0)
|
250
|
-
rspec-support (~> 3.
|
251
|
-
rspec-rails (
|
252
|
-
actionpack (>=
|
253
|
-
activesupport (>=
|
254
|
-
railties (>=
|
255
|
-
rspec-core (~> 3.
|
256
|
-
rspec-expectations (~> 3.
|
257
|
-
rspec-mocks (~> 3.
|
258
|
-
rspec-support (~> 3.
|
259
|
-
rspec-support (3.
|
199
|
+
rspec-support (~> 3.9.0)
|
200
|
+
rspec-rails (4.0.0)
|
201
|
+
actionpack (>= 4.2)
|
202
|
+
activesupport (>= 4.2)
|
203
|
+
railties (>= 4.2)
|
204
|
+
rspec-core (~> 3.9)
|
205
|
+
rspec-expectations (~> 3.9)
|
206
|
+
rspec-mocks (~> 3.9)
|
207
|
+
rspec-support (~> 3.9)
|
208
|
+
rspec-support (3.9.2)
|
260
209
|
rubocop (0.76.0)
|
261
210
|
jaro_winkler (~> 1.5.1)
|
262
211
|
parallel (~> 1.10)
|
@@ -266,40 +215,39 @@ GEM
|
|
266
215
|
unicode-display_width (>= 1.4.0, < 1.7)
|
267
216
|
rubocop-rspec (1.37.0)
|
268
217
|
rubocop (>= 0.68.1)
|
269
|
-
ruby-progressbar (1.
|
270
|
-
|
218
|
+
ruby-progressbar (1.10.1)
|
219
|
+
safe_yaml (1.0.5)
|
271
220
|
sawyer (0.8.2)
|
272
221
|
addressable (>= 2.3.5)
|
273
222
|
faraday (> 0.8, < 2.0)
|
274
|
-
semantic_logger (4.
|
223
|
+
semantic_logger (4.7.0)
|
275
224
|
concurrent-ruby (~> 1.0)
|
276
|
-
signet (0.
|
225
|
+
signet (0.14.0)
|
277
226
|
addressable (~> 2.3)
|
278
227
|
faraday (>= 0.17.3, < 2.0)
|
279
228
|
jwt (>= 1.5, < 3.0)
|
280
229
|
multi_json (~> 1.10)
|
281
|
-
sprockets (4.0.
|
230
|
+
sprockets (4.0.0)
|
282
231
|
concurrent-ruby (~> 1.0)
|
283
232
|
rack (> 1, < 3)
|
284
|
-
sprockets-rails (3.2.
|
233
|
+
sprockets-rails (3.2.1)
|
285
234
|
actionpack (>= 4.0)
|
286
235
|
activesupport (>= 4.0)
|
287
236
|
sprockets (>= 3.0.0)
|
288
237
|
sqlite3 (1.4.2)
|
289
|
-
thor (1.1
|
238
|
+
thor (1.0.1)
|
290
239
|
thread_safe (0.3.6)
|
291
|
-
timecop (0.9.
|
292
|
-
|
293
|
-
tzinfo (1.2.9)
|
240
|
+
timecop (0.9.1)
|
241
|
+
tzinfo (1.2.7)
|
294
242
|
thread_safe (~> 0.1)
|
295
243
|
unicode-display_width (1.6.1)
|
296
|
-
webmock (3.
|
297
|
-
addressable (>= 2.
|
244
|
+
webmock (3.8.3)
|
245
|
+
addressable (>= 2.3.6)
|
298
246
|
crack (>= 0.3.2)
|
299
247
|
hashdiff (>= 0.4.0, < 2.0.0)
|
300
|
-
websocket-driver (0.7.
|
248
|
+
websocket-driver (0.7.1)
|
301
249
|
websocket-extensions (>= 0.1.0)
|
302
|
-
websocket-extensions (0.1.
|
250
|
+
websocket-extensions (0.1.4)
|
303
251
|
|
304
252
|
PLATFORMS
|
305
253
|
ruby
|
@@ -321,4 +269,4 @@ DEPENDENCIES
|
|
321
269
|
webmock
|
322
270
|
|
323
271
|
BUNDLED WITH
|
324
|
-
2.
|
272
|
+
2.1.4
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudtasker (0.
|
4
|
+
cloudtasker (0.11.rc1)
|
5
5
|
activesupport
|
6
6
|
connection_pool
|
7
7
|
fugit
|
@@ -68,79 +68,40 @@ GEM
|
|
68
68
|
minitest (~> 5.1)
|
69
69
|
tzinfo (~> 1.1)
|
70
70
|
zeitwerk (~> 2.1, >= 2.1.8)
|
71
|
-
addressable (2.
|
71
|
+
addressable (2.7.0)
|
72
72
|
public_suffix (>= 2.0.2, < 5.0)
|
73
|
-
appraisal (2.
|
73
|
+
appraisal (2.2.0)
|
74
74
|
bundler
|
75
75
|
rake
|
76
76
|
thor (>= 0.14.0)
|
77
|
-
ast (2.4.
|
78
|
-
async (1.30.1)
|
79
|
-
console (~> 1.10)
|
80
|
-
nio4r (~> 2.3)
|
81
|
-
timers (~> 4.1)
|
82
|
-
async-http (0.56.5)
|
83
|
-
async (>= 1.25)
|
84
|
-
async-io (>= 1.28)
|
85
|
-
async-pool (>= 0.2)
|
86
|
-
protocol-http (~> 0.22.0)
|
87
|
-
protocol-http1 (~> 0.14.0)
|
88
|
-
protocol-http2 (~> 0.14.0)
|
89
|
-
async-http-faraday (0.11.0)
|
90
|
-
async-http (~> 0.42)
|
91
|
-
faraday
|
92
|
-
async-io (1.32.2)
|
93
|
-
async
|
94
|
-
async-pool (0.3.8)
|
95
|
-
async (>= 1.25)
|
77
|
+
ast (2.4.0)
|
96
78
|
builder (3.2.4)
|
97
|
-
concurrent-ruby (1.1.
|
98
|
-
connection_pool (2.2.
|
99
|
-
|
100
|
-
|
101
|
-
crack (0.4.5)
|
102
|
-
rexml
|
79
|
+
concurrent-ruby (1.1.6)
|
80
|
+
connection_pool (2.2.3)
|
81
|
+
crack (0.4.3)
|
82
|
+
safe_yaml (~> 1.0.0)
|
103
83
|
crass (1.0.6)
|
104
|
-
diff-lcs (1.
|
105
|
-
erubi (1.
|
84
|
+
diff-lcs (1.3)
|
85
|
+
erubi (1.9.0)
|
106
86
|
et-orbi (1.2.4)
|
107
87
|
tzinfo
|
108
|
-
faraday (1.
|
109
|
-
faraday-em_http (~> 1.0)
|
110
|
-
faraday-em_synchrony (~> 1.0)
|
111
|
-
faraday-excon (~> 1.1)
|
112
|
-
faraday-httpclient (~> 1.0.1)
|
113
|
-
faraday-net_http (~> 1.0)
|
114
|
-
faraday-net_http_persistent (~> 1.1)
|
115
|
-
faraday-patron (~> 1.0)
|
116
|
-
faraday-rack (~> 1.0)
|
88
|
+
faraday (1.0.1)
|
117
89
|
multipart-post (>= 1.2, < 3)
|
118
|
-
ruby2_keywords (>= 0.0.4)
|
119
|
-
faraday-em_http (1.0.0)
|
120
|
-
faraday-em_synchrony (1.0.0)
|
121
|
-
faraday-excon (1.1.0)
|
122
90
|
faraday-http-cache (2.2.0)
|
123
91
|
faraday (>= 0.8)
|
124
|
-
|
125
|
-
faraday-net_http (1.0.1)
|
126
|
-
faraday-net_http_persistent (1.2.0)
|
127
|
-
faraday-patron (1.0.0)
|
128
|
-
faraday-rack (1.0.0)
|
129
|
-
fiber-local (1.0.0)
|
130
|
-
fugit (1.5.1)
|
92
|
+
fugit (1.3.9)
|
131
93
|
et-orbi (~> 1.1, >= 1.1.8)
|
132
|
-
raabro (~> 1.
|
133
|
-
github_changelog_generator (1.
|
94
|
+
raabro (~> 1.3)
|
95
|
+
github_changelog_generator (1.15.2)
|
134
96
|
activesupport
|
135
|
-
async (>= 1.25.0)
|
136
|
-
async-http-faraday
|
137
97
|
faraday-http-cache
|
138
98
|
multi_json
|
139
99
|
octokit (~> 4.6)
|
140
100
|
rainbow (>= 2.2.1)
|
141
101
|
rake (>= 10.0)
|
142
|
-
|
143
|
-
|
102
|
+
retriable (~> 3.0)
|
103
|
+
globalid (0.4.2)
|
104
|
+
activesupport (>= 4.2.0)
|
144
105
|
google-cloud-tasks (1.5.1)
|
145
106
|
google-gax (~> 1.8)
|
146
107
|
googleapis-common-protos (>= 1.3.9, < 2.0)
|
@@ -152,33 +113,33 @@ GEM
|
|
152
113
|
googleauth (~> 0.9)
|
153
114
|
grpc (~> 1.24)
|
154
115
|
rly (~> 0.2.3)
|
155
|
-
google-protobuf (3.
|
156
|
-
googleapis-common-protos (1.3.
|
157
|
-
google-protobuf (~> 3.
|
158
|
-
googleapis-common-protos-types (>= 1.0.
|
116
|
+
google-protobuf (3.13.0-universal-darwin)
|
117
|
+
googleapis-common-protos (1.3.10)
|
118
|
+
google-protobuf (~> 3.11)
|
119
|
+
googleapis-common-protos-types (>= 1.0.5, < 2.0)
|
159
120
|
grpc (~> 1.27)
|
160
|
-
googleapis-common-protos-types (1.
|
161
|
-
google-protobuf (~> 3.
|
162
|
-
googleauth (0.
|
121
|
+
googleapis-common-protos-types (1.0.5)
|
122
|
+
google-protobuf (~> 3.11)
|
123
|
+
googleauth (0.14.0)
|
163
124
|
faraday (>= 0.17.3, < 2.0)
|
164
125
|
jwt (>= 1.4, < 3.0)
|
165
126
|
memoist (~> 0.16)
|
166
127
|
multi_json (~> 1.11)
|
167
128
|
os (>= 0.9, < 2.0)
|
168
129
|
signet (~> 0.14)
|
169
|
-
grpc (1.
|
170
|
-
google-protobuf (~> 3.
|
130
|
+
grpc (1.32.0-universal-darwin)
|
131
|
+
google-protobuf (~> 3.13)
|
171
132
|
googleapis-common-protos-types (~> 1.0)
|
172
|
-
grpc-google-iam-v1 (0.6.
|
173
|
-
google-protobuf (~> 3.
|
174
|
-
googleapis-common-protos (>= 1.3.
|
133
|
+
grpc-google-iam-v1 (0.6.10)
|
134
|
+
google-protobuf (~> 3.11)
|
135
|
+
googleapis-common-protos (>= 1.3.10, < 2.0)
|
175
136
|
grpc (~> 1.27)
|
176
137
|
hashdiff (1.0.1)
|
177
|
-
i18n (1.8.
|
138
|
+
i18n (1.8.2)
|
178
139
|
concurrent-ruby (~> 1.0)
|
179
140
|
jaro_winkler (1.5.4)
|
180
|
-
jwt (2.2.
|
181
|
-
loofah (2.
|
141
|
+
jwt (2.2.2)
|
142
|
+
loofah (2.5.0)
|
182
143
|
crass (~> 1.0.2)
|
183
144
|
nokogiri (>= 1.5.9)
|
184
145
|
mail (2.7.1)
|
@@ -187,36 +148,25 @@ GEM
|
|
187
148
|
mimemagic (~> 0.3.2)
|
188
149
|
memoist (0.16.2)
|
189
150
|
method_source (1.0.0)
|
190
|
-
mimemagic (0.3.
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
minitest (5.14.4)
|
196
|
-
multi_json (1.15.0)
|
151
|
+
mimemagic (0.3.4)
|
152
|
+
mini_mime (1.0.2)
|
153
|
+
mini_portile2 (2.4.0)
|
154
|
+
minitest (5.14.0)
|
155
|
+
multi_json (1.14.1)
|
197
156
|
multipart-post (2.1.1)
|
198
|
-
nio4r (2.5.
|
199
|
-
nokogiri (1.
|
200
|
-
mini_portile2 (~> 2.
|
201
|
-
|
202
|
-
octokit (4.21.0)
|
157
|
+
nio4r (2.5.2)
|
158
|
+
nokogiri (1.10.9)
|
159
|
+
mini_portile2 (~> 2.4.0)
|
160
|
+
octokit (4.18.0)
|
203
161
|
faraday (>= 0.9)
|
204
162
|
sawyer (~> 0.8.0, >= 0.5.3)
|
205
163
|
os (1.1.1)
|
206
|
-
parallel (1.
|
207
|
-
parser (
|
208
|
-
ast (~> 2.4.
|
209
|
-
|
210
|
-
protocol-http (0.22.5)
|
211
|
-
protocol-http1 (0.14.2)
|
212
|
-
protocol-http (~> 0.22)
|
213
|
-
protocol-http2 (0.14.2)
|
214
|
-
protocol-hpack (~> 1.4)
|
215
|
-
protocol-http (~> 0.18)
|
216
|
-
public_suffix (4.0.6)
|
164
|
+
parallel (1.19.1)
|
165
|
+
parser (2.7.1.1)
|
166
|
+
ast (~> 2.4.0)
|
167
|
+
public_suffix (4.0.4)
|
217
168
|
raabro (1.4.0)
|
218
|
-
|
219
|
-
rack (2.2.3)
|
169
|
+
rack (2.2.2)
|
220
170
|
rack-test (1.1.0)
|
221
171
|
rack (>= 1.0, < 3)
|
222
172
|
rails (6.0.0)
|
@@ -237,7 +187,7 @@ GEM
|
|
237
187
|
rails-dom-testing (2.0.3)
|
238
188
|
activesupport (>= 4.2.0)
|
239
189
|
nokogiri (>= 1.6)
|
240
|
-
rails-html-sanitizer (1.
|
190
|
+
rails-html-sanitizer (1.3.0)
|
241
191
|
loofah (~> 2.3)
|
242
192
|
railties (6.0.0)
|
243
193
|
actionpack (= 6.0.0)
|
@@ -246,32 +196,31 @@ GEM
|
|
246
196
|
rake (>= 0.8.7)
|
247
197
|
thor (>= 0.20.3, < 2.0)
|
248
198
|
rainbow (3.0.0)
|
249
|
-
rake (13.0.
|
250
|
-
redis (4.
|
199
|
+
rake (13.0.1)
|
200
|
+
redis (4.2.2)
|
251
201
|
retriable (3.1.2)
|
252
|
-
rexml (3.2.5)
|
253
202
|
rly (0.2.3)
|
254
|
-
rspec (3.
|
255
|
-
rspec-core (~> 3.
|
256
|
-
rspec-expectations (~> 3.
|
257
|
-
rspec-mocks (~> 3.
|
258
|
-
rspec-core (3.
|
259
|
-
rspec-support (~> 3.
|
260
|
-
rspec-expectations (3.
|
203
|
+
rspec (3.9.0)
|
204
|
+
rspec-core (~> 3.9.0)
|
205
|
+
rspec-expectations (~> 3.9.0)
|
206
|
+
rspec-mocks (~> 3.9.0)
|
207
|
+
rspec-core (3.9.1)
|
208
|
+
rspec-support (~> 3.9.1)
|
209
|
+
rspec-expectations (3.9.1)
|
261
210
|
diff-lcs (>= 1.2.0, < 2.0)
|
262
|
-
rspec-support (~> 3.
|
263
|
-
rspec-mocks (3.
|
211
|
+
rspec-support (~> 3.9.0)
|
212
|
+
rspec-mocks (3.9.1)
|
264
213
|
diff-lcs (>= 1.2.0, < 2.0)
|
265
|
-
rspec-support (~> 3.
|
266
|
-
rspec-rails (
|
267
|
-
actionpack (>=
|
268
|
-
activesupport (>=
|
269
|
-
railties (>=
|
270
|
-
rspec-core (~> 3.
|
271
|
-
rspec-expectations (~> 3.
|
272
|
-
rspec-mocks (~> 3.
|
273
|
-
rspec-support (~> 3.
|
274
|
-
rspec-support (3.
|
214
|
+
rspec-support (~> 3.9.0)
|
215
|
+
rspec-rails (4.0.0)
|
216
|
+
actionpack (>= 4.2)
|
217
|
+
activesupport (>= 4.2)
|
218
|
+
railties (>= 4.2)
|
219
|
+
rspec-core (~> 3.9)
|
220
|
+
rspec-expectations (~> 3.9)
|
221
|
+
rspec-mocks (~> 3.9)
|
222
|
+
rspec-support (~> 3.9)
|
223
|
+
rspec-support (3.9.2)
|
275
224
|
rubocop (0.76.0)
|
276
225
|
jaro_winkler (~> 1.5.1)
|
277
226
|
parallel (~> 1.10)
|
@@ -281,41 +230,40 @@ GEM
|
|
281
230
|
unicode-display_width (>= 1.4.0, < 1.7)
|
282
231
|
rubocop-rspec (1.37.0)
|
283
232
|
rubocop (>= 0.68.1)
|
284
|
-
ruby-progressbar (1.
|
285
|
-
|
233
|
+
ruby-progressbar (1.10.1)
|
234
|
+
safe_yaml (1.0.5)
|
286
235
|
sawyer (0.8.2)
|
287
236
|
addressable (>= 2.3.5)
|
288
237
|
faraday (> 0.8, < 2.0)
|
289
|
-
semantic_logger (4.
|
238
|
+
semantic_logger (4.7.0)
|
290
239
|
concurrent-ruby (~> 1.0)
|
291
|
-
signet (0.
|
240
|
+
signet (0.14.0)
|
292
241
|
addressable (~> 2.3)
|
293
242
|
faraday (>= 0.17.3, < 2.0)
|
294
243
|
jwt (>= 1.5, < 3.0)
|
295
244
|
multi_json (~> 1.10)
|
296
|
-
sprockets (4.0.
|
245
|
+
sprockets (4.0.0)
|
297
246
|
concurrent-ruby (~> 1.0)
|
298
247
|
rack (> 1, < 3)
|
299
|
-
sprockets-rails (3.2.
|
248
|
+
sprockets-rails (3.2.1)
|
300
249
|
actionpack (>= 4.0)
|
301
250
|
activesupport (>= 4.0)
|
302
251
|
sprockets (>= 3.0.0)
|
303
252
|
sqlite3 (1.4.2)
|
304
|
-
thor (1.1
|
253
|
+
thor (1.0.1)
|
305
254
|
thread_safe (0.3.6)
|
306
|
-
timecop (0.9.
|
307
|
-
|
308
|
-
tzinfo (1.2.9)
|
255
|
+
timecop (0.9.1)
|
256
|
+
tzinfo (1.2.7)
|
309
257
|
thread_safe (~> 0.1)
|
310
258
|
unicode-display_width (1.6.1)
|
311
|
-
webmock (3.
|
312
|
-
addressable (>= 2.
|
259
|
+
webmock (3.8.3)
|
260
|
+
addressable (>= 2.3.6)
|
313
261
|
crack (>= 0.3.2)
|
314
262
|
hashdiff (>= 0.4.0, < 2.0.0)
|
315
|
-
websocket-driver (0.7.
|
263
|
+
websocket-driver (0.7.1)
|
316
264
|
websocket-extensions (>= 0.1.0)
|
317
|
-
websocket-extensions (0.1.
|
318
|
-
zeitwerk (2.
|
265
|
+
websocket-extensions (0.1.4)
|
266
|
+
zeitwerk (2.3.0)
|
319
267
|
|
320
268
|
PLATFORMS
|
321
269
|
ruby
|
@@ -337,4 +285,4 @@ DEPENDENCIES
|
|
337
285
|
webmock
|
338
286
|
|
339
287
|
BUNDLED WITH
|
340
|
-
2.
|
288
|
+
2.1.4
|
data/lib/cloudtasker/version.rb
CHANGED
data/lib/cloudtasker/worker.rb
CHANGED
@@ -347,6 +347,13 @@ module Cloudtasker
|
|
347
347
|
|
348
348
|
Cloudtasker.config.server_middleware.invoke(self) do
|
349
349
|
begin
|
350
|
+
# Abort if arguments are missing. This may happen with redis arguments storage
|
351
|
+
# if Cloud Tasks times out on a job but the job still succeeds
|
352
|
+
if job_args.empty? && [0, -1].exclude?(method(:perform).arity)
|
353
|
+
raise(MissingWorkerArgumentsError, 'worker arguments are missing')
|
354
|
+
end
|
355
|
+
|
356
|
+
# Perform the job
|
350
357
|
perform(*job_args)
|
351
358
|
rescue StandardError => e
|
352
359
|
try(:on_error, e)
|