cloudtasker 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1ddbb417da7795762b05246c8f6c66331632e28fb1dc4aac95882eb1d592a91
4
- data.tar.gz: 4e392625eab9dd00201fe9b4f0590137afb1887472a0a0c1e3df88d836743f51
3
+ metadata.gz: ab6a1615278350bb5ba27b6cce48a9f8e6b6a52f2fcfcf91878428e948d58472
4
+ data.tar.gz: 8dfb96442d4b4010f0cf1e81f08b5a804c0a5249a4a106aee7faabffe183f9e2
5
5
  SHA512:
6
- metadata.gz: 7b75bac785eb416cc982d95dc4144c3accc4b1e9dde1256ba163a7cfc3adef7fde5f1f91af06e81b143b7a97d83a3a2e7269b3f6ae98b3e603496f3e10149581
7
- data.tar.gz: 1452b8478277be45e391856c05c333c597f8dc33bbbef5416c9b154f56db0f73f8400be1220ee4bb1b349709e46cc66909c72c853c768284c1946bdf34fa394a
6
+ metadata.gz: 4faaa0888a5446fde4726facf76a99c57c8dcbfbbabaae9cd7ae7640b774748aa1db5993bb61a242ac093b5797f43b649a99b91abf2882750ea6b0e3e18684a0
7
+ data.tar.gz: 3bc948b6437aa56ca98cdebb7eb2996ed4fb895a0fab2819adefb109de21387dcde5d16b89795bc075076958b310b74149b1731bfb90016903fa491f10859736
@@ -1,10 +1,6 @@
1
1
  name: Test
2
2
 
3
- on:
4
- push:
5
- branches: [ master, 0.9-stable ]
6
- pull_request:
7
- branches: [ master, 0.9-stable ]
3
+ on: [push, pull_request]
8
4
 
9
5
  jobs:
10
6
  build:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.12.1](https://github.com/keypup-io/cloudtasker/tree/v0.12.1) (2021-08-25)
4
+
5
+ [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.12.0...v0.12.1)
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
+
11
+ ## [v0.11.1](https://github.com/keypup-io/cloudtasker/tree/v0.11.1) (2021-08-25)
12
+
13
+ [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.11.0...v0.11.1)
14
+
15
+ **Fixed bugs:**
16
+ - Dependencies: Require `try` from `activesupport`. This was preventing non-Rails projects from properly running Cloudtasker jobs.
17
+ - 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)
18
+
19
+ ## [v0.10.2](https://github.com/keypup-io/cloudtasker/tree/v0.10.2) (2021-08-25)
20
+
21
+ [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.10.1...v0.10.2)
22
+
23
+ **Fixed bugs:**
24
+ - Dependencies: Require `try` from `activesupport`. This was preventing non-Rails projects from properly running Cloudtasker jobs.
25
+ - 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)
26
+
27
+ ## [v0.9.5](https://github.com/keypup-io/cloudtasker/tree/v0.9.5) (2021-08-25)
28
+
29
+ [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.9.4...v0.9.5)
30
+
31
+ **Fixed bugs:**
32
+ - Dependencies: Require `try` from `activesupport`. This was preventing non-Rails projects from properly running Cloudtasker jobs.
33
+ - 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)
34
+
3
35
  ## [v0.12.0](https://github.com/keypup-io/cloudtasker/tree/v0.12.0) (2021-08-19)
4
36
 
5
37
  [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.11.0...v0.12.0)
@@ -25,7 +57,7 @@
25
57
  **Fixed bugs:**
26
58
  - Retries: Enforce job retry limit on job processing. There was an edge case where jobs could be retried indefinitely on batch callback errors.
27
59
 
28
- ## [v0.11.0](https://github.com/keypup-io/cloudtasker/tree/v0.11.0) (2021-03-11)
60
+ ## [v0.11.0](https://github.com/keypup-io/cloudtasker/tree/v0.11.0) (2020-11-23)
29
61
 
