resque-durable 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/resque/durable.rb +4 -4
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 717393b9ae90c4588cdb781a7526ac9fd6f8fef6
4
- data.tar.gz: 492a39940bf835b8e390d31a35cf82d8e519732d
3
+ metadata.gz: 29b76c4ad5376048fd49658063b16f73acd87d54
4
+ data.tar.gz: 30820b659c590e531c89ba844bec65e1eab92065
5
5
  SHA512:
6
- metadata.gz: b951bf3fbd81ddb70e3601df21a5252518e67fbdfea91454db32068d1ca29541f9b3194c855ae1a5f73aca11de88f7b949668e5d47430e81a4409a53fb1b0cd7
7
- data.tar.gz: b11e32142ae7dfb40064e96b3f7b6dd158839c4a07adb2bf72b433d55aecec69eb7b948c6b2dce1e22028e7ecccbaa849dcae5e41bb0747c9f21a14e72c7ac84
6
+ metadata.gz: 0cff225b7f9ac693baf965e14d52177d5a7ad9d2b67e04e11656ba4295c91519bbc84e26bd425a92730bc16a27903096e50830efd9c3095564ba6e658fc76424
7
+ data.tar.gz: 1b1fc8e0d1d2713e39b43a26ed86ccd6a368ab13508df6dfe895013d74a1938d210c24154513d1239bdf99adf59578ecb1cc0afec1f30900f2f480a7ebeceb36
@@ -24,12 +24,12 @@ module Resque
24
24
  begin
25
25
  audit.enqueued!
26
26
  rescue Exception => e
27
- audit_failed(e)
27
+ audit_failed(e, args)
28
28
  end
29
29
 
30
30
  Resque.enqueue(self, *args)
31
31
  rescue Exception => e
32
- enqueue_failed(e)
32
+ enqueue_failed(e, args)
33
33
  end
34
34
 
35
35
  def audit(args)
@@ -59,11 +59,11 @@ module Resque
59
59
  auditor.initialize_by_klass_and_args(self, args)
60
60
  end
61
61
 
62
- def audit_failed(e)
62
+ def audit_failed(e, args)
63
63
  raise e
64
64
  end
65
65
 
66
- def enqueue_failed(e)
66
+ def enqueue_failed(e, args)
67
67
  raise e
68
68
  end
69
69
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-durable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Chapweske
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-12 00:00:00.000000000 Z
12
+ date: 2014-09-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  description:
@@ -35,7 +35,7 @@ files:
35
35
  - lib/resque/durable/guid.rb
36
36
  - lib/resque/durable/monitor.rb
37
37
  - lib/resque/durable/queue_audit.rb
38
- homepage: https://github.com/eac/resque-durable
38
+ homepage: https://github.com/zendesk/resque-durable
39
39
  licenses:
40
40
  - MIT
41
41
  metadata: {}
@@ -45,17 +45,17 @@ require_paths:
45
45
  - lib
46
46
  required_ruby_version: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - '>='
48
+ - - ">="
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
57
  rubyforge_project:
58
- rubygems_version: 2.1.11
58
+ rubygems_version: 2.2.2
59
59
  signing_key:
60
60
  specification_version: 4
61
61
  summary: Resque queue backed by database audits, with automatic retry