jt-rails-toolbox 1.1.3 → 1.1.4

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: 38c6f1656f6e69de3f01683233b450334a92f1d9
4
- data.tar.gz: 4968650a5ef4afadc2624ccf819b2456e5a37868
3
+ metadata.gz: 775b7dbea1139b8072cf50749a5bd0652f2dc6b3
4
+ data.tar.gz: 10f896000df584590f2a5b3a3d2441067fe9d787
5
5
  SHA512:
6
- metadata.gz: 43154b81676f2fffb726039a9d5e94b8533aad01de3d1b2dab8ea636931275bf9e0255bb710ed90ad667552e523979c9629def85a0c177f1df42f54dd549d14e
7
- data.tar.gz: 9165400d1291b88513d7af3f7adb6d459fba3164d8b49aa112b608ae987c834546ebd87c36ee1cb66dcbff7cc2c38a092b5860d5bdc52fb9e6a3f2a41e1e4dcb
6
+ metadata.gz: 70036451e6b4ca0381c3587f793f7d51a1746bd67609a1f75ec366ba0afa617837ba81c740ddb52ea16b765f185a6a88cea7fd017097ca89cac11c6c64a88e63
7
+ data.tar.gz: f34b1b91478ed18bb1936417d0059d0a67a4308eab9a404c79553793059ec0f0e37ca2b8efe753189af6d7db5bb34140aaed7591de78e9d2d0bc6f0cc913051b
data/README.md CHANGED
@@ -47,7 +47,7 @@ In addition to the default ignored exceptions, the following exceptions are also
47
47
 
48
48
  - configured for `ActiveJob`
49
49
  - configured to send notification error with Exception Notification
50
- - redis url is by default `"redis://localhost:6379/#{name of your application}"`
50
+ - redis url is by default `"redis://localhost:6379/#{name of your application}"` for production and `"redis://localhost:6379/#{name of your application}-{environment}"` for others.
51
51
 
52
52
  #### Warning
53
53
 
@@ -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.3'
6
+ s.version = '1.1.4'
7
7
  s.files = `git ls-files`.split("\n")
8
8
  s.require_paths = ['lib']
9
9
  s.authors = ['Jonathan TRIBOUHARET']
@@ -89,6 +89,7 @@ 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
+ app.config.action_mailer.asset_host = @params['hosts']['asset_host']
92
93
  end
93
94
 
94
95
  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.3
4
+ version: 1.1.4
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-09-11 00:00:00.000000000 Z
11
+ date: 2015-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exception_notification