knife-inspect 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +6 -0
- data/lib/health_inspector/checklists/base.rb +2 -2
- data/lib/health_inspector/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ead2b16a86eea1a04e3d299fe86c2a9b4c499ff6
|
4
|
+
data.tar.gz: 65647d0b7045f1ebdabc54e7073736a035cb409f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2c6bb1c4a48e9a3098414e62298158a443f3382d65ef38f1a6a9ca093f13487a94ab8bebe269b317b3dccd78014bca13acc5bc6f17b33b88d32e9fbec430021
|
7
|
+
data.tar.gz: 4ee255bb13de52a02762ffcc964664fbb17d8595ba2f6e2a48dce63bbdfdfb3da25b041c45802bd345eea8154d6f6c31a0a2f6cfc1a5439d8b78db7392d13763
|
data/HISTORY.md
CHANGED
@@ -134,9 +134,9 @@ module HealthInspector
|
|
134
134
|
instance = chef_class.new
|
135
135
|
instance.from_file(ruby_pathname.first.to_s)
|
136
136
|
elsif !json_pathname.empty?
|
137
|
-
instance = chef_class.
|
137
|
+
instance = chef_class.from_hash(Yajl::Parser.parse(json_pathname.first.read))
|
138
138
|
elsif !js_pathname.empty?
|
139
|
-
instance = chef_class.
|
139
|
+
instance = chef_class.from_hash(Yajl::Parser.parse(js_pathname.first.read))
|
140
140
|
end
|
141
141
|
|
142
142
|
instance ? instance.to_hash : nil
|