cloudtasker 0.9.5 → 0.10.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/.travis.yml +16 -0
  4. data/Appraisals +0 -16
  5. data/CHANGELOG.md +0 -22
  6. data/README.md +40 -1
  7. data/app/controllers/cloudtasker/application_controller.rb +8 -0
  8. data/app/controllers/cloudtasker/worker_controller.rb +1 -4
  9. data/cloudtasker.gemspec +1 -2
  10. data/gemfiles/google_cloud_tasks_1.0.gemfile +5 -3
  11. data/gemfiles/google_cloud_tasks_1.0.gemfile.lock +154 -208
  12. data/gemfiles/google_cloud_tasks_1.1.gemfile +5 -3
  13. data/gemfiles/google_cloud_tasks_1.1.gemfile.lock +154 -208
  14. data/gemfiles/google_cloud_tasks_1.2.gemfile +5 -3
  15. data/gemfiles/google_cloud_tasks_1.2.gemfile.lock +154 -208
  16. data/gemfiles/google_cloud_tasks_1.3.gemfile +5 -3
  17. data/gemfiles/google_cloud_tasks_1.3.gemfile.lock +154 -208
  18. data/gemfiles/rails_5.2.gemfile +5 -3
  19. data/gemfiles/rails_5.2.gemfile.lock +91 -146
  20. data/gemfiles/rails_6.0.gemfile +5 -3
  21. data/gemfiles/rails_6.0.gemfile.lock +92 -147
  22. data/lib/cloudtasker/backend/google_cloud_task.rb +1 -1
  23. data/lib/cloudtasker/backend/memory_task.rb +8 -23
  24. data/lib/cloudtasker/config.rb +16 -1
  25. data/lib/cloudtasker/testing.rb +2 -2
  26. data/lib/cloudtasker/version.rb +1 -1
  27. data/lib/cloudtasker/worker_handler.rb +142 -5
  28. data/lib/cloudtasker/worker_logger.rb +1 -2
  29. data/lib/cloudtasker.rb +0 -1
  30. metadata +15 -32
  31. data/.github/workflows/test.yml +0 -45
  32. data/gemfiles/semantic_logger_3.4.gemfile +0 -7
  33. data/gemfiles/semantic_logger_4.6.gemfile +0 -7
  34. data/gemfiles/semantic_logger_4.7.0.gemfile +0 -7
  35. data/gemfiles/semantic_logger_4.7.2.gemfile +0 -7
  36. data/gemfiles/semantic_logger_4.7.gemfile +0 -9
@@ -1,147 +1,104 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.9.4)
4
+ cloudtasker (0.10.rc1)
5
5
  activesupport
6
6
  fugit
7
- google-cloud-tasks (~> 1.0)
7
+ google-cloud-tasks
8
8
  jwt
9
9
  redis
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actioncable (6.1.4)
15
- actionpack (= 6.1.4)
16
- activesupport (= 6.1.4)
14
+ actioncable (6.0.2.1)
15
+ actionpack (= 6.0.2.1)
17
16
  nio4r (~> 2.0)
18
17
  websocket-driver (>= 0.6.1)
19
- actionmailbox (6.1.4)
20
- actionpack (= 6.1.4)
21
- activejob (= 6.1.4)
22
- activerecord (= 6.1.4)
23
- activestorage (= 6.1.4)
24
- activesupport (= 6.1.4)
18
+ actionmailbox (6.0.2.1)
19
+ actionpack (= 6.0.2.1)
20
+ activejob (= 6.0.2.1)
21
+ activerecord (= 6.0.2.1)
22
+ activestorage (= 6.0.2.1)
23
+ activesupport (= 6.0.2.1)
25
24
  mail (>= 2.7.1)
26
- actionmailer (6.1.4)
27
- actionpack (= 6.1.4)
28
- actionview (= 6.1.4)
29
- activejob (= 6.1.4)
30
- activesupport (= 6.1.4)
25
+ actionmailer (6.0.2.1)
26
+ actionpack (= 6.0.2.1)
27
+ actionview (= 6.0.2.1)
28
+ activejob (= 6.0.2.1)
31
29
  mail (~> 2.5, >= 2.5.4)
32
30
  rails-dom-testing (~> 2.0)
33
- actionpack (6.1.4)
34
- actionview (= 6.1.4)
35
- activesupport (= 6.1.4)
36
- rack (~> 2.0, >= 2.0.9)
31
+ actionpack (6.0.2.1)
32
+ actionview (= 6.0.2.1)
33
+ activesupport (= 6.0.2.1)
34
+ rack (~> 2.0, >= 2.0.8)
37
35
  rack-test (>= 0.6.3)