30
62
  [Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.10.0...v0.11.0)
31
63
 
@@ -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
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.12.0)
4
+ cloudtasker (0.12.1)
5
5
  activesupport
6
6
  connection_pool
7
7
  fugit
@@ -13,60 +13,60 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- actioncable (6.1.4)
17
- actionpack (= 6.1.4)
18
- activesupport (= 6.1.4)
16
+ actioncable (6.1.4.1)
17
+ actionpack (= 6.1.4.1)
18
+ activesupport (= 6.1.4.1)
19
19
  nio4r (~> 2.0)
20
20
  websocket-driver (>= 0.6.1)
21
- actionmailbox (6.1.4)
22
- actionpack (= 6.1.4)
23
- activejob (= 6.1.4)
24
- activerecord (= 6.1.4)
25
- activestorage (= 6.1.4)
26
- activesupport (= 6.1.4)
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)
27
27
  mail (>= 2.7.1)
28
- actionmailer (6.1.4)
29
- actionpack (= 6.1.4)
30
- actionview (= 6.1.4)
31
- activejob (= 6.1.4)
32
- activesupport (= 6.1.4)
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)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  rails-dom-testing (~> 2.0)
35
- actionpack (6.1.4)
36
- actionview (= 6.1.4)
37
- activesupport (= 6.1.4)
35
+ actionpack (6.1.4.1)
36
+ actionview (= 6.1.4.1)
37
+ activesupport (= 6.1.4.1)
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.4)
43
- actionpack (= 6.1.4)
44
- activerecord (= 6.1.4)
45
- activestorage (= 6.1.4)
46
- activesupport (= 6.1.4)
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)
47
47
  nokogiri (>= 1.8.5)
48
- actionview (6.1.4)
49
- activesupport (= 6.1.4)
48
+ actionview (6.1.4.1)
49
+ activesupport (= 6.1.4.1)
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.4)
55
- activesupport (= 6.1.4)
54
+ activejob (6.1.4.1)
55
+ activesupport (= 6.1.4.1)
56
56
  globalid (>= 0.3.6)
57
- activemodel (6.1.4)
58
- activesupport (= 6.1.4)
59
- activerecord (6.1.4)
60
- activemodel (= 6.1.4)
61
- activesupport (= 6.1.4)
62
- activestorage (6.1.4)
63
- actionpack (= 6.1.4)
64
- activejob (= 6.1.4)
65
- activerecord (= 6.1.4)
66
- activesupport (= 6.1.4)
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
67
  marcel (~> 1.0.0)
68
68
  mini_mime (>= 1.1.0)
69
- activesupport (6.1.4)
69
+ activesupport (6.1.4.1)
70
70
  concurrent-ruby (~> 1.0, >= 1.0.2)
71
71
  i18n (>= 1.6, < 2)
72
72
  minitest (>= 5.1)
@@ -189,7 +189,7 @@ GEM
189
189
  marcel (1.0.1)
190
190
  memoist (0.16.2)
191
191
  method_source (1.0.0)
192
- mini_mime (1.1.0)
192
+ mini_mime (1.1.1)
193
193
  mini_portile2 (2.6.1)
194
194
  minitest (5.14.4)
195
195
  multi_json (1.15.0)
@@ -207,7 +207,7 @@ GEM
207
207
  ast (~> 2.4.1)
208
208
  protocol-hpack (1.4.2)
209
209
  protocol-http (0.22.5)
210
- protocol-http1 (0.14.1)
210
+ protocol-http1 (0.14.2)
211
211
  protocol-http (~> 0.22)
212
212
  protocol-http2 (0.14.2)
213
213
  protocol-hpack (~> 1.4)
@@ -218,29 +218,29 @@ GEM
218
218
  rack (2.2.3)
219
219
  rack-test (1.1.0)
220
220
  rack (>= 1.0, < 3)
221
- rails (6.1.4)
222
- actioncable (= 6.1.4)
223
- actionmailbox (= 6.1.4)
224
- actionmailer (= 6.1.4)
225
- actionpack (= 6.1.4)
226
- actiontext (= 6.1.4)
227
- actionview (= 6.1.4)
228
- activejob (= 6.1.4)
229
- activemodel (= 6.1.4)
230
- activerecord (= 6.1.4)
231
- activestorage (= 6.1.4)
232
- activesupport (= 6.1.4)
221
+ rails (6.1.4.1)
222
+ actioncable (= 6.1.4.1)
223
+ actionmailbox (= 6.1.4.1)
224
+ actionmailer (= 6.1.4.1)
225
+ actionpack (= 6.1.4.1)
226
+ actiontext (= 6.1.4.1)
227
+ actionview (= 6.1.4.1)
228
+ activejob (= 6.1.4.1)
229
+ activemodel (= 6.1.4.1)
230
+ activerecord (= 6.1.4.1)
231
+ activestorage (= 6.1.4.1)
232
+ activesupport (= 6.1.4.1)
233
233
  bundler (>= 1.15.0)
234
- railties (= 6.1.4)
234
+ railties (= 6.1.4.1)
235
235
  sprockets-rails (>= 2.0.0)
236
236
  rails-dom-testing (2.0.3)
237
237
  activesupport (>= 4.2.0)
238
238
  nokogiri (>= 1.6)
239
- rails-html-sanitizer (1.4.1)
239
+ rails-html-sanitizer (1.4.2)
240
240
  loofah (~> 2.3)
241
- railties (6.1.4)
242
- actionpack (= 6.1.4)
243
- activesupport (= 6.1.4)
241
+ railties (6.1.4.1)
242
+ actionpack (= 6.1.4.1)
243
+ activesupport (= 6.1.4.1)
244
244
  method_source
245
245
  rake (>= 0.13)
246
246
  thor (~> 1.0)
@@ -338,4 +338,4 @@ DEPENDENCIES
338
338
  webmock
339
339
 
340
340
  BUNDLED WITH
341
- 2.2.9
341
+ 2.2.26
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.12.0)
4
+ cloudtasker (0.12.1)
5
5
  activesupport
6
6
  connection_pool
7
7
  fugit
@@ -13,60 +13,60 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- actioncable (6.1.4)
17
- actionpack (= 6.1.4)
18
- activesupport (= 6.1.4)
16
+ actioncable (6.1.4.1)
17
+ actionpack (= 6.1.4.1)
18
+ activesupport (= 6.1.4.1)
19
19
  nio4r (~> 2.0)
20
20
  websocket-driver (>= 0.6.1)
21
- actionmailbox (6.1.4)
22
- actionpack (= 6.1.4)
23
- activejob (= 6.1.4)
24
- activerecord (= 6.1.4)
25
- activestorage (= 6.1.4)
26
- activesupport (= 6.1.4)
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)
27
27
  mail (>= 2.7.1)
28
- actionmailer (6.1.4)
29
- actionpack (= 6.1.4)
30
- actionview (= 6.1.4)
31
- activejob (= 6.1.4)
32
- activesupport (= 6.1.4)
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)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  rails-dom-testing (~> 2.0)
35
- actionpack (6.1.4)
36
- actionview (= 6.1.4)
37
- activesupport (= 6.1.4)
35
+ actionpack (6.1.4.1)
36
+ actionview (= 6.1.4.1)
37
+ activesupport (= 6.1.4.1)
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.4)
43
- actionpack (= 6.1.4)
44
- activerecord (= 6.1.4)
45
- activestorage (= 6.1.4)
46
- activesupport (= 6.1.4)
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)
47
47
  nokogiri (>= 1.8.5)
