iron_core 0.3.0 → 0.3.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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/iron_core/client.rb +7 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -43,12 +43,17 @@ module IronCore
43
43
  load_from_env(company.upcase)
44
44
 
45
45
  suffixes = []
46
- suffixes << "-#{env}" unless @env.nil?
46
+
47
+ unless @env.nil?
48
+ suffixes << "-#{env}"
49
+ suffixes << "_#{env}"
50
+ end
51
+
47
52
  suffixes << ''
48
53
 
49
54
  suffixes.each do |suffix|
50
55
  ['.json', ''].each do |ext|
51
- ["#{company}-#{product}", product, company].each do |config_base|
56
+ ["#{company}-#{product}", "#{company}_#{product}", product, company].each do |config_base|
52
57
  load_from_config(company, product, "#{config_base}#{suffix}#{ext}")
53
58
  load_from_config(company, product, ".#{config_base}#{suffix}#{ext}")
54
59
  load_from_config(company, product, "~/#{config_base}#{suffix}#{ext}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: -448638065
92
+ hash: 414805085
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements: