jt-rails-toolbox 1.0.9 → 1.1.0

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: 37b3027ddea8461b59eb544c7a56fd93ca049ce7
4
- data.tar.gz: c20f6e6cf1e204f079aef980358ffd326d1bb6a5
3
+ metadata.gz: 05be67d63916861be821c3776f7be9abc77b7574
4
+ data.tar.gz: 7a65b95affc8a14e6f126472b5c515ff950ad939
5
5
  SHA512:
6
- metadata.gz: acea4011dd5cc53eac882137b6972b1d5ec0eac7a4bc65fd9eb9a56e1eb246b772f1e3b8cc52c9738777e04937885abb75a4181988e5547315ce6b5170c5e043
7
- data.tar.gz: dfc62fa23bb0121ee1487d506702aff12312fd3f59cc688dff497f97fba3f374842992119f2cceec910b566eec3086a0543c93da9af7ff246f691f955f29900a
6
+ metadata.gz: 2def06a85f3ae1bed978e675e24e0b3b3bd944d2719b320c2138d00daa6add043cd7f682bedae6188a601a2d572bd65322d075e1b007926dd4f9760ad44bc851
7
+ data.tar.gz: 3780f87a847f29385c2e92621abbbd5f328cbe9298fd5804b283f2a55b3f060df1dcdedd0219d012ce51f02a6a9577ba0d3b9d236c5b51b103adc38537c1bfcb
@@ -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.0.9'
6
+ s.version = '1.1.0'
7
7
  s.files = `git ls-files`.split("\n")
8
8
  s.require_paths = ['lib']
9
9
  s.authors = ['Jonathan TRIBOUHARET']
@@ -21,12 +21,12 @@ module JTRailsToolbox
21
21
  class Railtie < ::Rails::Railtie
22
22
 
23
23
  initializer "jt-rails-toolbox" do |app|
24
- @params = {}
24
+ @params = HashWithIndifferentAccess.new
25
25
 
26
26
  if ::File.exists?('config/jt-toolbox.yml')
27
27
  yaml = YAML.load_file('config/jt-toolbox.yml')
28
28
  if yaml
29
- @params = yaml[Rails.env.to_s] || {}
29
+ @params = HashWithIndifferentAccess.new(yaml[Rails.env.to_s])
30
30
  end
31
31
  end
32
32
 
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.0.9
4
+ version: 1.1.0
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-22 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exception_notification