48
- actionview (6.1.4)
49
- activesupport (= 6.1.4)
48
+ actionview (6.1.4.1)
49
+ activesupport (= 6.1.4.1)
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.4)
55
- activesupport (= 6.1.4)
54
+ activejob (6.1.4.1)
55
+ activesupport (= 6.1.4.1)
56
56
  globalid (>= 0.3.6)
57
- activemodel (6.1.4)
58
- activesupport (= 6.1.4)
59
- activerecord (6.1.4)
60
- activemodel (= 6.1.4)
61
- activesupport (= 6.1.4)
62
- activestorage (6.1.4)
63
- actionpack (= 6.1.4)
64
- activejob (= 6.1.4)
65
- activerecord (= 6.1.4)
66
- activesupport (= 6.1.4)
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
67
  marcel (~> 1.0.0)
68
68
  mini_mime (>= 1.1.0)
69
- activesupport (6.1.4)
69
+ activesupport (6.1.4.1)
70
70
  concurrent-ruby (~> 1.0, >= 1.0.2)
71
71
  i18n (>= 1.6, < 2)
72
72
  minitest (>= 5.1)
@@ -189,7 +189,7 @@ GEM
189
189
  marcel (1.0.1)
190
190
  memoist (0.16.2)
191
191
  method_source (1.0.0)
192
- mini_mime (1.1.0)
192
+ mini_mime (1.1.1)
193
193
  mini_portile2 (2.6.1)
194
194
  minitest (5.14.4)
195
195
  multi_json (1.15.0)
@@ -207,7 +207,7 @@ GEM
207
207
  ast (~> 2.4.1)
208
208
  protocol-hpack (1.4.2)
209
209
  protocol-http (0.22.5)
210
- protocol-http1 (0.14.1)
210
+ protocol-http1 (0.14.2)
211
211
  protocol-http (~> 0.22)
212
212
  protocol-http2 (0.14.2)
213
213
  protocol-hpack (~> 1.4)
@@ -218,29 +218,29 @@ GEM
218
218
  rack (2.2.3)
219
219
  rack-test (1.1.0)
220
220
  rack (>= 1.0, < 3)
221
- rails (6.1.4)
222
- actioncable (= 6.1.4)
223
- actionmailbox (= 6.1.4)
224
- actionmailer (= 6.1.4)
225
- actionpack (= 6.1.4)
226
- actiontext (= 6.1.4)
227
- actionview (= 6.1.4)
228
- activejob (= 6.1.4)
229
- activemodel (= 6.1.4)
230
- activerecord (= 6.1.4)
231
- activestorage (= 6.1.4)
232
- activesupport (= 6.1.4)
221
+ rails (6.1.4.1)
222
+ actioncable (= 6.1.4.1)
223
+ actionmailbox (= 6.1.4.1)
224
+ actionmailer (= 6.1.4.1)
225
+ actionpack (= 6.1.4.1)
226
+ actiontext (= 6.1.4.1)
227
+ actionview (= 6.1.4.1)
228
+ activejob (= 6.1.4.1)
229
+ activemodel (= 6.1.4.1)
230
+ activerecord (= 6.1.4.1)
231
+ activestorage (= 6.1.4.1)
232
+ activesupport (= 6.1.4.1)
233
233
  bundler (>= 1.15.0)
234
- railties (= 6.1.4)
234
+ railties (= 6.1.4.1)
235
235
  sprockets-rails (>= 2.0.0)
236
236
  rails-dom-testing (2.0.3)
237
237
  activesupport (>= 4.2.0)
238
238
  nokogiri (>= 1.6)
239
- rails-html-sanitizer (1.4.1)
239
+ rails-html-sanitizer (1.4.2)
240
240
  loofah (~> 2.3)
241
- railties (6.1.4)
242
- actionpack (= 6.1.4)
243
- activesupport (= 6.1.4)
241
+ railties (6.1.4.1)
242
+ actionpack (= 6.1.4.1)
243
+ activesupport (= 6.1.4.1)
244
244
  method_source
245
245
  rake (>= 0.13)
246
246
  thor (~> 1.0)
@@ -338,4 +338,4 @@ DEPENDENCIES
338
338
  webmock
339
339
 
340
340
  BUNDLED WITH
341
- 2.2.9
341
+ 2.2.26
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.12.0)
4
+ cloudtasker (0.12.1)
5
5
  activesupport
6
6
  connection_pool
7
7
  fugit
@@ -13,60 +13,60 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- actioncable (6.1.4)
17
- actionpack (= 6.1.4)
18
- activesupport (= 6.1.4)
16
+ actioncable (6.1.4.1)
17
+ actionpack (= 6.1.4.1)
18
+ activesupport (= 6.1.4.1)
19
19
  nio4r (~> 2.0)
20
20
  websocket-driver (>= 0.6.1)
21
- actionmailbox (6.1.4)
22
- actionpack (= 6.1.4)
23
- activejob (= 6.1.4)
24
- activerecord (= 6.1.4)
25
- activestorage (= 6.1.4)
26
- activesupport (= 6.1.4)
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)
27
27
  mail (>= 2.7.1)
28
- actionmailer (6.1.4)
29
- actionpack (= 6.1.4)
30
- actionview (= 6.1.4)
31
- activejob (= 6.1.4)
32
- activesupport (= 6.1.4)
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)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  rails-dom-testing (~> 2.0)
35
- actionpack (6.1.4)
36
- actionview (= 6.1.4)
37
- activesupport (= 6.1.4)
35
+ actionpack (6.1.4.1)
36
+ actionview (= 6.1.4.1)
37
+ activesupport (= 6.1.4.1)
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.4)
43
- actionpack (= 6.1.4)
44
- activerecord (= 6.1.4)
45
- activestorage (= 6.1.4)
46
- activesupport (= 6.1.4)
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)
47
47
  nokogiri (>= 1.8.5)
48
- actionview (6.1.4)
49
- activesupport (= 6.1.4)
48
+ actionview (6.1.4.1)
49
+ activesupport (= 6.1.4.1)
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.4)
55
- activesupport (= 6.1.4)
54
+ activejob (6.1.4.1)
55
+ activesupport (= 6.1.4.1)
56
56
  globalid (>= 0.3.6)
57
- activemodel (6.1.4)
58
- activesupport (= 6.1.4)
59
- activerecord (6.1.4)
60
- activemodel (= 6.1.4)
61
- activesupport (= 6.1.4)
62
- activestorage (6.1.4)
63
- actionpack (= 6.1.4)
64
- activejob (= 6.1.4)
65
- activerecord (= 6.1.4)
66
- activesupport (= 6.1.4)
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
67
  marcel (~> 1.0.0)
68
68
  mini_mime (>= 1.1.0)
69
- activesupport (6.1.4)
69
+ activesupport (6.1.4.1)
70
70
  concurrent-ruby (~> 1.0, >= 1.0.2)
71
71
  i18n (>= 1.6, < 2)
72
72
  minitest (>= 5.1)
@@ -189,7 +189,7 @@ GEM
189
189
  marcel (1.0.1)
190
190
  memoist (0.16.2)
191
191
  method_source (1.0.0)
192
- mini_mime (1.1.0)
192
+ mini_mime (1.1.1)
193
193
  mini_portile2 (2.6.1)
194
194
  minitest (5.14.4)
195
195
  multi_json (1.15.0)
@@ -207,7 +207,7 @@ GEM
207
207
  ast (~> 2.4.1)
208
208
  protocol-hpack (1.4.2)
209
209
  protocol-http (0.22.5)
210
- protocol-http1 (0.14.1)
210
+ protocol-http1 (0.14.2)
211
211
  protocol-http (~> 0.22)
212
212
  protocol-http2 (0.14.2)
213
213
  protocol-hpack (~> 1.4)
@@ -218,29 +218,29 @@ GEM
218
218
  rack (2.2.3)
