mandrill_mailer 0.0.6 → 0.0.7

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.
@@ -6,7 +6,11 @@ require 'mandrill_mailer/version'
6
6
 
7
7
  module MandrillMailer
8
8
  def self.configure(&block)
9
- block.call(MandrillMailer::Railtie.config.mandrill_mailer)
9
+ if block_given?
10
+ block.call(MandrillMailer::Railtie.config.mandrill_mailer)
11
+ else
12
+ MandrillMailer::Railtie.config.mandrill_mailer
13
+ end
10
14
  end
11
15
 
12
16
  def self.config
@@ -1,3 +1,3 @@
1
1
  module MandrillMailer
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandrill_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: