buff-config 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/buff/config/json.rb +2 -1
- data/lib/buff/config/version.rb +1 -1
- metadata +3 -3
data/lib/buff/config/json.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'json'
|
1
2
|
require 'buff/config'
|
2
3
|
|
3
4
|
module Buff
|
@@ -32,7 +33,7 @@ module Buff
|
|
32
33
|
# @return [Buff::Config::JSON]
|
33
34
|
def from_json(*args)
|
34
35
|
super
|
35
|
-
rescue JSON::
|
36
|
+
rescue ::JSON::ParserError => ex
|
36
37
|
raise Errors::InvalidConfig, ex
|
37
38
|
end
|
38
39
|
|
data/lib/buff/config/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buff-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: varia_model
|
@@ -265,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
265
|
version: '0'
|
266
266
|
segments:
|
267
267
|
- 0
|
268
|
-
hash: -
|
268
|
+
hash: -3293027808066168300
|
269
269
|
requirements: []
|
270
270
|
rubyforge_project:
|
271
271
|
rubygems_version: 1.8.23
|