knife-inspect 0.13.0 → 0.13.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f79672a70614a64cac5d27a6ce90ca8cde03426e
4
- data.tar.gz: 5968fc3c6d5e5ddf39c36cf9286a81f886cb050e
3
+ metadata.gz: ead2b16a86eea1a04e3d299fe86c2a9b4c499ff6
4
+ data.tar.gz: 65647d0b7045f1ebdabc54e7073736a035cb409f
5
5
  SHA512:
6
- metadata.gz: 4290e1e41c1eafe08e17e887947552a498e977a777a0ec811036e2e66a332ee0ca66ea6f6c04c925cb83d041b62fa5dcaf3c32037a33aca830d6c8a370a180a9
7
- data.tar.gz: a287dfe82192a90be2a846d08b34b02a77c345b142989349806f870ef11771ea4a2cac4f5bc24f8cb64086b46cf2ff1804d855ca97e4a138725c5c0b857afe5a
6
+ metadata.gz: e2c6bb1c4a48e9a3098414e62298158a443f3382d65ef38f1a6a9ca093f13487a94ab8bebe269b317b3dccd78014bca13acc5bc6f17b33b88d32e9fbec430021
7
+ data.tar.gz: 4ee255bb13de52a02762ffcc964664fbb17d8595ba2f6e2a48dce63bbdfdfb3da25b041c45802bd345eea8154d6f6c31a0a2f6cfc1a5439d8b78db7392d13763
data/HISTORY.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.13.1 ( 2016-02-16 )
2
+
3
+ * Don't rely on deprecated auto-inflation of JSON data. Switch to `#from_hash`
4
+ instead of `#json_create` for Chef resources
5
+
6
+
1
7
  ## 0.13.0 ( 2016-02-16 )
2
8
 
3
9
  * Fixed compatibility with Chef 12.7.2 ([#42][#42])
@@ -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.json_create(Yajl::Parser.parse(json_pathname.first.read))
137
+ instance = chef_class.from_hash(Yajl::Parser.parse(json_pathname.first.read))
138
138
  elsif !js_pathname.empty?
139
- instance = chef_class.json_create(Yajl::Parser.parse(js_pathname.first.read))
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
@@ -1,3 +1,3 @@
1
1
  module HealthInspector
2
- VERSION = '0.13.0'
2
+ VERSION = '0.13.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-inspect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Karékinian