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