cloudtasker 0.9.4 → 0.9.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79a19719ba7b8f5572cc36b390d2c9c6a84149911dda847cd6f3dda6f3f9aa86
4
- data.tar.gz: ae5c92c86c5363caaf5143f576c181a3a500c661c93120ff2d7545bebf05cc85
3
+ metadata.gz: 3f8cde6f4433e688dce340d17a5194f9be7b0136a0bf472a8b46eed67223d4c7
4
+ data.tar.gz: b803d0a9d1247f9da6cc09086008e916feaff43aa180edbd6489673f9c628e44
5
5
  SHA512:
6
- metadata.gz: 626cbfb8be6e316a50e76b9d082fb709c0b0a637752ed888e07a5af9ba0804bac01afa2a853d8b2d72743579afafda5e0c92ef32e6f0ec6f7a8ab1a36435c74a
7
- data.tar.gz: b9dda9cef3b3b0278760c2fcda32e3e0abbfa1f571dd08e7636af640d3aedb447f29c097b7ccc04316a4392306dbdc96b243de715a527f29a7dd70fc13d9997c
6
+ metadata.gz: d7029b923e28b15a5021d86c76109eb8c56515ee6f193aa1a7664f251d3d47161e4fb61544c6ff5eebc09b233f0f0cedb45e32e99c6eb9c463049cfac77d2bb7
7
+ data.tar.gz: 2ae3a73d3e375ffc71851adcefd3b4bfbdff7803220461fd26da655698dbb6833e0310eca308667476eb8a01b6b07c28fb4c9235b5f01738bac4bc7758c7cc51
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.9.5](https://github.com/keypup-io/cloudtasker/tree/v0.9.5) (2021-08-25)
4
+
5
+ [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.9.4...v0.9.5)
6
+
7
+ **Fixed bugs:**
8
+ - Dependencies: Require `try` from `activesupport`. This was preventing non-Rails projects from properly running Cloudtasker jobs.
9
+ - WorkerController: remove useless inheritance from local ApplicationController. The parent controller was not always loaded on Rails 5 which in turn created issues with authenticity token. Fixes [#40](https://github.com/keypup-io/cloudtasker/issues/40)
10
+
3
11
  ## [v0.9.4](https://github.com/keypup-io/cloudtasker/tree/v0.9.4) (2020-10-05)
4
12
 
5
13
  [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.9.3...v0.9.4)
@@ -2,7 +2,10 @@
2
2
 
3
3
  module Cloudtasker
4
4
  # Handle execution of workers
5
- class WorkerController < ApplicationController
5
+ class WorkerController < ActionController::Base
6
+ # No need for CSRF verification on API endpoints
7
+ skip_before_action :verify_authenticity_token
8
+
6
9
  # Authenticate all requests.
7
10
  before_action :authenticate!
8
11
 
@@ -11,93 +11,137 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actioncable (6.0.3.3)
15
- actionpack (= 6.0.3.3)
14
+ actioncable (6.1.4)
15
+ actionpack (= 6.1.4)
16
+ activesupport (= 6.1.4)
16
17
  nio4r (~> 2.0)
17
18
  websocket-driver (>= 0.6.1)
18
- actionmailbox (6.0.3.3)
19
- actionpack (= 6.0.3.3)
20
- activejob (= 6.0.3.3)
21
- activerecord (= 6.0.3.3)
22
- activestorage (= 6.0.3.3)
23
- activesupport (= 6.0.3.3)
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)
24
25
  mail (>= 2.7.1)
25
- actionmailer (6.0.3.3)
26
- actionpack (= 6.0.3.3)
27
- actionview (= 6.0.3.3)
28
- activejob (= 6.0.3.3)
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)
29
31
  mail (~> 2.5, >= 2.5.4)
30
32
  rails-dom-testing (~> 2.0)
31
- actionpack (6.0.3.3)
32
- actionview (= 6.0.3.3)
33
- activesupport (= 6.0.3.3)
34
- rack (~> 2.0, >= 2.0.8)
33
+ actionpack (6.1.4)
34
+ actionview (= 6.1.4)
35
+ activesupport (= 6.1.4)
36
+ rack (~> 2.0, >= 2.0.9)
35
37
  rack-test (>= 0.6.3)
