cloudtasker 0.12.rc10 → 0.12.2
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 +1 -5
- data/CHANGELOG.md +44 -3
- data/README.md +56 -6
- data/app/controllers/cloudtasker/worker_controller.rb +4 -1
- data/docs/BATCH_JOBS.md +2 -2
- data/docs/CRON_JOBS.md +39 -0
- data/gemfiles/google_cloud_tasks_1.0.gemfile.lock +135 -125
- data/gemfiles/google_cloud_tasks_1.1.gemfile.lock +135 -125
- data/gemfiles/google_cloud_tasks_1.2.gemfile.lock +135 -125
- data/gemfiles/google_cloud_tasks_1.3.gemfile.lock +135 -125
- data/gemfiles/rails_5.2.gemfile.lock +78 -68
- data/gemfiles/rails_6.0.gemfile.lock +79 -69
- data/lib/cloudtasker/config.rb +26 -2
- data/lib/cloudtasker/local_server.rb +1 -1
- data/lib/cloudtasker/version.rb +1 -1
- data/lib/cloudtasker/worker.rb +1 -1
- data/lib/cloudtasker/worker_handler.rb +2 -0
- data/lib/cloudtasker.rb +1 -0
- metadata +7 -8
- data/app/controllers/cloudtasker/application_controller.rb +0 -8
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudtasker (0.12.
|
4
|
+
cloudtasker (0.12.2)
|
5
5
|
activesupport
|
6
6
|
connection_pool
|
7
7
|
fugit
|
@@ -13,118 +13,128 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
actioncable (6.1.
|
17
|
-
actionpack (= 6.1.
|
18
|
-
activesupport (= 6.1.
|
16
|
+
actioncable (6.1.4.4)
|
17
|
+
actionpack (= 6.1.4.4)
|
18
|
+
activesupport (= 6.1.4.4)
|
19
19
|
nio4r (~> 2.0)
|
20
20
|
websocket-driver (>= 0.6.1)
|
21
|
-
actionmailbox (6.1.
|
22
|
-
actionpack (= 6.1.
|
23
|
-
activejob (= 6.1.
|
24
|
-
activerecord (= 6.1.
|
25
|
-
activestorage (= 6.1.
|
26
|
-
activesupport (= 6.1.
|
21
|
+
actionmailbox (6.1.4.4)
|
22
|
+
actionpack (= 6.1.4.4)
|
23
|
+
activejob (= 6.1.4.4)
|
24
|
+
activerecord (= 6.1.4.4)
|
25
|
+
activestorage (= 6.1.4.4)
|
26
|
+
activesupport (= 6.1.4.4)
|
27
27
|
mail (>= 2.7.1)
|
28
|
-
actionmailer (6.1.
|
29
|
-
actionpack (= 6.1.
|
30
|
-
actionview (= 6.1.
|
31
|
-
activejob (= 6.1.
|
32
|
-
activesupport (= 6.1.
|
28
|
+
actionmailer (6.1.4.4)
|
29
|
+
actionpack (= 6.1.4.4)
|
30
|
+
actionview (= 6.1.4.4)
|
31
|
+
activejob (= 6.1.4.4)
|
32
|
+
activesupport (= 6.1.4.4)
|
33
33
|
mail (~> 2.5, >= 2.5.4)
|
34
34
|
rails-dom-testing (~> 2.0)
|
35
|
-
actionpack (6.1.
|
36
|
-
actionview (= 6.1.
|
37
|
-
activesupport (= 6.1.
|
35
|
+
actionpack (6.1.4.4)
|
36
|
+
actionview (= 6.1.4.4)
|
37
|
+
activesupport (= 6.1.4.4)
|
38
38
|
rack (~> 2.0, >= 2.0.9)
|
39
39
|
rack-test (>= 0.6.3)
|
40
40
|
rails-dom-testing (~> 2.0)
|
41
41
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
42
|
-
actiontext (6.1.
|
43
|
-
actionpack (= 6.1.
|
44
|
-
activerecord (= 6.1.
|
45
|
-
activestorage (= 6.1.
|
46
|
-
activesupport (= 6.1.
|
42
|
+
actiontext (6.1.4.4)
|
43
|
+
actionpack (= 6.1.4.4)
|
44
|
+
activerecord (= 6.1.4.4)
|
45
|
+
activestorage (= 6.1.4.4)
|
46
|
+
activesupport (= 6.1.4.4)
|
47
47
|
nokogiri (>= 1.8.5)
|
48
|
-
actionview (6.1.
|
49
|
-
activesupport (= 6.1.
|
48
|
+
actionview (6.1.4.4)
|
49
|
+
activesupport (= 6.1.4.4)
|
50
50
|
builder (~> 3.1)
|
51
51
|
erubi (~> 1.4)
|
52
52
|
rails-dom-testing (~> 2.0)
|
53
53
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
54
|
-
activejob (6.1.
|
55
|
-
activesupport (= 6.1.
|
54
|
+
activejob (6.1.4.4)
|
55
|
+
activesupport (= 6.1.4.4)
|
56
56
|
globalid (>= 0.3.6)
|
57
|
-
activemodel (6.1.
|
58
|
-
activesupport (= 6.1.
|
59
|
-
activerecord (6.1.
|
60
|
-
activemodel (= 6.1.
|
61
|
-
activesupport (= 6.1.
|
62
|
-
activestorage (6.1.
|
63
|
-
actionpack (= 6.1.
|
64
|
-
activejob (= 6.1.
|
65
|
-
activerecord (= 6.1.
|
66
|
-
activesupport (= 6.1.
|
57
|
+
activemodel (6.1.4.4)
|
58
|
+
activesupport (= 6.1.4.4)
|
59
|
+
activerecord (6.1.4.4)
|
60
|
+
activemodel (= 6.1.4.4)
|
61
|
+
activesupport (= 6.1.4.4)
|
62
|
+
activestorage (6.1.4.4)
|
63
|
+
actionpack (= 6.1.4.4)
|
64
|
+
activejob (= 6.1.4.4)
|
65
|
+
activerecord (= 6.1.4.4)
|
66
|
+
activesupport (= 6.1.4.4)
|
67
67
|
marcel (~> 1.0.0)
|
68
|
-
mini_mime (
|
69
|
-
activesupport (6.1.
|
68
|
+
mini_mime (>= 1.1.0)
|
69
|
+
activesupport (6.1.4.4)
|
70
70
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
71
71
|
i18n (>= 1.6, < 2)
|
72
72
|
minitest (>= 5.1)
|
73
73
|
tzinfo (~> 2.0)
|
74
74
|
zeitwerk (~> 2.3)
|
75
|
-
addressable (2.
|
75
|
+
addressable (2.8.0)
|
76
76
|
public_suffix (>= 2.0.2, < 5.0)
|
77
|
-
appraisal (2.4.
|
77
|
+
appraisal (2.4.1)
|
78
78
|
bundler
|
79
79
|
rake
|
80
80
|
thor (>= 0.14.0)
|
81
81
|
ast (2.4.2)
|
82
|
-
async (1.
|
82
|
+
async (1.30.1)
|
83
83
|
console (~> 1.10)
|
84
84
|
nio4r (~> 2.3)
|
85
85
|
timers (~> 4.1)
|
86
|
-
async-http (0.
|
87
|
-
async (
|
88
|
-
async-io (
|
89
|
-
async-pool (
|
90
|
-
protocol-http (~> 0.
|
91
|
-
protocol-http1 (~> 0.
|
86
|
+
async-http (0.56.5)
|
87
|
+
async (>= 1.25)
|
88
|
+
async-io (>= 1.28)
|
89
|
+
async-pool (>= 0.2)
|
90
|
+
protocol-http (~> 0.22.0)
|
91
|
+
protocol-http1 (~> 0.14.0)
|
92
92
|
protocol-http2 (~> 0.14.0)
|
93
|
-
async-http-faraday (0.
|
93
|
+
async-http-faraday (0.11.0)
|
94
94
|
async-http (~> 0.42)
|
95
95
|
faraday
|
96
|
-
async-io (1.
|
97
|
-
async
|
98
|
-
async-pool (0.3.
|
99
|
-
async (
|
96
|
+
async-io (1.32.2)
|
97
|
+
async
|
98
|
+
async-pool (0.3.9)
|
99
|
+
async (>= 1.25)
|
100
100
|
builder (3.2.4)
|
101
|
-
concurrent-ruby (1.1.
|
101
|
+
concurrent-ruby (1.1.9)
|
102
102
|
connection_pool (2.2.5)
|
103
|
-
console (1.
|
103
|
+
console (1.14.0)
|
104
104
|
fiber-local
|
105
105
|
crack (0.4.5)
|
106
106
|
rexml
|
107
107
|
crass (1.0.6)
|
108
|
-
diff-lcs (1.
|
108
|
+
diff-lcs (1.5.0)
|
109
109
|
erubi (1.10.0)
|
110
|
-
et-orbi (1.2.
|
110
|
+
et-orbi (1.2.6)
|
111
111
|
tzinfo
|
112
|
-
faraday (1.
|
112
|
+
faraday (1.8.0)
|
113
|
+
faraday-em_http (~> 1.0)
|
114
|
+
faraday-em_synchrony (~> 1.0)
|
113
115
|
faraday-excon (~> 1.1)
|
116
|
+
faraday-httpclient (~> 1.0.1)
|
114
117
|
faraday-net_http (~> 1.0)
|
115
118
|
faraday-net_http_persistent (~> 1.1)
|
119
|
+
faraday-patron (~> 1.0)
|
120
|
+
faraday-rack (~> 1.0)
|
116
121
|
multipart-post (>= 1.2, < 3)
|
117
122
|
ruby2_keywords (>= 0.0.4)
|
123
|
+
faraday-em_http (1.0.0)
|
124
|
+
faraday-em_synchrony (1.0.0)
|
118
125
|
faraday-excon (1.1.0)
|
119
126
|
faraday-http-cache (2.2.0)
|
120
127
|
faraday (>= 0.8)
|
128
|
+
faraday-httpclient (1.0.1)
|
121
129
|
faraday-net_http (1.0.1)
|
122
|
-
faraday-net_http_persistent (1.
|
130
|
+
faraday-net_http_persistent (1.2.0)
|
131
|
+
faraday-patron (1.0.0)
|
132
|
+
faraday-rack (1.0.0)
|
123
133
|
fiber-local (1.0.0)
|
124
|
-
fugit (1.
|
134
|
+
fugit (1.5.2)
|
125
135
|
et-orbi (~> 1.1, >= 1.1.8)
|
126
136
|
raabro (~> 1.4)
|
127
|
-
github_changelog_generator (1.16.
|
137
|
+
github_changelog_generator (1.16.4)
|
128
138
|
activesupport
|
129
139
|
async (>= 1.25.0)
|
130
140
|
async-http-faraday
|
@@ -133,111 +143,111 @@ GEM
|
|
133
143
|
octokit (~> 4.6)
|
134
144
|
rainbow (>= 2.2.1)
|
135
145
|
rake (>= 10.0)
|
136
|
-
|
137
|
-
|
138
|
-
activesupport (>= 4.2.0)
|
146
|
+
globalid (1.0.0)
|
147
|
+
activesupport (>= 5.0)
|
139
148
|
google-cloud-tasks (1.2.0)
|
140
149
|
google-gax (~> 1.8)
|
141
150
|
googleapis-common-protos (>= 1.3.9, < 2.0)
|
142
151
|
grpc-google-iam-v1 (~> 0.6.9)
|
143
|
-
google-gax (1.8.
|
152
|
+
google-gax (1.8.2)
|
144
153
|
google-protobuf (~> 3.9)
|
145
154
|
googleapis-common-protos (>= 1.3.9, < 2.0)
|
155
|
+
googleapis-common-protos-types (>= 1.0.4, < 2.0)
|
146
156
|
googleauth (~> 0.9)
|
147
157
|
grpc (~> 1.24)
|
148
158
|
rly (~> 0.2.3)
|
149
|
-
google-protobuf (3.
|
150
|
-
googleapis-common-protos (1.3.
|
159
|
+
google-protobuf (3.19.1)
|
160
|
+
googleapis-common-protos (1.3.12)
|
151
161
|
google-protobuf (~> 3.14)
|
152
|
-
googleapis-common-protos-types (
|
162
|
+
googleapis-common-protos-types (~> 1.2)
|
153
163
|
grpc (~> 1.27)
|
154
|
-
googleapis-common-protos-types (1.0
|
164
|
+
googleapis-common-protos-types (1.3.0)
|
155
165
|
google-protobuf (~> 3.14)
|
156
|
-
googleauth (0.
|
166
|
+
googleauth (0.17.1)
|
157
167
|
faraday (>= 0.17.3, < 2.0)
|
158
168
|
jwt (>= 1.4, < 3.0)
|
159
169
|
memoist (~> 0.16)
|
160
170
|
multi_json (~> 1.11)
|
161
171
|
os (>= 0.9, < 2.0)
|
162
|
-
signet (~> 0.
|
163
|
-
grpc (1.
|
164
|
-
google-protobuf (~> 3.
|
172
|
+
signet (~> 0.15)
|
173
|
+
grpc (1.42.0)
|
174
|
+
google-protobuf (~> 3.18)
|
165
175
|
googleapis-common-protos-types (~> 1.0)
|
166
176
|
grpc-google-iam-v1 (0.6.11)
|
167
177
|
google-protobuf (~> 3.14)
|
168
178
|
googleapis-common-protos (>= 1.3.11, < 2.0)
|
169
179
|
grpc (~> 1.27)
|
170
180
|
hashdiff (1.0.1)
|
171
|
-
i18n (1.8.
|
181
|
+
i18n (1.8.11)
|
172
182
|
concurrent-ruby (~> 1.0)
|
173
183
|
jaro_winkler (1.5.4)
|
174
|
-
jwt (2.
|
175
|
-
loofah (2.
|
184
|
+
jwt (2.3.0)
|
185
|
+
loofah (2.13.0)
|
176
186
|
crass (~> 1.0.2)
|
177
187
|
nokogiri (>= 1.5.9)
|
178
188
|
mail (2.7.1)
|
179
189
|
mini_mime (>= 0.1.1)
|
180
|
-
marcel (1.0.
|
190
|
+
marcel (1.0.2)
|
181
191
|
memoist (0.16.2)
|
182
192
|
method_source (1.0.0)
|
183
|
-
mini_mime (1.
|
184
|
-
mini_portile2 (2.
|
185
|
-
minitest (5.
|
193
|
+
mini_mime (1.1.2)
|
194
|
+
mini_portile2 (2.6.1)
|
195
|
+
minitest (5.15.0)
|
186
196
|
multi_json (1.15.0)
|
187
197
|
multipart-post (2.1.1)
|
188
|
-
nio4r (2.5.
|
189
|
-
nokogiri (1.
|
190
|
-
mini_portile2 (~> 2.
|
198
|
+
nio4r (2.5.8)
|
199
|
+
nokogiri (1.12.5)
|
200
|
+
mini_portile2 (~> 2.6.1)
|
191
201
|
racc (~> 1.4)
|
192
|
-
octokit (4.
|
202
|
+
octokit (4.21.0)
|
193
203
|
faraday (>= 0.9)
|
194
204
|
sawyer (~> 0.8.0, >= 0.5.3)
|
195
|
-
os (1.1.
|
196
|
-
parallel (1.
|
197
|
-
parser (3.0.
|
205
|
+
os (1.1.4)
|
206
|
+
parallel (1.21.0)
|
207
|
+
parser (3.0.3.2)
|
198
208
|
ast (~> 2.4.1)
|
199
209
|
protocol-hpack (1.4.2)
|
200
|
-
protocol-http (0.
|
201
|
-
protocol-http1 (0.
|
202
|
-
protocol-http (~> 0.
|
210
|
+
protocol-http (0.22.5)
|
211
|
+
protocol-http1 (0.14.2)
|
212
|
+
protocol-http (~> 0.22)
|
203
213
|
protocol-http2 (0.14.2)
|
204
214
|
protocol-hpack (~> 1.4)
|
205
215
|
protocol-http (~> 0.18)
|
206
216
|
public_suffix (4.0.6)
|
207
217
|
raabro (1.4.0)
|
208
|
-
racc (1.
|
218
|
+
racc (1.6.0)
|
209
219
|
rack (2.2.3)
|
210
220
|
rack-test (1.1.0)
|
211
221
|
rack (>= 1.0, < 3)
|
212
|
-
rails (6.1.
|
213
|
-
actioncable (= 6.1.
|
214
|
-
actionmailbox (= 6.1.
|
215
|
-
actionmailer (= 6.1.
|
216
|
-
actionpack (= 6.1.
|
217
|
-
actiontext (= 6.1.
|
218
|
-
actionview (= 6.1.
|
219
|
-
activejob (= 6.1.
|
220
|
-
activemodel (= 6.1.
|
221
|
-
activerecord (= 6.1.
|
222
|
-
activestorage (= 6.1.
|
223
|
-
activesupport (= 6.1.
|
222
|
+
rails (6.1.4.4)
|
223
|
+
actioncable (= 6.1.4.4)
|
224
|
+
actionmailbox (= 6.1.4.4)
|
225
|
+
actionmailer (= 6.1.4.4)
|
226
|
+
actionpack (= 6.1.4.4)
|
227
|
+
actiontext (= 6.1.4.4)
|
228
|
+
actionview (= 6.1.4.4)
|
229
|
+
activejob (= 6.1.4.4)
|
230
|
+
activemodel (= 6.1.4.4)
|
231
|
+
activerecord (= 6.1.4.4)
|
232
|
+
activestorage (= 6.1.4.4)
|
233
|
+
activesupport (= 6.1.4.4)
|
224
234
|
bundler (>= 1.15.0)
|
225
|
-
railties (= 6.1.
|
235
|
+
railties (= 6.1.4.4)
|
226
236
|
sprockets-rails (>= 2.0.0)
|
227
237
|
rails-dom-testing (2.0.3)
|
228
238
|
activesupport (>= 4.2.0)
|
229
239
|
nokogiri (>= 1.6)
|
230
|
-
rails-html-sanitizer (1.
|
240
|
+
rails-html-sanitizer (1.4.2)
|
231
241
|
loofah (~> 2.3)
|
232
|
-
railties (6.1.
|
233
|
-
actionpack (= 6.1.
|
234
|
-
activesupport (= 6.1.
|
242
|
+
railties (6.1.4.4)
|
243
|
+
actionpack (= 6.1.4.4)
|
244
|
+
activesupport (= 6.1.4.4)
|
235
245
|
method_source
|
236
|
-
rake (>= 0.
|
246
|
+
rake (>= 0.13)
|
237
247
|
thor (~> 1.0)
|
238
248
|
rainbow (3.0.0)
|
239
|
-
rake (13.0.
|
240
|
-
redis (4.
|
249
|
+
rake (13.0.6)
|
250
|
+
redis (4.5.1)
|
241
251
|
retriable (3.1.2)
|
242
252
|
rexml (3.2.5)
|
243
253
|
rly (0.2.3)
|
@@ -254,7 +264,7 @@ GEM
|
|
254
264
|
rspec-mocks (3.10.2)
|
255
265
|
diff-lcs (>= 1.2.0, < 2.0)
|
256
266
|
rspec-support (~> 3.10.0)
|
257
|
-
rspec-rails (5.0.
|
267
|
+
rspec-rails (5.0.2)
|
258
268
|
actionpack (>= 5.2)
|
259
269
|
activesupport (>= 5.2)
|
260
270
|
railties (>= 5.2)
|
@@ -262,7 +272,7 @@ GEM
|
|
262
272
|
rspec-expectations (~> 3.10)
|
263
273
|
rspec-mocks (~> 3.10)
|
264
274
|
rspec-support (~> 3.10)
|
265
|
-
rspec-support (3.10.
|
275
|
+
rspec-support (3.10.3)
|
266
276
|
rubocop (0.76.0)
|
267
277
|
jaro_winkler (~> 1.5.1)
|
268
278
|
parallel (~> 1.10)
|
@@ -273,23 +283,23 @@ GEM
|
|
273
283
|
rubocop-rspec (1.37.0)
|
274
284
|
rubocop (>= 0.68.1)
|
275
285
|
ruby-progressbar (1.11.0)
|
276
|
-
ruby2_keywords (0.0.
|
286
|
+
ruby2_keywords (0.0.5)
|
277
287
|
sawyer (0.8.2)
|
278
288
|
addressable (>= 2.3.5)
|
279
289
|
faraday (> 0.8, < 2.0)
|
280
|
-
semantic_logger (4.
|
290
|
+
semantic_logger (4.9.0)
|
281
291
|
concurrent-ruby (~> 1.0)
|
282
|
-
signet (0.
|
283
|
-
addressable (~> 2.
|
292
|
+
signet (0.16.0)
|
293
|
+
addressable (~> 2.8)
|
284
294
|
faraday (>= 0.17.3, < 2.0)
|
285
295
|
jwt (>= 1.5, < 3.0)
|
286
296
|
multi_json (~> 1.10)
|
287
297
|
sprockets (4.0.2)
|
288
298
|
concurrent-ruby (~> 1.0)
|
289
299
|
rack (> 1, < 3)
|
290
|
-
sprockets-rails (3.
|
291
|
-
actionpack (>=
|
292
|
-
activesupport (>=
|
300
|
+
sprockets-rails (3.4.2)
|
301
|
+
actionpack (>= 5.2)
|
302
|
+
activesupport (>= 5.2)
|
293
303
|
sprockets (>= 3.0.0)
|
294
304
|
sqlite3 (1.4.2)
|
295
305
|
thor (1.1.0)
|
@@ -298,14 +308,14 @@ GEM
|
|
298
308
|
tzinfo (2.0.4)
|
299
309
|
concurrent-ruby (~> 1.0)
|
300
310
|
unicode-display_width (1.6.1)
|
301
|
-
webmock (3.
|
302
|
-
addressable (>= 2.
|
311
|
+
webmock (3.14.0)
|
312
|
+
addressable (>= 2.8.0)
|
303
313
|
crack (>= 0.3.2)
|
304
314
|
hashdiff (>= 0.4.0, < 2.0.0)
|
305
|
-
websocket-driver (0.7.
|
315
|
+
websocket-driver (0.7.5)
|
306
316
|
websocket-extensions (>= 0.1.0)
|
307
317
|
websocket-extensions (0.1.5)
|
308
|
-
zeitwerk (2.
|
318
|
+
zeitwerk (2.5.3)
|
309
319
|
|
310
320
|
PLATFORMS
|
311
321
|
ruby
|
@@ -329,4 +339,4 @@ DEPENDENCIES
|
|
329
339
|
webmock
|
330
340
|
|
331
341
|
BUNDLED WITH
|
332
|
-
2.2.
|
342
|
+
2.2.26
|