lifeboat 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/lifeboat.rb +12 -2
  3. data/lifeboat.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.2
1
+ 0.6.3
@@ -71,7 +71,12 @@ module LifeBoat
71
71
  if RAILS_ENV == "testing"
72
72
  self.destroy_lifeboat
73
73
  else
74
- Resque.enqueue(RescateLifeBoat, :destroy_lifeboat, self.class.name, self.id)
74
+ begin
75
+ Resque.enqueue(RescateLifeBoat, :destroy_lifeboat, self.class.name, self.id)
76
+ rescue => e
77
+ puts "Captain! There was a problem sending the Lifeboats"
78
+ puts e
79
+ end
75
80
  end
76
81
  end
77
82
 
@@ -79,7 +84,12 @@ module LifeBoat
79
84
  if RAILS_ENV == "testing"
80
85
  self.update_lifeboat
81
86
  else
82
- Resque.enqueue(RescateLifeBoat, :update_lifeboat ,self.class.name, self.id)
87
+ begin
88
+ Resque.enqueue(RescateLifeBoat, :update_lifeboat ,self.class.name, self.id)
89
+ rescue => e
90
+ puts "Captain! There was a problem sending the Lifeboats"
91
+ puts e
92
+ end
83
93
  end
84
94
  end
85
95
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lifeboat}
8
- s.version = "0.6.2"
8
+ s.version = "0.6.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ivan Acosta-Rubio"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 2
9
- version: 0.6.2
8
+ - 3
9
+ version: 0.6.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ivan Acosta-Rubio