38
36
  rails-dom-testing (~> 2.0)
39
37
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
40
- actiontext (6.1.4)
41
- actionpack (= 6.1.4)
42
- activerecord (= 6.1.4)
43
- activestorage (= 6.1.4)
44
- activesupport (= 6.1.4)
38
+ actiontext (6.0.2.1)
39
+ actionpack (= 6.0.2.1)
40
+ activerecord (= 6.0.2.1)
41
+ activestorage (= 6.0.2.1)
42
+ activesupport (= 6.0.2.1)
45
43
  nokogiri (>= 1.8.5)
46
- actionview (6.1.4)
47
- activesupport (= 6.1.4)
44
+ actionview (6.0.2.1)
45
+ activesupport (= 6.0.2.1)
48
46
  builder (~> 3.1)
49
47
  erubi (~> 1.4)
50
48
  rails-dom-testing (~> 2.0)
51
49
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
52
- activejob (6.1.4)
53
- activesupport (= 6.1.4)
50
+ activejob (6.0.2.1)
51
+ activesupport (= 6.0.2.1)
54
52
  globalid (>= 0.3.6)
55
- activemodel (6.1.4)
56
- activesupport (= 6.1.4)
57
- activerecord (6.1.4)
58
- activemodel (= 6.1.4)
59
- activesupport (= 6.1.4)
60
- activestorage (6.1.4)
61
- actionpack (= 6.1.4)
62
- activejob (= 6.1.4)
63
- activerecord (= 6.1.4)
64
- activesupport (= 6.1.4)
65
- marcel (~> 1.0.0)
66
- mini_mime (>= 1.1.0)
67
- activesupport (6.1.4)
53
+ activemodel (6.0.2.1)
54
+ activesupport (= 6.0.2.1)
55
+ activerecord (6.0.2.1)
56
+ activemodel (= 6.0.2.1)
57
+ activesupport (= 6.0.2.1)
58
+ activestorage (6.0.2.1)
59
+ actionpack (= 6.0.2.1)
60
+ activejob (= 6.0.2.1)
61
+ activerecord (= 6.0.2.1)
62
+ marcel (~> 0.3.1)
63
+ activesupport (6.0.2.1)
68
64
  concurrent-ruby (~> 1.0, >= 1.0.2)
69
- i18n (>= 1.6, < 2)
70
- minitest (>= 5.1)
71
- tzinfo (~> 2.0)
72
- zeitwerk (~> 2.3)
73
- addressable (2.8.0)
65
+ i18n (>= 0.7, < 2)
66
+ minitest (~> 5.1)
67
+ tzinfo (~> 1.1)
68
+ zeitwerk (~> 2.2)
69
+ addressable (2.7.0)
74
70
  public_suffix (>= 2.0.2, < 5.0)
75
- appraisal (2.4.1)
71
+ appraisal (2.2.0)
76
72
  bundler
77
73
  rake
78
74
  thor (>= 0.14.0)
79
- ast (2.4.2)
80
- async (1.30.1)
81
- console (~> 1.10)
82
- nio4r (~> 2.3)
83
- timers (~> 4.1)
84
- async-http (0.56.5)
85
- async (>= 1.25)
86
- async-io (>= 1.28)
87
- async-pool (>= 0.2)
88
- protocol-http (~> 0.22.0)
89
- protocol-http1 (~> 0.14.0)
90
- protocol-http2 (~> 0.14.0)
91
- async-http-faraday (0.11.0)
92
- async-http (~> 0.42)
93
- faraday
94
- async-io (1.32.2)
95
- async
96
- async-pool (0.3.8)
97
- async (>= 1.25)
75
+ ast (2.4.0)
98
76
  builder (3.2.4)
99
- concurrent-ruby (1.1.9)
100
- console (1.13.1)
101
- fiber-local
102
- crack (0.4.5)
103
- rexml
77
+ concurrent-ruby (1.1.6)
78
+ crack (0.4.3)
79
+ safe_yaml (~> 1.0.0)
104
80
  crass (1.0.6)
105
- diff-lcs (1.4.4)
106
- erubi (1.10.0)
107
- et-orbi (1.2.4)
81
+ diff-lcs (1.3)
82
+ erubi (1.9.0)
83
+ et-orbi (1.2.3)
108
84
  tzinfo
109
- faraday (1.7.0)
110
- faraday-em_http (~> 1.0)
111
- faraday-em_synchrony (~> 1.0)
112
- faraday-excon (~> 1.1)
113
- faraday-httpclient (~> 1.0.1)
114
- faraday-net_http (~> 1.0)
115
- faraday-net_http_persistent (~> 1.1)
116
- faraday-patron (~> 1.0)
117
- faraday-rack (~> 1.0)
85
+ faraday (0.17.3)
118
86
  multipart-post (>= 1.2, < 3)
119
- ruby2_keywords (>= 0.0.4)
120
- faraday-em_http (1.0.0)
121
- faraday-em_synchrony (1.0.0)
122
- faraday-excon (1.1.0)
123
- faraday-http-cache (2.2.0)
124
- faraday (>= 0.8)
125
- faraday-httpclient (1.0.1)
126
- faraday-net_http (1.0.1)
127
- faraday-net_http_persistent (1.2.0)
128
- faraday-patron (1.0.0)
129
- faraday-rack (1.0.0)
130
- fiber-local (1.0.0)
131
- fugit (1.5.1)
87
+ faraday-http-cache (2.0.0)
88
+ faraday (~> 0.8)
89
+ fugit (1.3.3)
132
90
  et-orbi (~> 1.1, >= 1.1.8)
133
- raabro (~> 1.4)
134
- github_changelog_generator (1.16.4)
91
+ raabro (~> 1.1)
92
+ github_changelog_generator (1.15.0)
135
93
  activesupport
136
- async (>= 1.25.0)
137
- async-http-faraday
138
94
  faraday-http-cache
139
95
  multi_json
140
96
  octokit (~> 4.6)
141
97
  rainbow (>= 2.2.1)
142
98
  rake (>= 10.0)
143
- globalid (0.5.2)
144
- activesupport (>= 5.0)
99
+ retriable (~> 3.0)
100
+ globalid (0.4.2)
101
+ activesupport (>= 4.2.0)
145
102
  google-cloud-tasks (1.0.0)
146
103
  google-gax (~> 1.3)
147
104
  googleapis-common-protos (>= 1.3.9, < 2.0)
@@ -152,121 +109,113 @@ GEM
152
109
  googleauth (~> 0.9)
153
110
  grpc (~> 1.24)
154
111
  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)
112
+ google-protobuf (3.11.4)
113
+ googleapis-common-protos (1.3.9)
114
+ google-protobuf (~> 3.0)
115
+ googleapis-common-protos-types (~> 1.0)
116
+ grpc (~> 1.0)
117
+ googleapis-common-protos-types (1.0.4)
118
+ google-protobuf (~> 3.0)
119
+ googleauth (0.11.0)
163
120
  faraday (>= 0.17.3, < 2.0)
164
121
  jwt (>= 1.4, < 3.0)
165
122
  memoist (~> 0.16)
166
123
  multi_json (~> 1.11)
167
124
  os (>= 0.9, < 2.0)
168
- signet (~> 0.14)
169
- grpc (1.38.0)
170
- google-protobuf (~> 3.15)
125
+ signet (~> 0.12)
126
+ grpc (1.27.0)
127
+ google-protobuf (~> 3.11)
171
128
  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)
129
+ grpc-google-iam-v1 (0.6.9)
130
+ googleapis-common-protos (>= 1.3.1, < 2.0)
131
+ grpc (~> 1.0)
176
132
  hashdiff (1.0.1)
177
- i18n (1.8.10)
133
+ i18n (1.8.2)
178
134
  concurrent-ruby (~> 1.0)
179
135
  jaro_winkler (1.5.4)
180
- jwt (2.2.3)
181
- loofah (2.12.0)
136
+ jwt (2.2.1)
137
+ loofah (2.4.0)
182
138
  crass (~> 1.0.2)
183
139
  nokogiri (>= 1.5.9)
184
140
  mail (2.7.1)
185
141
  mini_mime (>= 0.1.1)
186
- marcel (1.0.1)
142
+ marcel (0.3.3)
143
+ mimemagic (~> 0.3.2)
187
144
  memoist (0.16.2)
188
- method_source (1.0.0)
189
- mini_mime (1.1.0)
190
- mini_portile2 (2.6.1)
191
- minitest (5.14.4)
192
- multi_json (1.15.0)
145
+ method_source (0.9.2)
146
+ mimemagic (0.3.4)
147
+ mini_mime (1.0.2)
148
+ mini_portile2 (2.4.0)
149
+ minitest (5.14.0)
150
+ multi_json (1.14.1)
193
151
  multipart-post (2.1.1)
