jt-rails-toolbox 1.1.0 → 1.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05be67d63916861be821c3776f7be9abc77b7574
4
- data.tar.gz: 7a65b95affc8a14e6f126472b5c515ff950ad939
3
+ metadata.gz: d914fd68deaf4f8970947acaf31db74a0eb21ead
4
+ data.tar.gz: b300bb2a1984b66b2e55ff73a619c5c7003f4098
5
5
  SHA512:
6
- metadata.gz: 2def06a85f3ae1bed978e675e24e0b3b3bd944d2719b320c2138d00daa6add043cd7f682bedae6188a601a2d572bd65322d075e1b007926dd4f9760ad44bc851
7
- data.tar.gz: 3780f87a847f29385c2e92621abbbd5f328cbe9298fd5804b283f2a55b3f060df1dcdedd0219d012ce51f02a6a9577ba0d3b9d236c5b51b103adc38537c1bfcb
6
+ metadata.gz: f6c882bf337b13f78e830ea3a1253e35edc770fd203ec82ffbf705c4dcb41a320c686b166c5c05c34c4ef562fd0b820e116b15402be1b443978a56489ac49769
7
+ data.tar.gz: d2a747650ac52226df558086d5499c60939bf76f165e0a29c46a9a173b1656a6be7b838289fa4bde05c6cd9d524e2012be0d90bc462b06359b5819cc862132e1
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.summary = "Common libs used for Ruby On Rails development."
4
4
  s.description = "JTRailsToolbox contains a list of common libs used for Ruby On Rails development."
5
5
  s.homepage = 'https://github.com/jonathantribouharet/jt-rails-toolbox'
6
- s.version = '1.1.0'
6
+ s.version = '1.1.1'
7
7
  s.files = `git ls-files`.split("\n")
8
8
  s.require_paths = ['lib']
9
9
  s.authors = ['Jonathan TRIBOUHARET']
@@ -89,6 +89,12 @@ module JTRailsToolbox
89
89
  ActionMailer::Base.smtp_settings = @params['mail']['smtp_settings']
90
90
  ActionMailer::Base.default_url_options[:host] = @params['hosts']['host']
91
91
  ActionMailer::Base.default from: @params['mail']['from']
92
+
93
+ Rails.configuration.action_mailer.delivery_method = ActionMailer::Base.delivery_method
94
+ Rails.configuration.action_mailer.smtp_settings = ActionMailer::Base.smtp_settings
95
+ Rails.configuration.action_mailer.default_url_options ||= {}
96
+ Rails.configuration.action_mailer.default_url_options[:host] = ActionMailer::Base.default_url_options[:host]
97
+ Rails.configuration.action_mailer.default = ActionMailer::Base.default
92
98
  end
93
99
 
94
100
  def configure_paperclip(app)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jt-rails-toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan TRIBOUHARET
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-27 00:00:00.000000000 Z
11
+ date: 2015-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exception_notification