219
219
  rack-test (1.1.0)
220
220
  rack (>= 1.0, < 3)
221
- rails (6.1.4)
222
- actioncable (= 6.1.4)
223
- actionmailbox (= 6.1.4)
224
- actionmailer (= 6.1.4)
225
- actionpack (= 6.1.4)
226
- actiontext (= 6.1.4)
227
- actionview (= 6.1.4)
228
- activejob (= 6.1.4)
229
- activemodel (= 6.1.4)
230
- activerecord (= 6.1.4)
231
- activestorage (= 6.1.4)
232
- activesupport (= 6.1.4)
221
+ rails (6.1.4.1)
222
+ actioncable (= 6.1.4.1)
223
+ actionmailbox (= 6.1.4.1)
224
+ actionmailer (= 6.1.4.1)
225
+ actionpack (= 6.1.4.1)
226
+ actiontext (= 6.1.4.1)
227
+ actionview (= 6.1.4.1)
228
+ activejob (= 6.1.4.1)
229
+ activemodel (= 6.1.4.1)
230
+ activerecord (= 6.1.4.1)
231
+ activestorage (= 6.1.4.1)
232
+ activesupport (= 6.1.4.1)
233
233
  bundler (>= 1.15.0)
234
- railties (= 6.1.4)
234
+ railties (= 6.1.4.1)
235
235
  sprockets-rails (>= 2.0.0)
236
236
  rails-dom-testing (2.0.3)
237
237
  activesupport (>= 4.2.0)
238
238
  nokogiri (>= 1.6)
239
- rails-html-sanitizer (1.4.1)
239
+ rails-html-sanitizer (1.4.2)
240
240
  loofah (~> 2.3)
241
- railties (6.1.4)
242
- actionpack (= 6.1.4)
243
- activesupport (= 6.1.4)
241
+ railties (6.1.4.1)
242
+ actionpack (= 6.1.4.1)
243
+ activesupport (= 6.1.4.1)
244
244
  method_source
245
245
  rake (>= 0.13)
246
246
  thor (~> 1.0)
@@ -338,4 +338,4 @@ DEPENDENCIES
338
338
  webmock
339
339
 
340
340
  BUNDLED WITH
341
- 2.2.9
341
+ 2.2.26
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.12.0)
4
+ cloudtasker (0.12.1)
5
5
  activesupport
6
6
  connection_pool
7
7
  fugit
@@ -13,60 +13,60 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- actioncable (6.1.4)
17
- actionpack (= 6.1.4)
18
- activesupport (= 6.1.4)
16
+ actioncable (6.1.4.1)
17
+ actionpack (= 6.1.4.1)
18
+ activesupport (= 6.1.4.1)
19
19
  nio4r (~> 2.0)
20
20
  websocket-driver (>= 0.6.1)
21
- actionmailbox (6.1.4)
22
- actionpack (= 6.1.4)
23
- activejob (= 6.1.4)
24
- activerecord (= 6.1.4)
25
- activestorage (= 6.1.4)
26
- activesupport (= 6.1.4)
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)
27
27
  mail (>= 2.7.1)
28
- actionmailer (6.1.4)
29
- actionpack (= 6.1.4)
30
- actionview (= 6.1.4)
31
- activejob (= 6.1.4)
32
- activesupport (= 6.1.4)
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)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  rails-dom-testing (~> 2.0)
35
- actionpack (6.1.4)
36
- actionview (= 6.1.4)
37
- activesupport (= 6.1.4)
35
+ actionpack (6.1.4.1)
36
+ actionview (= 6.1.4.1)
37
+ activesupport (= 6.1.4.1)
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.4)
43
- actionpack (= 6.1.4)
44
- activerecord (= 6.1.4)
45
- activestorage (= 6.1.4)
46
- activesupport (= 6.1.4)
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)
47
47
  nokogiri (>= 1.8.5)
