resque-pertry 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -115,11 +115,13 @@ module Resque
115
115
  def fail!
116
116
  Resque::Pertry::ResquePertryPersistence.fail_job(self.class, payload)
117
117
  end
118
+ alias_method :fail_job!, :fail!
118
119
 
119
120
  # mark job as complete
120
121
  def complete!
121
122
  Resque::Pertry::ResquePertryPersistence.finnish_job(self.class, payload)
122
123
  end
124
+ alias_method :complete_job!, :complete!
123
125
 
124
126
  def arguments
125
127
  @_arguments
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "resque-pertry"
3
3
  s.description = "Adds persistence to Resque jobs, and retry properties"
4
- s.version = "1.0.1"
4
+ s.version = "1.0.2"
5
5
  s.authors = [ "Anthony Powles" ]
6
6
  s.email = "rubygems+resque-pertry@idreamz.net"
7
7
  s.summary = "Allows job to be persistent, and be retried in case of failure"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-pertry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: