knife-inspect 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/HISTORY.md +8 -1
- data/README.md +2 -1
- data/lib/health_inspector/checklists/cookbooks.rb +7 -1
- data/lib/health_inspector/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3dc9ac73ee766b656ceb6066ac7ae0718b22dde
|
4
|
+
data.tar.gz: 27bc3ebefeb54a5913b2a5e025552620abd80bd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce127c9ffc6c8369ae692c1e91eb25a1a069cecda7a6854c3f011377be32b0cf2101db779f278eb7f9d9cf98925ce51df33ed3b0790a23250df2fb638a24bba2
|
7
|
+
data.tar.gz: c5011f7ffbe7378461a7f51b3905cab962183851adc1409f803fbaf676294a381ba89d71e9f5507c6696acf741990d2e260393d3b026d65a126b3e813872b0d7
|
data/.travis.yml
CHANGED
data/HISTORY.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
## 0.16.1 ( 2017-11-24 )
|
2
|
+
|
3
|
+
* Support Chef 13 ([#51][#51]). No other change.
|
4
|
+
|
5
|
+
|
1
6
|
## 0.16.0 ( 2017-03-14 )
|
2
7
|
|
3
|
-
* Remove explicit dependency on rack (let chef-zero deal with it) (
|
8
|
+
* Remove explicit dependency on rack (let chef-zero deal with it) ([#50][#50])
|
4
9
|
Thanks for catching that @jonlives! I introduced the issue in 0.15.0
|
5
10
|
|
6
11
|
|
@@ -220,3 +225,5 @@ instead.
|
|
220
225
|
[#42]: https://github.com/bmarini/knife-inspect/issues/42
|
221
226
|
[#34]: https://github.com/bmarini/knife-inspect/pull/34
|
222
227
|
[#46]: https://github.com/bmarini/knife-inspect/pull/46
|
228
|
+
[#50]: https://github.com/bmarini/knife-inspect/pull/50
|
229
|
+
[#51]: https://github.com/bmarini/knife-inspect/pull/51
|
data/README.md
CHANGED
@@ -68,7 +68,8 @@ when everything is in sync or 1 if it's not.
|
|
68
68
|
|
69
69
|
## Compatibility
|
70
70
|
|
71
|
-
This gem is tested with Ruby 2.
|
71
|
+
This gem is tested with Ruby 2.3 and has been tested with Chef 13, 12
|
72
|
+
and 11.
|
72
73
|
|
73
74
|
## Contributors
|
74
75
|
|
@@ -42,7 +42,13 @@ module HealthInspector
|
|
42
42
|
messages = []
|
43
43
|
|
44
44
|
Chef::CookbookVersion::COOKBOOK_SEGMENTS.each do |segment|
|
45
|
-
|
45
|
+
manifest_records = if Gem::Version.new(Chef::VERSION) < Gem::Version.new('13.0.0')
|
46
|
+
# `files_for` was introduced in Chef 13
|
47
|
+
cookbook.manifest[segment]
|
48
|
+
else
|
49
|
+
cookbook.files_for(segment)
|
50
|
+
end
|
51
|
+
manifest_records.each do |manifest_record|
|
46
52
|
path = cookbook_path.join("#{manifest_record['path']}")
|
47
53
|
next if path.basename.to_s == '.git'
|
48
54
|
|
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.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Karékinian
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
version: '0'
|
191
191
|
requirements: []
|
192
192
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.6.
|
193
|
+
rubygems_version: 2.6.13
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: Inspect your chef repo as it is compared to what is on your chef server
|