48
- actionview (6.1.4)
49
- activesupport (= 6.1.4)
48
+ actionview (6.1.4.1)
49
+ activesupport (= 6.1.4.1)
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.4)
55
- activesupport (= 6.1.4)
54
+ activejob (6.1.4.1)
55
+ activesupport (= 6.1.4.1)
56
56
  globalid (>= 0.3.6)
57
- activemodel (6.1.4)
58
- activesupport (= 6.1.4)
59
- activerecord (6.1.4)
60
- activemodel (= 6.1.4)
61
- activesupport (= 6.1.4)
62
- activestorage (6.1.4)
63
- actionpack (= 6.1.4)
64
- activejob (= 6.1.4)
65
- activerecord (= 6.1.4)
66
- activesupport (= 6.1.4)
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
67
  marcel (~> 1.0.0)
68
68
  mini_mime (>= 1.1.0)
69
- activesupport (6.1.4)
69
+ activesupport (6.1.4.1)
70
70
  concurrent-ruby (~> 1.0, >= 1.0.2)
71
71
  i18n (>= 1.6, < 2)
72
72
  minitest (>= 5.1)
@@ -190,7 +190,7 @@ GEM
190
190
  marcel (1.0.1)
191
191
  memoist (0.16.2)
192
192
  method_source (1.0.0)
193
- mini_mime (1.1.0)
193
+ mini_mime (1.1.1)
194
194
  mini_portile2 (2.6.1)
195
195
  minitest (5.14.4)
196
196
  multi_json (1.15.0)
@@ -208,7 +208,7 @@ GEM
208
208
  ast (~> 2.4.1)
209
209
  protocol-hpack (1.4.2)
210
210
  protocol-http (0.22.5)
211
- protocol-http1 (0.14.1)
211
+ protocol-http1 (0.14.2)
212
212
  protocol-http (~> 0.22)
213
213
  protocol-http2 (0.14.2)
214
214
  protocol-hpack (~> 1.4)
@@ -219,29 +219,29 @@ GEM
219
219
  rack (2.2.3)
220
220
  rack-test (1.1.0)
221
221
  rack (>= 1.0, < 3)
222
- rails (6.1.4)
223
- actioncable (= 6.1.4)
224
- actionmailbox (= 6.1.4)
225
- actionmailer (= 6.1.4)
226
- actionpack (= 6.1.4)
227
- actiontext (= 6.1.4)
228
- actionview (= 6.1.4)
229
- activejob (= 6.1.4)
230
- activemodel (= 6.1.4)
231
- activerecord (= 6.1.4)
232
- activestorage (= 6.1.4)
233
- activesupport (= 6.1.4)
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
234
  bundler (>= 1.15.0)
235
- railties (= 6.1.4)
235
+ railties (= 6.1.4.1)
236
236
  sprockets-rails (>= 2.0.0)
237
237
  rails-dom-testing (2.0.3)
238
238
  activesupport (>= 4.2.0)
239
239
  nokogiri (>= 1.6)
240
- rails-html-sanitizer (1.4.1)
240
+ rails-html-sanitizer (1.4.2)
241
241
  loofah (~> 2.3)
242
- railties (6.1.4)
243
- actionpack (= 6.1.4)
244
- activesupport (= 6.1.4)
242
+ railties (6.1.4.1)
243
+ actionpack (= 6.1.4.1)
244
+ activesupport (= 6.1.4.1)
245
245
  method_source
246
246
  rake (>= 0.13)
247
247
  thor (~> 1.0)
@@ -339,4 +339,4 @@ DEPENDENCIES
339
339
  webmock
340
340
 
341
341
  BUNDLED WITH
342
- 2.2.9
342
+ 2.2.26
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.12.0)
4
+ cloudtasker (0.12.1)
5
5
  activesupport
6
6
  connection_pool
7
7
  fugit
@@ -177,7 +177,7 @@ GEM
177
177
  mimemagic (0.3.10)