36
38
  rails-dom-testing (~> 2.0)
37
39
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
38
- actiontext (6.0.3.3)
39
- actionpack (= 6.0.3.3)
40
- activerecord (= 6.0.3.3)
41
- activestorage (= 6.0.3.3)
42
- activesupport (= 6.0.3.3)
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)
43
45
  nokogiri (>= 1.8.5)
44
- actionview (6.0.3.3)
45
- activesupport (= 6.0.3.3)
46
+ actionview (6.1.4)
47
+ activesupport (= 6.1.4)
46
48
  builder (~> 3.1)
47
49
  erubi (~> 1.4)
48
50
  rails-dom-testing (~> 2.0)
49
51
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
50
- activejob (6.0.3.3)
51
- activesupport (= 6.0.3.3)
52
+ activejob (6.1.4)
53
+ activesupport (= 6.1.4)
52
54
  globalid (>= 0.3.6)
53
- activemodel (6.0.3.3)
54
- activesupport (= 6.0.3.3)
55
- activerecord (6.0.3.3)
56
- activemodel (= 6.0.3.3)
57
- activesupport (= 6.0.3.3)
58
- activestorage (6.0.3.3)
59
- actionpack (= 6.0.3.3)
60
- activejob (= 6.0.3.3)
61
- activerecord (= 6.0.3.3)
62
- marcel (~> 0.3.1)
63
- activesupport (6.0.3.3)
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)
64
68
  concurrent-ruby (~> 1.0, >= 1.0.2)
65
- i18n (>= 0.7, < 2)
66
- minitest (~> 5.1)
67
- tzinfo (~> 1.1)
68
- zeitwerk (~> 2.2, >= 2.2.2)
69
- addressable (2.7.0)
69
+ i18n (>= 1.6, < 2)
70
+ minitest (>= 5.1)
71
+ tzinfo (~> 2.0)
72
+ zeitwerk (~> 2.3)
73
+ addressable (2.8.0)
70
74
  public_suffix (>= 2.0.2, < 5.0)
71
- appraisal (2.3.0)
75
+ appraisal (2.4.1)
72
76
  bundler
73
77
  rake
74
78
  thor (>= 0.14.0)
75
- ast (2.4.1)
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)
76
98
  builder (3.2.4)
77
- concurrent-ruby (1.1.7)
78
- crack (0.4.4)
99
+ concurrent-ruby (1.1.9)
100
+ console (1.13.1)
101
+ fiber-local
102
+ crack (0.4.5)
103
+ rexml
79
104
  crass (1.0.6)
80
105
  diff-lcs (1.4.4)
81
- erubi (1.9.0)
106
+ erubi (1.10.0)
82
107
  et-orbi (1.2.4)
83
108
  tzinfo
84
- faraday (1.0.1)
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
118
  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)
86
123
  faraday-http-cache (2.2.0)
87
124
  faraday (>= 0.8)
88
- fugit (1.3.9)
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)
89
132
  et-orbi (~> 1.1, >= 1.1.8)
90
- raabro (~> 1.3)
91
- github_changelog_generator (1.15.2)
133
+ raabro (~> 1.4)
134
+ github_changelog_generator (1.16.4)
92
135
  activesupport
136
+ async (>= 1.25.0)
137
+ async-http-faraday
93
138
  faraday-http-cache
94
139
  multi_json
95
140
  octokit (~> 4.6)
96
141
  rainbow (>= 2.2.1)
97
142
  rake (>= 10.0)
98
- retriable (~> 3.0)
99
- globalid (0.4.2)
100
- activesupport (>= 4.2.0)
143
+ globalid (0.5.2)
144
+ activesupport (>= 5.0)
101
145
  google-cloud-tasks (1.0.0)
102
146
  google-gax (~> 1.3)
103
147
  googleapis-common-protos (>= 1.3.9, < 2.0)
@@ -108,114 +152,121 @@ GEM
108
152
  googleauth (~> 0.9)
109
153
  grpc (~> 1.24)
110
154
  rly (~> 0.2.3)
