rails-cloud-tasks 0.0.4.rc1 → 0.0.4rc2

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: ec0083f5d83803a2b0bd92726e11895503c587389d1026ee44ff8756e7df323c
4
- data.tar.gz: 799198caaac170f445738b613915f4153b1e73badb5108b70e487e12d63b5992
3
+ metadata.gz: febc18d459ee7372959661d7fdf6361700deeb6777663049f1ec3c3cadd9519a
4
+ data.tar.gz: c5f01e5ab5f4c42d923de94e6e94a04cb36d7e3c46905eec51f74f5f77689869
5
5
  SHA512:
6
- metadata.gz: 5720cdc6e5fdf8914c0bc176f464236297d578a2be4f63662a734e124fc27072f84115f63a76b73ae557931c85be35cb593c24a27799ddd80923e2e24a0e5151
7
- data.tar.gz: ba96fb91bc9c06fdf50d63242a2bafd73716dcca87d66ca1b0fa0f883aa07d04c4bb8fcdf82047da065de4192649279bb50b7b657f30ce06cf3d050fa0163ede
6
+ metadata.gz: fa9a92c2aa4bb52b64d327b86d18b0fa421f487f396858ad2a03c5735441ecd5402b2da7923c30938962c2d743bb93ce366bb26db04f79c5b8951d5f9d96abac
7
+ data.tar.gz: c882b97485494659e62ddca4855f64899b1629e27ae1714f861c754d8e78dbadbfde69bff0d9487dd47da62c88422acdf46cf1250efefe4e50c06f4bb9394d5b
@@ -14,7 +14,12 @@ module RailsCloudTasks
14
14
 
15
15
  request = ::Rack::Request.new(env)
16
16
  job_args = extract_args(request)
17
- job_class.perform_now(job_args)
17
+
18
+ if job_args
19
+ job_class.perform_now(job_args)
20
+ else
21
+ job_class.perform_now
22
+ end
18
23
 
19
24
  response(200, {})
20
25
  rescue Rack::InvalidPayloadError => e
@@ -1,3 +1,3 @@
1
1
  module RailsCloudTasks
2
- VERSION = '0.0.4.rc1'.freeze
2
+ VERSION = '0.0.4rc2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-cloud-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.rc1
4
+ version: 0.0.4rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Araújo