194
- nio4r (2.5.8)
195
- nokogiri (1.12.3)
196
- mini_portile2 (~> 2.6.1)
197
- racc (~> 1.4)
198
- octokit (4.21.0)
152
+ nio4r (2.5.2)
153
+ nokogiri (1.10.9)
154
+ mini_portile2 (~> 2.4.0)
155
+ octokit (4.16.0)
199
156
  faraday (>= 0.9)
200
157
  sawyer (~> 0.8.0, >= 0.5.3)
201
- os (1.1.1)
202
- parallel (1.20.1)
203
- parser (3.0.2.0)
204
- ast (~> 2.4.1)
205
- protocol-hpack (1.4.2)
206
- protocol-http (0.22.5)
207
- protocol-http1 (0.14.1)
208
- protocol-http (~> 0.22)
209
- protocol-http2 (0.14.2)
210
- protocol-hpack (~> 1.4)
211
- protocol-http (~> 0.18)
212
- public_suffix (4.0.6)
213
- raabro (1.4.0)
214
- racc (1.5.2)
215
- rack (2.2.3)
158
+ os (1.0.1)
159
+ parallel (1.19.1)
160
+ parser (2.7.0.4)
161
+ ast (~> 2.4.0)
162
+ public_suffix (4.0.3)
163
+ raabro (1.1.6)
164
+ rack (2.2.2)
216
165
  rack-test (1.1.0)
217
166
  rack (>= 1.0, < 3)
218
- rails (6.1.4)
219
- actioncable (= 6.1.4)
220
- actionmailbox (= 6.1.4)
221
- actionmailer (= 6.1.4)
222
- actionpack (= 6.1.4)
223
- actiontext (= 6.1.4)
224
- actionview (= 6.1.4)
225
- activejob (= 6.1.4)
226
- activemodel (= 6.1.4)
227
- activerecord (= 6.1.4)
228
- activestorage (= 6.1.4)
229
- activesupport (= 6.1.4)
230
- bundler (>= 1.15.0)
231
- railties (= 6.1.4)
167
+ rails (6.0.2.1)
168
+ actioncable (= 6.0.2.1)
169
+ actionmailbox (= 6.0.2.1)
170
+ actionmailer (= 6.0.2.1)
171
+ actionpack (= 6.0.2.1)
172
+ actiontext (= 6.0.2.1)
173
+ actionview (= 6.0.2.1)
174
+ activejob (= 6.0.2.1)
175
+ activemodel (= 6.0.2.1)
176
+ activerecord (= 6.0.2.1)
177
+ activestorage (= 6.0.2.1)
178
+ activesupport (= 6.0.2.1)
179
+ bundler (>= 1.3.0)
180
+ railties (= 6.0.2.1)
232
181
  sprockets-rails (>= 2.0.0)
233
182
  rails-dom-testing (2.0.3)
234
183
  activesupport (>= 4.2.0)
235
184
  nokogiri (>= 1.6)
236
- rails-html-sanitizer (1.4.1)
185
+ rails-html-sanitizer (1.3.0)
237
186
  loofah (~> 2.3)
238
- railties (6.1.4)
239
- actionpack (= 6.1.4)
240
- activesupport (= 6.1.4)
187
+ railties (6.0.2.1)
188
+ actionpack (= 6.0.2.1)
189
+ activesupport (= 6.0.2.1)
241
190
  method_source
242
- rake (>= 0.13)
243
- thor (~> 1.0)
191
+ rake (>= 0.8.7)
192
+ thor (>= 0.20.3, < 2.0)
244
193
  rainbow (3.0.0)
245
- rake (13.0.6)
246
- redis (4.4.0)
247
- rexml (3.2.5)
194
+ rake (13.0.1)
195
+ redis (4.1.3)
196
+ retriable (3.1.2)
248
197
  rly (0.2.3)
249
- rspec (3.10.0)
250
- rspec-core (~> 3.10.0)
251
- rspec-expectations (~> 3.10.0)
252
- rspec-mocks (~> 3.10.0)
253
- rspec-core (3.10.1)
254
- rspec-support (~> 3.10.0)
255
- rspec-expectations (3.10.1)
198
+ rspec (3.9.0)
199
+ rspec-core (~> 3.9.0)
200
+ rspec-expectations (~> 3.9.0)
201
+ rspec-mocks (~> 3.9.0)
202
+ rspec-core (3.9.1)
203
+ rspec-support (~> 3.9.1)
204
+ rspec-expectations (3.9.0)
256
205
  diff-lcs (>= 1.2.0, < 2.0)
257
- rspec-support (~> 3.10.0)
258
- rspec-mocks (3.10.2)
206
+ rspec-support (~> 3.9.0)
207
+ rspec-mocks (3.9.1)
259
208
  diff-lcs (>= 1.2.0, < 2.0)
260
- rspec-support (~> 3.10.0)
261
- rspec-rails (5.0.2)
262
- actionpack (>= 5.2)
263
- activesupport (>= 5.2)
264
- railties (>= 5.2)
265
- rspec-core (~> 3.10)
266
- rspec-expectations (~> 3.10)
267
- rspec-mocks (~> 3.10)
268
- rspec-support (~> 3.10)
269
- rspec-support (3.10.2)
209
+ rspec-support (~> 3.9.0)
210
+ rspec-rails (3.9.0)
211
+ actionpack (>= 3.0)
212
+ activesupport (>= 3.0)
213
+ railties (>= 3.0)
214
+ rspec-core (~> 3.9.0)
215
+ rspec-expectations (~> 3.9.0)
216
+ rspec-mocks (~> 3.9.0)
217
+ rspec-support (~> 3.9.0)
218
+ rspec-support (3.9.2)
270
219
  rubocop (0.76.0)
271
220
  jaro_winkler (~> 1.5.1)
272
221
  parallel (~> 1.10)
@@ -276,40 +225,38 @@ GEM
276
225
  unicode-display_width (>= 1.4.0, < 1.7)
277
226
  rubocop-rspec (1.37.0)
278
227
  rubocop (>= 0.68.1)
279
- ruby-progressbar (1.11.0)
280
- ruby2_keywords (0.0.5)
228
+ ruby-progressbar (1.10.1)
229
+ safe_yaml (1.0.5)
281
230
  sawyer (0.8.2)
282
231
  addressable (>= 2.3.5)
283
232
  faraday (> 0.8, < 2.0)
284
- semantic_logger (4.8.2)
285
- concurrent-ruby (~> 1.0)
286
- signet (0.15.0)
233
+ signet (0.13.0)
287
234
  addressable (~> 2.3)
288
235
  faraday (>= 0.17.3, < 2.0)
289
236
  jwt (>= 1.5, < 3.0)
290
237
  multi_json (~> 1.10)
291
- sprockets (4.0.2)
238
+ sprockets (4.0.0)
292
239
  concurrent-ruby (~> 1.0)
293
240
  rack (> 1, < 3)
294
- sprockets-rails (3.2.2)
241
+ sprockets-rails (3.2.1)
295
242
  actionpack (>= 4.0)
296
243
  activesupport (>= 4.0)
297
244
  sprockets (>= 3.0.0)
298
245
  sqlite3 (1.4.2)
299
- thor (1.1.0)
300
- timecop (0.9.4)
301
- timers (4.3.3)
302
- tzinfo (2.0.4)
303
- concurrent-ruby (~> 1.0)
246
+ thor (1.0.1)
247
+ thread_safe (0.3.6)
248
+ timecop (0.9.1)
249
+ tzinfo (1.2.6)
250
+ thread_safe (~> 0.1)
304
251
  unicode-display_width (1.6.1)
305
- webmock (3.14.0)
306
- addressable (>= 2.8.0)
252
+ webmock (3.8.2)
253
+ addressable (>= 2.3.6)
307
254
  crack (>= 0.3.2)
308
255
  hashdiff (>= 0.4.0, < 2.0.0)
309
- websocket-driver (0.7.5)
256
+ websocket-driver (0.7.1)
310
257
  websocket-extensions (>= 0.1.0)
311
- websocket-extensions (0.1.5)
312
- zeitwerk (2.4.2)
258
+ websocket-extensions (0.1.4)
259
+ zeitwerk (2.3.0)
313
260
 
314
261
  PLATFORMS
315
262
  ruby
@@ -326,10 +273,9 @@ DEPENDENCIES
326
273
  rspec-rails
327
274
  rubocop (= 0.76.0)
328
275
  rubocop-rspec (= 1.37.0)
329
- semantic_logger
330
276
  sqlite3
331
277
  timecop
332
278
  webmock
333
279
 
334
280
  BUNDLED WITH
335
- 2.2.9
281
+ 2.1.4
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
- source "https://rubygems.org"
5
+ source 'https://rubygems.org'
4
6
 
5
- gem "google-cloud-tasks", "1.1"
7
+ gem 'google-cloud-tasks', '1.1'
6
8
 
7
- gemspec path: "../"
9
+ gemspec path: '../'