111
- google-protobuf (3.13.0-universal-darwin)
112
- googleapis-common-protos (1.3.10)
113
- google-protobuf (~> 3.11)
114
- googleapis-common-protos-types (>= 1.0.5, < 2.0)
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)
115
159
  grpc (~> 1.27)
116
- googleapis-common-protos-types (1.0.5)
117
- google-protobuf (~> 3.11)
118
- googleauth (0.13.1)
160
+ googleapis-common-protos-types (1.1.0)
161
+ google-protobuf (~> 3.14)
162
+ googleauth (0.17.0)
119
163
  faraday (>= 0.17.3, < 2.0)
120
164
  jwt (>= 1.4, < 3.0)
121
165
  memoist (~> 0.16)
122
166
  multi_json (~> 1.11)
123
167
  os (>= 0.9, < 2.0)
124
168
  signet (~> 0.14)
125
- grpc (1.32.0-universal-darwin)
126
- google-protobuf (~> 3.13)
169
+ grpc (1.38.0)
170
+ google-protobuf (~> 3.15)
127
171
  googleapis-common-protos-types (~> 1.0)
128
- grpc-google-iam-v1 (0.6.10)
129
- google-protobuf (~> 3.11)
130
- googleapis-common-protos (>= 1.3.10, < 2.0)
172
+ grpc-google-iam-v1 (0.6.11)
173
+ google-protobuf (~> 3.14)
174
+ googleapis-common-protos (>= 1.3.11, < 2.0)
131
175
  grpc (~> 1.27)
132
176
  hashdiff (1.0.1)
133
- i18n (1.8.5)
177
+ i18n (1.8.10)
134
178
  concurrent-ruby (~> 1.0)
135
179
  jaro_winkler (1.5.4)
136
- jwt (2.2.2)
137
- loofah (2.7.0)
180
+ jwt (2.2.3)
181
+ loofah (2.12.0)
138
182
  crass (~> 1.0.2)
139
183
  nokogiri (>= 1.5.9)
140
184
  mail (2.7.1)
141
185
  mini_mime (>= 0.1.1)
142
- marcel (0.3.3)
143
- mimemagic (~> 0.3.2)
186
+ marcel (1.0.1)
144
187
  memoist (0.16.2)
145
188
  method_source (1.0.0)
146
- mimemagic (0.3.5)
147
- mini_mime (1.0.2)
148
- mini_portile2 (2.4.0)
149
- minitest (5.14.2)
189
+ mini_mime (1.1.0)
190
+ mini_portile2 (2.6.1)
191
+ minitest (5.14.4)
150
192
  multi_json (1.15.0)
151
193
  multipart-post (2.1.1)
152
- nio4r (2.5.4)
153
- nokogiri (1.10.10)
154
- mini_portile2 (~> 2.4.0)
155
- octokit (4.18.0)
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)
156
199
  faraday (>= 0.9)
157
200
  sawyer (~> 0.8.0, >= 0.5.3)
158
201
  os (1.1.1)
159
- parallel (1.19.2)
160
- parser (2.7.1.5)
202
+ parallel (1.20.1)
203
+ parser (3.0.2.0)
161
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)
162
212
  public_suffix (4.0.6)
163
- raabro (1.3.3)
213
+ raabro (1.4.0)
214
+ racc (1.5.2)
164
215
  rack (2.2.3)
165
216
  rack-test (1.1.0)
166
217
  rack (>= 1.0, < 3)
167
- rails (6.0.3.3)
168
- actioncable (= 6.0.3.3)
169
- actionmailbox (= 6.0.3.3)
170
- actionmailer (= 6.0.3.3)
171
- actionpack (= 6.0.3.3)
172
- actiontext (= 6.0.3.3)
173
- actionview (= 6.0.3.3)
174
- activejob (= 6.0.3.3)
175
- activemodel (= 6.0.3.3)
176
- activerecord (= 6.0.3.3)
177
- activestorage (= 6.0.3.3)
178
- activesupport (= 6.0.3.3)
179
- bundler (>= 1.3.0)
180
- railties (= 6.0.3.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)
181
232
  sprockets-rails (>= 2.0.0)
182
233
  rails-dom-testing (2.0.3)
