resque_mailer 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 2.2.2 / 2013-01-27
2
+ * Fall back to deliver (not deliver!) on actual message, expected
3
+ behavios when perform_deliveries is false, etc.
4
+
1
5
  ### 2.2.1 / 2012-12-09
2
6
  * Added optional support for synchronous fallback (Lee Edwards and
3
7
  Peter Jaros)
data/README.md CHANGED
@@ -87,12 +87,13 @@ other mailers inherit from an AsyncMailer:
87
87
 
88
88
  ## Installation
89
89
 
90
- Install it as a plugin or as a gem plugin from Gemcutter:
90
+ Install the gem:
91
91
 
92
92
  gem install resque_mailer
93
- script/plugin install git://github.com/zapnap/resque_mailer.git
94
93
 
95
- # Rails 3: add it to your Gemfile
94
+ If you're using Bundler to manage your dependencies, you should add it to your Gemfile:
95
+
96
+ gem 'resque' # or a compatible alternative / fork
96
97
  gem 'resque_mailer'
97
98
 
98
99
  ## Testing
data/lib/resque_mailer.rb CHANGED
@@ -50,7 +50,7 @@ module Resque
50
50
  logger.error "Unable to deliver email [#{action}]: #{ex}"
51
51
  logger.error ex.backtrace.join("\n\t")
52
52
  end
53
-
53
+
54
54
  raise ex
55
55
  end
56
56
  end
@@ -143,7 +143,7 @@ module Resque
143
143
  end
144
144
 
145
145
  def deliver!
146
- actual_message.deliver!
146
+ actual_message.deliver
147
147
  end
148
148
 
149
149
  def method_missing(method_name, *args)
@@ -1,5 +1,5 @@
1
1
  module Resque
2
2
  module Mailer
3
- VERSION = "2.2.1"
3
+ VERSION = "2.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-09 00:00:00.000000000 Z
12
+ date: 2013-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionmailer
@@ -88,7 +88,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  segments:
90
90
  - 0
91
- hash: 1530888517799059977
91
+ hash: 303777324103558683
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  none: false
94
94
  requirements:
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: 1530888517799059977
100
+ hash: 303777324103558683
101
101
  requirements: []
102
102
  rubyforge_project:
103
103
  rubygems_version: 1.8.24