knife-cookbook-doc 0.26.0 → 0.27.0

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: cd01eb69e966c4ab62ee76a13e15190c42c04203
4
- data.tar.gz: 205ccffab152a9cafe8aef0a4a9ae69bb6a00d31
3
+ metadata.gz: 5ef732bc170168616bfc22e319838395fdfd789a
4
+ data.tar.gz: 2b933a18b2825171e52a6dbdf992a4e0b08c1c56
5
5
  SHA512:
6
- metadata.gz: 760d1427b610240bb186fb4315e788a8b02d8395d23230a4115ebb26fe284cf376c08eb13a6039d5a2b6db6cc32316298e4c02cec9fc08dfe3c46a68d7d7ec03
7
- data.tar.gz: 62c6fb76631b6c52b1065a09e9fe3c259508805cf99f4ffb14b312b15ba6ffe8a59de5d335d429d207fa4f9b1d3e684250d6272c13554a6b88c4332fa6819854
6
+ metadata.gz: 93bcc31a7e09ac48f3326b2c4ec3d29f1485be5518ca89f7d69a7ec406373ca392a19985709a9932ea02c2b633fd40ad1480256bbe5a91ca4f4b634febbde8df
7
+ data.tar.gz: 9ddb6f35e8ceb8fa57b050195c11a611cb5bb731e7ad03f382689c395f1b47f9d8e9b8e403dd1a579315b39e8e159ce60799138ed69d5fb3b5ab2dc4d9cad2b9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v0.27.0 (Jun 20 2019)
2
+
3
+ * Add support for Chef 15. Submitted by grozan.
4
+
1
5
  # v0.26.0 (Mar 4 2019)
2
6
 
3
7
  * Display `lazy` defaults as such. Submitted by Joe Nuspl.
@@ -7,7 +7,7 @@ module KnifeCookbookDoc
7
7
  @metadata = Chef::Cookbook::Metadata.new
8
8
  @metadata.from_file("#{cookbook_dir}/metadata.rb")
9
9
 
10
- if !@metadata.attributes.empty?
10
+ if (!@metadata.attributes.empty? rescue false)
11
11
  @attributes = @metadata.attributes.map do |attr, options|
12
12
  name = "node['#{attr.gsub("/", "']['")}']"
13
13
  [name, options['description'], options['default'], options['choice']]
@@ -1,3 +1,3 @@
1
1
  module KnifeCookbookDoc
2
- VERSION = '0.26.0'
2
+ VERSION = '0.27.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-cookbook-doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Lafeldt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-04 00:00:00.000000000 Z
12
+ date: 2019-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef