iron_core 0.3.1 → 0.3.2
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.
- data/VERSION +1 -1
- data/lib/iron_core/client.rb +5 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.2
|
data/lib/iron_core/client.rb
CHANGED
|
@@ -110,7 +110,11 @@ module IronCore
|
|
|
110
110
|
return if config_file.nil?
|
|
111
111
|
|
|
112
112
|
if File.exists?(File.expand_path(config_file))
|
|
113
|
-
|
|
113
|
+
begin
|
|
114
|
+
config = JSON.load(File.read(File.expand_path(config_file)))
|
|
115
|
+
rescue
|
|
116
|
+
return
|
|
117
|
+
end
|
|
114
118
|
|
|
115
119
|
unless @env.nil?
|
|
116
120
|
load_from_hash(config_file, get_sub_hash(config, [@env, "#{company}_#{product}"]))
|
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.
|
|
4
|
+
version: 0.3.2
|
|
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:
|
|
92
|
+
hash: 831761085
|
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
none: false
|
|
95
95
|
requirements:
|