iron_core 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/iron_core/client.rb +5 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -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
- config = JSON.load(File.read(File.expand_path(config_file)))
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.1
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: 414805085
92
+ hash: 831761085
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements: