cloudtasker 0.12.0 → 0.13.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/lint_rubocop.yml +20 -0
- data/.github/workflows/{test.yml → test_ruby_2.5_2.6.yml} +12 -13
- data/.github/workflows/test_ruby_2.7.yml +44 -0
- data/.github/workflows/test_ruby_3.x.yml +43 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -0
- data/Appraisals +52 -8
- data/CHANGELOG.md +51 -1
- data/README.md +14 -3
- data/Rakefile +0 -6
- data/app/controllers/cloudtasker/worker_controller.rb +4 -1
- data/cloudtasker.gemspec +1 -6
- data/docs/CRON_JOBS.md +39 -0
- data/gemfiles/google_cloud_tasks_1.0.gemfile +2 -1
- data/gemfiles/google_cloud_tasks_1.1.gemfile +2 -1
- data/gemfiles/google_cloud_tasks_1.2.gemfile +2 -1
- data/gemfiles/google_cloud_tasks_1.3.gemfile +2 -1
- data/gemfiles/google_cloud_tasks_1.4.gemfile +8 -0
- data/gemfiles/google_cloud_tasks_1.5.gemfile +8 -0
- data/gemfiles/google_cloud_tasks_2.0.gemfile +8 -0
- data/gemfiles/google_cloud_tasks_2.1.gemfile +8 -0
- data/gemfiles/rails_5.2.gemfile +1 -0
- data/gemfiles/rails_6.0.gemfile +1 -0
- data/gemfiles/{semantic_logger_4.7.gemfile → rails_6.1.gemfile} +2 -1
- data/gemfiles/rails_7.0.gemfile +8 -0
- data/gemfiles/semantic_logger_3.4.gemfile +1 -0
- data/gemfiles/semantic_logger_4.6.gemfile +1 -0
- data/gemfiles/semantic_logger_4.7.0.gemfile +1 -0
- data/gemfiles/semantic_logger_4.7.2.gemfile +1 -0
- data/lib/cloudtasker/backend/{google_cloud_task.rb → google_cloud_task_v1.rb} +15 -11
- data/lib/cloudtasker/backend/google_cloud_task_v2.rb +210 -0
- data/lib/cloudtasker/backend/memory_task.rb +1 -1
- data/lib/cloudtasker/backend/redis_task.rb +7 -3
- data/lib/cloudtasker/cloud_task.rb +43 -5
- data/lib/cloudtasker/cron/schedule.rb +7 -7
- data/lib/cloudtasker/local_server.rb +1 -1
- data/lib/cloudtasker/redis_client.rb +39 -14
- data/lib/cloudtasker/unique_job/job.rb +3 -2
- data/lib/cloudtasker/unique_job/middleware/client.rb +2 -1
- data/lib/cloudtasker/version.rb +1 -1
- data/lib/cloudtasker/worker.rb +4 -4
- data/lib/cloudtasker/worker_wrapper.rb +1 -1
- data/lib/cloudtasker.rb +1 -0
- data/lib/tasks/setup_queue.rake +2 -2
- metadata +21 -80
- data/app/controllers/cloudtasker/application_controller.rb +0 -8
- data/gemfiles/google_cloud_tasks_1.0.gemfile.lock +0 -341
- data/gemfiles/google_cloud_tasks_1.1.gemfile.lock +0 -341
- data/gemfiles/google_cloud_tasks_1.2.gemfile.lock +0 -341
- data/gemfiles/google_cloud_tasks_1.3.gemfile.lock +0 -342
- data/gemfiles/rails_4.0.gemfile +0 -10
- data/gemfiles/rails_4.1.gemfile +0 -9
- data/gemfiles/rails_4.2.gemfile +0 -9
- data/gemfiles/rails_5.0.gemfile +0 -9
- data/gemfiles/rails_5.1.gemfile +0 -9
- data/gemfiles/rails_5.2.gemfile.lock +0 -326
- data/gemfiles/rails_6.0.gemfile.lock +0 -342
@@ -1,342 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
cloudtasker (0.12.0)
|
5
|
-
activesupport
|
6
|
-
connection_pool
|
7
|
-
fugit
|
8
|
-
google-cloud-tasks (~> 1.0)
|
9
|
-
jwt
|
10
|
-
redis
|
11
|
-
retriable
|
12
|
-
|
13
|
-
GEM
|
14
|
-
remote: https://rubygems.org/
|
15
|
-
specs:
|
16
|
-
actioncable (6.0.0)
|
17
|
-
actionpack (= 6.0.0)
|
18
|
-
nio4r (~> 2.0)
|
19
|
-
websocket-driver (>= 0.6.1)
|
20
|
-
actionmailbox (6.0.0)
|
21
|
-
actionpack (= 6.0.0)
|
22
|
-
activejob (= 6.0.0)
|
23
|
-
activerecord (= 6.0.0)
|
24
|
-
activestorage (= 6.0.0)
|
25
|
-
activesupport (= 6.0.0)
|
26
|
-
mail (>= 2.7.1)
|
27
|
-
actionmailer (6.0.0)
|
28
|
-
actionpack (= 6.0.0)
|
29
|
-
actionview (= 6.0.0)
|
30
|
-
activejob (= 6.0.0)
|
31
|
-
mail (~> 2.5, >= 2.5.4)
|
32
|
-
rails-dom-testing (~> 2.0)
|
33
|
-
actionpack (6.0.0)
|
34
|
-
actionview (= 6.0.0)
|
35
|
-
activesupport (= 6.0.0)
|
36
|
-
rack (~> 2.0)
|
37
|
-
rack-test (>= 0.6.3)
|
38
|
-
rails-dom-testing (~> 2.0)
|
39
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
40
|
-
actiontext (6.0.0)
|
41
|
-
actionpack (= 6.0.0)
|
42
|
-
activerecord (= 6.0.0)
|
43
|
-
activestorage (= 6.0.0)
|
44
|
-
activesupport (= 6.0.0)
|
45
|
-
nokogiri (>= 1.8.5)
|
46
|
-
actionview (6.0.0)
|
47
|
-
activesupport (= 6.0.0)
|
48
|
-
builder (~> 3.1)
|
49
|
-
erubi (~> 1.4)
|
50
|
-
rails-dom-testing (~> 2.0)
|
51
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
52
|
-
activejob (6.0.0)
|
53
|
-
activesupport (= 6.0.0)
|
54
|
-
globalid (>= 0.3.6)
|
55
|
-
activemodel (6.0.0)
|
56
|
-
activesupport (= 6.0.0)
|
57
|
-
activerecord (6.0.0)
|
58
|
-
activemodel (= 6.0.0)
|
59
|
-
activesupport (= 6.0.0)
|
60
|
-
activestorage (6.0.0)
|
61
|
-
actionpack (= 6.0.0)
|
62
|
-
activejob (= 6.0.0)
|
63
|
-
activerecord (= 6.0.0)
|
64
|
-
marcel (~> 0.3.1)
|
65
|
-
activesupport (6.0.0)
|
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.8.0)
|
72
|
-
public_suffix (>= 2.0.2, < 5.0)
|
73
|
-
appraisal (2.4.1)
|
74
|
-
bundler
|
75
|
-
rake
|
76
|
-
thor (>= 0.14.0)
|
77
|
-
ast (2.4.2)
|
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)
|
96
|
-
builder (3.2.4)
|
97
|
-
concurrent-ruby (1.1.9)
|
98
|
-
connection_pool (2.2.5)
|
99
|
-
console (1.13.1)
|
100
|
-
fiber-local
|
101
|
-
crack (0.4.5)
|
102
|
-
rexml
|
103
|
-
crass (1.0.6)
|
104
|
-
diff-lcs (1.4.4)
|
105
|
-
erubi (1.10.0)
|
106
|
-
et-orbi (1.2.4)
|
107
|
-
tzinfo
|
108
|
-
faraday (1.7.0)
|
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)
|
117
|
-
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
|
-
faraday-http-cache (2.2.0)
|
123
|
-
faraday (>= 0.8)
|
124
|
-
faraday-httpclient (1.0.1)
|
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)
|
131
|
-
et-orbi (~> 1.1, >= 1.1.8)
|
132
|
-
raabro (~> 1.4)
|
133
|
-
github_changelog_generator (1.16.4)
|
134
|
-
activesupport
|
135
|
-
async (>= 1.25.0)
|
136
|
-
async-http-faraday
|
137
|
-
faraday-http-cache
|
138
|
-
multi_json
|
139
|
-
octokit (~> 4.6)
|
140
|
-
rainbow (>= 2.2.1)
|
141
|
-
rake (>= 10.0)
|
142
|
-
globalid (0.5.2)
|
143
|
-
activesupport (>= 5.0)
|
144
|
-
google-cloud-tasks (1.5.1)
|
145
|
-
google-gax (~> 1.8)
|
146
|
-
googleapis-common-protos (>= 1.3.9, < 2.0)
|
147
|
-
googleapis-common-protos-types (>= 1.0.4, < 2.0)
|
148
|
-
grpc-google-iam-v1 (~> 0.6.9)
|
149
|
-
google-gax (1.8.1)
|
150
|
-
google-protobuf (~> 3.9)
|
151
|
-
googleapis-common-protos (>= 1.3.9, < 2.0)
|
152
|
-
googleauth (~> 0.9)
|
153
|
-
grpc (~> 1.24)
|
154
|
-
rly (~> 0.2.3)
|
155
|
-
google-protobuf (3.17.3)
|
156
|
-
googleapis-common-protos (1.3.11)
|
157
|
-
google-protobuf (~> 3.14)
|
158
|
-
googleapis-common-protos-types (>= 1.0.6, < 2.0)
|
159
|
-
grpc (~> 1.27)
|
160
|
-
googleapis-common-protos-types (1.1.0)
|
161
|
-
google-protobuf (~> 3.14)
|
162
|
-
googleauth (0.17.0)
|
163
|
-
faraday (>= 0.17.3, < 2.0)
|
164
|
-
jwt (>= 1.4, < 3.0)
|
165
|
-
memoist (~> 0.16)
|
166
|
-
multi_json (~> 1.11)
|
167
|
-
os (>= 0.9, < 2.0)
|
168
|
-
signet (~> 0.14)
|
169
|
-
grpc (1.38.0)
|
170
|
-
google-protobuf (~> 3.15)
|
171
|
-
googleapis-common-protos-types (~> 1.0)
|
172
|
-
grpc-google-iam-v1 (0.6.11)
|
173
|
-
google-protobuf (~> 3.14)
|
174
|
-
googleapis-common-protos (>= 1.3.11, < 2.0)
|
175
|
-
grpc (~> 1.27)
|
176
|
-
hashdiff (1.0.1)
|
177
|
-
i18n (1.8.10)
|
178
|
-
concurrent-ruby (~> 1.0)
|
179
|
-
jaro_winkler (1.5.4)
|
180
|
-
jwt (2.2.3)
|
181
|
-
loofah (2.12.0)
|
182
|
-
crass (~> 1.0.2)
|
183
|
-
nokogiri (>= 1.5.9)
|
184
|
-
mail (2.7.1)
|
185
|
-
mini_mime (>= 0.1.1)
|
186
|
-
marcel (0.3.3)
|
187
|
-
mimemagic (~> 0.3.2)
|
188
|
-
memoist (0.16.2)
|
189
|
-
method_source (1.0.0)
|
190
|
-
mimemagic (0.3.10)
|
191
|
-
nokogiri (~> 1)
|
192
|
-
rake
|
193
|
-
mini_mime (1.1.0)
|
194
|
-
mini_portile2 (2.6.1)
|
195
|
-
minitest (5.14.4)
|
196
|
-
multi_json (1.15.0)
|
197
|
-
multipart-post (2.1.1)
|
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)
|
203
|
-
faraday (>= 0.9)
|
204
|
-
sawyer (~> 0.8.0, >= 0.5.3)
|
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.1)
|
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)
|
217
|
-
raabro (1.4.0)
|
218
|
-
racc (1.5.2)
|
219
|
-
rack (2.2.3)
|
220
|
-
rack-test (1.1.0)
|
221
|
-
rack (>= 1.0, < 3)
|
222
|
-
rails (6.0.0)
|
223
|
-
actioncable (= 6.0.0)
|
224
|
-
actionmailbox (= 6.0.0)
|
225
|
-
actionmailer (= 6.0.0)
|
226
|
-
actionpack (= 6.0.0)
|
227
|
-
actiontext (= 6.0.0)
|
228
|
-
actionview (= 6.0.0)
|
229
|
-
activejob (= 6.0.0)
|
230
|
-
activemodel (= 6.0.0)
|
231
|
-
activerecord (= 6.0.0)
|
232
|
-
activestorage (= 6.0.0)
|
233
|
-
activesupport (= 6.0.0)
|
234
|
-
bundler (>= 1.3.0)
|
235
|
-
railties (= 6.0.0)
|
236
|
-
sprockets-rails (>= 2.0.0)
|
237
|
-
rails-dom-testing (2.0.3)
|
238
|
-
activesupport (>= 4.2.0)
|
239
|
-
nokogiri (>= 1.6)
|
240
|
-
rails-html-sanitizer (1.4.1)
|
241
|
-
loofah (~> 2.3)
|
242
|
-
railties (6.0.0)
|
243
|
-
actionpack (= 6.0.0)
|
244
|
-
activesupport (= 6.0.0)
|
245
|
-
method_source
|
246
|
-
rake (>= 0.8.7)
|
247
|
-
thor (>= 0.20.3, < 2.0)
|
248
|
-
rainbow (3.0.0)
|
249
|
-
rake (13.0.6)
|
250
|
-
redis (4.4.0)
|
251
|
-
retriable (3.1.2)
|
252
|
-
rexml (3.2.5)
|
253
|
-
rly (0.2.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)
|
261
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
262
|
-
rspec-support (~> 3.10.0)
|
263
|
-
rspec-json_expectations (2.2.0)
|
264
|
-
rspec-mocks (3.10.2)
|
265
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
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)
|
276
|
-
rubocop (0.76.0)
|
277
|
-
jaro_winkler (~> 1.5.1)
|
278
|
-
parallel (~> 1.10)
|
279
|
-
parser (>= 2.6)
|
280
|
-
rainbow (>= 2.2.2, < 4.0)
|
281
|
-
ruby-progressbar (~> 1.7)
|
282
|
-
unicode-display_width (>= 1.4.0, < 1.7)
|
283
|
-
rubocop-rspec (1.37.0)
|
284
|
-
rubocop (>= 0.68.1)
|
285
|
-
ruby-progressbar (1.11.0)
|
286
|
-
ruby2_keywords (0.0.5)
|
287
|
-
sawyer (0.8.2)
|
288
|
-
addressable (>= 2.3.5)
|
289
|
-
faraday (> 0.8, < 2.0)
|
290
|
-
semantic_logger (4.8.2)
|
291
|
-
concurrent-ruby (~> 1.0)
|
292
|
-
signet (0.15.0)
|
293
|
-
addressable (~> 2.3)
|
294
|
-
faraday (>= 0.17.3, < 2.0)
|
295
|
-
jwt (>= 1.5, < 3.0)
|
296
|
-
multi_json (~> 1.10)
|
297
|
-
sprockets (4.0.2)
|
298
|
-
concurrent-ruby (~> 1.0)
|
299
|
-
rack (> 1, < 3)
|
300
|
-
sprockets-rails (3.2.2)
|
301
|
-
actionpack (>= 4.0)
|
302
|
-
activesupport (>= 4.0)
|
303
|
-
sprockets (>= 3.0.0)
|
304
|
-
sqlite3 (1.4.2)
|
305
|
-
thor (1.1.0)
|
306
|
-
thread_safe (0.3.6)
|
307
|
-
timecop (0.9.4)
|
308
|
-
timers (4.3.3)
|
309
|
-
tzinfo (1.2.9)
|
310
|
-
thread_safe (~> 0.1)
|
311
|
-
unicode-display_width (1.6.1)
|
312
|
-
webmock (3.14.0)
|
313
|
-
addressable (>= 2.8.0)
|
314
|
-
crack (>= 0.3.2)
|
315
|
-
hashdiff (>= 0.4.0, < 2.0.0)
|
316
|
-
websocket-driver (0.7.5)
|
317
|
-
websocket-extensions (>= 0.1.0)
|
318
|
-
websocket-extensions (0.1.5)
|
319
|
-
zeitwerk (2.4.2)
|
320
|
-
|
321
|
-
PLATFORMS
|
322
|
-
ruby
|
323
|
-
|
324
|
-
DEPENDENCIES
|
325
|
-
appraisal
|
326
|
-
bundler (~> 2.0)
|
327
|
-
cloudtasker!
|
328
|
-
github_changelog_generator
|
329
|
-
rails (= 6.0)
|
330
|
-
rake (>= 12.3.3)
|
331
|
-
rspec (~> 3.0)
|
332
|
-
rspec-json_expectations (~> 2.2)
|
333
|
-
rspec-rails
|
334
|
-
rubocop (= 0.76.0)
|
335
|
-
rubocop-rspec (= 1.37.0)
|
336
|
-
semantic_logger
|
337
|
-
sqlite3
|
338
|
-
timecop
|
339
|
-
webmock
|
340
|
-
|
341
|
-
BUNDLED WITH
|
342
|
-
2.2.9
|