183
234
  activesupport (>= 4.2.0)
184
235
  nokogiri (>= 1.6)
185
- rails-html-sanitizer (1.3.0)
236
+ rails-html-sanitizer (1.4.1)
186
237
  loofah (~> 2.3)
187
- railties (6.0.3.3)
188
- actionpack (= 6.0.3.3)
189
- activesupport (= 6.0.3.3)
238
+ railties (6.1.4)
239
+ actionpack (= 6.1.4)
240
+ activesupport (= 6.1.4)
190
241
  method_source
191
- rake (>= 0.8.7)
192
- thor (>= 0.20.3, < 2.0)
242
+ rake (>= 0.13)
243
+ thor (~> 1.0)
193
244
  rainbow (3.0.0)
194
- rake (13.0.1)
195
- redis (4.2.2)
196
- retriable (3.1.2)
245
+ rake (13.0.6)
246
+ redis (4.4.0)
247
+ rexml (3.2.5)
197
248
  rly (0.2.3)
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.3)
203
- rspec-support (~> 3.9.3)
204
- rspec-expectations (3.9.2)
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)
205
256
  diff-lcs (>= 1.2.0, < 2.0)
206
- rspec-support (~> 3.9.0)
207
- rspec-mocks (3.9.1)
257
+ rspec-support (~> 3.10.0)
258
+ rspec-mocks (3.10.2)
208
259
  diff-lcs (>= 1.2.0, < 2.0)
209
- rspec-support (~> 3.9.0)
210
- rspec-rails (4.0.1)
211
- actionpack (>= 4.2)
212
- activesupport (>= 4.2)
213
- railties (>= 4.2)
214
- rspec-core (~> 3.9)
215
- rspec-expectations (~> 3.9)
216
- rspec-mocks (~> 3.9)
217
- rspec-support (~> 3.9)
218
- rspec-support (3.9.3)
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)
219
270
  rubocop (0.76.0)
220
271
  jaro_winkler (~> 1.5.1)
221
272
  parallel (~> 1.10)
@@ -225,13 +276,14 @@ GEM
225
276
  unicode-display_width (>= 1.4.0, < 1.7)
226
277
  rubocop-rspec (1.37.0)
227
278
  rubocop (>= 0.68.1)
228
- ruby-progressbar (1.10.1)
279
+ ruby-progressbar (1.11.0)
280
+ ruby2_keywords (0.0.5)
229
281
  sawyer (0.8.2)
230
282
  addressable (>= 2.3.5)
231
283
  faraday (> 0.8, < 2.0)
232
- semantic_logger (4.7.2)
284
+ semantic_logger (4.8.2)
233
285
  concurrent-ruby (~> 1.0)
234
- signet (0.14.0)
286
+ signet (0.15.0)
235
287
  addressable (~> 2.3)
236
288
  faraday (>= 0.17.3, < 2.0)
237
289
  jwt (>= 1.5, < 3.0)
@@ -244,20 +296,20 @@ GEM
244
296
  activesupport (>= 4.0)
245
297
  sprockets (>= 3.0.0)
246
298
  sqlite3 (1.4.2)
247
- thor (1.0.1)
248
- thread_safe (0.3.6)
249
- timecop (0.9.1)
250
- tzinfo (1.2.7)
251
- thread_safe (~> 0.1)
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)
252
304
  unicode-display_width (1.6.1)
253
- webmock (3.9.1)
254
- addressable (>= 2.3.6)
305
+ webmock (3.14.0)
306
+ addressable (>= 2.8.0)
255
307
  crack (>= 0.3.2)
256
308
  hashdiff (>= 0.4.0, < 2.0.0)
257
- websocket-driver (0.7.3)
309
+ websocket-driver (0.7.5)
258
310
  websocket-extensions (>= 0.1.0)
259
311
  websocket-extensions (0.1.5)
260
- zeitwerk (2.4.0)
312
+ zeitwerk (2.4.2)
261
313
 
262
314
  PLATFORMS
263
315
  ruby
@@ -280,4 +332,4 @@ DEPENDENCIES
280
332
  webmock
281
333
 
282
334
  BUNDLED WITH
283
- 2.1.4
335
+ 2.2.9