jt-rails-toolbox 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jt-rails-toolbox.gemspec +1 -1
- data/lib/jt-rails-toolbox.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d914fd68deaf4f8970947acaf31db74a0eb21ead
|
4
|
+
data.tar.gz: b300bb2a1984b66b2e55ff73a619c5c7003f4098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6c882bf337b13f78e830ea3a1253e35edc770fd203ec82ffbf705c4dcb41a320c686b166c5c05c34c4ef562fd0b820e116b15402be1b443978a56489ac49769
|
7
|
+
data.tar.gz: d2a747650ac52226df558086d5499c60939bf76f165e0a29c46a9a173b1656a6be7b838289fa4bde05c6cd9d524e2012be0d90bc462b06359b5819cc862132e1
|
data/jt-rails-toolbox.gemspec
CHANGED
@@ -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.
|
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']
|
data/lib/jt-rails-toolbox.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: exception_notification
|