smailer 0.2.13 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,11 @@ module Smailer
5
5
  class Send
6
6
  def self.execute
7
7
  Mail.defaults do
8
- delivery_method Rails.configuration.action_mailer.delivery_method
8
+ delivery_method if ::Compatibility.rails_3?
9
+ Rails.configuration.action_mailer.delivery_method
10
+ else
11
+ ActionMailer::Base.delivery_method
12
+ end
9
13
  end
10
14
 
11
15
  batch_size = (Smailer::Models::Property.get('queue.batch_size') || 100).to_i
@@ -1,3 +1,3 @@
1
1
  module Smailer
2
- VERSION = "0.2.13"
2
+ VERSION = "0.2.14"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smailer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 13
10
- version: 0.2.13
9
+ - 14
10
+ version: 0.2.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dimitar Dimitrov