bogo-config 0.1.8 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3eac8636a0c35a8050a41370f8a2725dc4a273a6
4
- data.tar.gz: b9f525728165da1b94e73f771d6bf2310ab0d094
3
+ metadata.gz: 9d3fb69b6897f82bdf3c449aad1af27ded1f4b70
4
+ data.tar.gz: 3797393d8f40e4dbc338d7fde873b7e82ea3b36a
5
5
  SHA512:
6
- metadata.gz: 6f4213490283133c9ecb73bc37ecb6861c7b51cd866c3c1dce6c934da8287000b42fbddadb2a7d9cbd5202645ac657aefd39408fe7f6902f210158fd24a4a336
7
- data.tar.gz: 9561ac1e95acc189263bcbf3b98fe743e0a1d4763119501db89e3d2d45ea56f19d58ce2de1b2c5d3c9a05ff0f4391c6dbf16dc23359daa57b5d58f368037bde1
6
+ metadata.gz: 41f2a7a7f6ed477163249e4f7ff8d93edeb30c98e9fe6910632d876ba0b5aa0f60927c6d95c1d919181631573b19e21586312f515a4a25a12b2091508d0612df
7
+ data.tar.gz: 899b349790ebb5f3f9cce302c0ffda2b93edcd9a32f112aa64bd1501874fe6279dc073e1c95cfd13530827fcc78f830fd11c1286921499b11a09b88ca8ab44ef
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.1.10
2
+ * Gracefully handle failures of ruby files (rescue parse errors)
3
+
1
4
  ## v0.1.8
2
5
  * Support JSON serialization of configurations
3
6
 
@@ -184,7 +184,7 @@ module Bogo
184
184
  result = [:struct_load, :json_load, :yaml_load, :xml_load].map do |loader|
185
185
  begin
186
186
  send(loader, file_path)
187
- rescue => e
187
+ rescue StandardError, ScriptError => e
188
188
  if(ENV['DEBUG'])
189
189
  $stderr.puts "#{e.class}: #{e}\n#{e.backtrace.join("\n")}"
190
190
  end
@@ -1,6 +1,6 @@
1
1
  module Bogo
2
2
  class Config
3
3
  # Current library version
4
- VERSION = Gem::Version.new('0.1.8')
4
+ VERSION = Gem::Version.new('0.1.10')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bogo-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bogo