178
178
  nokogiri (~> 1)
179
179
  rake
180
- mini_mime (1.1.0)
180
+ mini_mime (1.1.1)
181
181
  mini_portile2 (2.6.1)
182
182
  minitest (5.14.4)
183
183
  multi_json (1.15.0)
@@ -195,7 +195,7 @@ GEM
195
195
  ast (~> 2.4.1)
196
196
  protocol-hpack (1.4.2)
197
197
  protocol-http (0.22.5)
198
- protocol-http1 (0.14.1)
198
+ protocol-http1 (0.14.2)
199
199
  protocol-http (~> 0.22)
200
200
  protocol-http2 (0.14.2)
201
201
  protocol-hpack (~> 1.4)
@@ -222,7 +222,7 @@ GEM
222
222
  rails-dom-testing (2.0.3)
223
223
  activesupport (>= 4.2.0)
224
224
  nokogiri (>= 1.6)
225
- rails-html-sanitizer (1.4.1)
225
+ rails-html-sanitizer (1.4.2)
226
226
  loofah (~> 2.3)
227
227
  railties (5.2.0)
228
228
  actionpack (= 5.2.0)
@@ -323,4 +323,4 @@ DEPENDENCIES
323
323
  webmock
324
324
 
325
325
  BUNDLED WITH
326
- 2.2.9
326
+ 2.2.26
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.12.0)
4
+ cloudtasker (0.12.1)
5
5
  activesupport
6
6
  connection_pool
7
7
  fugit
@@ -190,7 +190,7 @@ GEM
190
190
  mimemagic (0.3.10)
191
191
  nokogiri (~> 1)
192
192
  rake
193
- mini_mime (1.1.0)
193
+ mini_mime (1.1.1)
194
194
  mini_portile2 (2.6.1)
195
195
  minitest (5.14.4)
196
196
  multi_json (1.15.0)
@@ -208,7 +208,7 @@ GEM
208
208
  ast (~> 2.4.1)
209
209
  protocol-hpack (1.4.2)
210
210
  protocol-http (0.22.5)
211
- protocol-http1 (0.14.1)
211
+ protocol-http1 (0.14.2)
212
212
  protocol-http (~> 0.22)
213
213
  protocol-http2 (0.14.2)
214
214
  protocol-hpack (~> 1.4)
@@ -237,7 +237,7 @@ GEM
237
237
  rails-dom-testing (2.0.3)
238
238
  activesupport (>= 4.2.0)
239
239
  nokogiri (>= 1.6)
240
- rails-html-sanitizer (1.4.1)
240
+ rails-html-sanitizer (1.4.2)
241
241
  loofah (~> 2.3)
242
242
  railties (6.0.0)
243
243
  actionpack (= 6.0.0)
@@ -339,4 +339,4 @@ DEPENDENCIES
339
339
  webmock
340
340
 
341
341
  BUNDLED WITH
342
- 2.2.9
342
+ 2.2.26
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cloudtasker
4
- VERSION = '0.12.0'
4
+ VERSION = '0.12.1'
5
5
  end
data/lib/cloudtasker.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'active_support/core_ext/string/inflections'
4
+ require 'active_support/core_ext/object/try'
4
5
 
5
6
  require 'cloudtasker/version'
6
7
  require 'cloudtasker/config'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudtasker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-19 00:00:00.000000000 Z
11
+ date: 2021-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -324,7 +324,6 @@ files:
324
324
  - README.md
325
325
  - Rakefile
326
326
  - _config.yml
327
- - app/controllers/cloudtasker/application_controller.rb
328
327
  - app/controllers/cloudtasker/worker_controller.rb
329
328
  - bin/console
330
329
  - bin/setup
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Cloudtasker
4
- # Base Cloudtasker controller
5
- class ApplicationController < ActionController::Base
6
- skip_before_action :verify_authenticity_token
7
- end
8
- end