pdm-rails 0.0.2 → 0.0.3

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.
@@ -18,10 +18,8 @@ module Pdm
18
18
  end
19
19
 
20
20
  def deliver_without_pdm!(mail)
21
- if @fallback
22
- ActionMailer::Base.wrap_delivery_behavior(mail, @fallback)
23
- mail.deliver!
24
- end
21
+ ActionMailer::Base.wrap_delivery_behavior(mail, @fallback)
22
+ mail.deliver!
25
23
  end
26
24
 
27
25
  def deliver!(mail)
@@ -1,3 +1,5 @@
1
+ require "pdm"
2
+
1
3
  module Pdm
2
4
  module Rails
3
5
 
@@ -10,7 +12,6 @@ module Pdm
10
12
  # +pdm_settings+ method to customize the various bits.
11
13
  settings = {
12
14
  :api_key => nil,
13
- :logger => ::Rails.logger,
14
15
  }
15
16
  settings = Pdm.default_options.merge(settings)
16
17
  ActionMailer::Base.add_delivery_method(:pdm, Pdm::Rails::Delivery, settings)
@@ -2,7 +2,7 @@ module Pdm
2
2
  module Rails
3
3
 
4
4
  def version
5
- "0.0.2"
5
+ "0.0.3"
6
6
  end
7
7
  module_function :version
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdm-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - PipeDevMail