cloudtasker 0.10.2 → 0.11.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,7 +85,7 @@ module Cloudtasker
85
85
  redis.expire(args_payload_key, ARGS_PAYLOAD_CLEANUP_TTL) if args_payload_key && !worker.job_reenqueued
86
86
 
87
87
  resp
88
- rescue DeadWorkerError => e
88
+ rescue DeadWorkerError, MissingWorkerArgumentsError => e
89
89
  # Delete stored args payload if job is dead
90
90
  redis.expire(args_payload_key, ARGS_PAYLOAD_CLEANUP_TTL) if args_payload_key
91
91
  raise(e)
data/lib/cloudtasker.rb CHANGED
@@ -1,7 +1,6 @@
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'
5
4
 
6
5
  require 'cloudtasker/version'
7
6
  require 'cloudtasker/config'
@@ -9,6 +8,7 @@ require 'cloudtasker/config'
9
8
  require 'cloudtasker/authentication_error'
10
9
  require 'cloudtasker/dead_worker_error'
11
10
  require 'cloudtasker/invalid_worker_error'
11
+ require 'cloudtasker/missing_worker_arguments_error'
12
12
  require 'cloudtasker/max_task_size_exceeded_error'
13
13
 
14
14
  require 'cloudtasker/middleware/chain'
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.10.2
4
+ version: 0.11.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-25 00:00:00.000000000 Z
11
+ date: 2020-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -310,6 +310,7 @@ files:
310
310
  - README.md
311
311
  - Rakefile
312
312
  - _config.yml
313
+ - app/controllers/cloudtasker/application_controller.rb
313
314
  - app/controllers/cloudtasker/worker_controller.rb
314
315
  - bin/console
315
316
  - bin/setup
@@ -369,6 +370,7 @@ files:
369
370
  - lib/cloudtasker/max_task_size_exceeded_error.rb
370
371
  - lib/cloudtasker/meta_store.rb
371
372
  - lib/cloudtasker/middleware/chain.rb
373
+ - lib/cloudtasker/missing_worker_arguments_error.rb
372
374
  - lib/cloudtasker/redis_client.rb
373
375
  - lib/cloudtasker/testing.rb
374
376
  - lib/cloudtasker/unique_job.rb
@@ -399,7 +401,7 @@ metadata:
399
401
  homepage_uri: https://github.com/keypup-io/cloudtasker
400
402
  source_code_uri: https://github.com/keypup-io/cloudtasker
401
403
  changelog_uri: https://github.com/keypup-io/cloudtasker/master/tree/CHANGELOG.md
402
- post_install_message:
404
+ post_install_message:
403
405
  rdoc_options: []
404
406
  require_paths:
405
407
  - lib
@@ -410,12 +412,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
410
412
  version: '0'
411
413
  required_rubygems_version: !ruby/object:Gem::Requirement
412
414
  requirements:
413
- - - ">="
415
+ - - ">"
414
416
  - !ruby/object:Gem::Version
415
- version: '0'
417
+ version: 1.3.1
416
418
  requirements: []
417
419
  rubygems_version: 3.0.0
418
- signing_key:
420
+ signing_key:
419
421
  specification_version: 4
420
422
  summary: Background jobs for Ruby using Google Cloud Tasks (beta)
421
423
  test_files: []