knife-cookbook-doc 0.11.0 → 0.12.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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ v0.12.0 (Mar 17 2015)
2
+ ---------------------
3
+
4
+ * Improve regex that matches attributes to support all 5 precedent
5
+ specifiers and also supports multiline definitions. This is backwards
6
+ compatible. Submitted By Drew Blessing.
7
+
1
8
  v0.11.0 (Jun 5 2014)
2
9
  --------------------
3
10
 
data/TODO.md ADDED
@@ -0,0 +1 @@
1
+ * Autodetect travis usage and add badges automagically
@@ -1,7 +1,7 @@
1
1
  module KnifeCookbookDoc
2
2
  class AttributesModel
3
3
 
4
- ATTRIBUTE_REGEX = "(^\s*default.*?)=(.*?)$".freeze
4
+ ATTRIBUTE_REGEX = "(^\s*(?:default|set|force_default|override|force_override).*?)=\s*(.*?)$".freeze
5
5
 
6
6
  def initialize(filename)
7
7
  @filename = filename
@@ -1,3 +1,3 @@
1
1
  module KnifeCookbookDoc
2
- VERSION = '0.11.0'
2
+ VERSION = '0.12.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.11.0
4
+ version: 0.12.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-06-04 00:00:00.000000000 Z
13
+ date: 2015-03-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: chef
@@ -75,6 +75,7 @@ files:
75
75
  - LICENSE
76
76
  - README.md
77
77
  - Rakefile
78
+ - TODO.md
78
79
  - knife_cookbook_doc.gemspec
79
80
  - lib/chef/knife/README.md.erb
80
81
  - lib/chef/knife/cookbook_doc.rb
@@ -99,12 +100,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
100
  - - ! '>='
100
101
  - !ruby/object:Gem::Version
101
102
  version: '0'
103
+ segments:
104
+ - 0
105
+ hash: -2457004065035104203
102
106
  required_rubygems_version: !ruby/object:Gem::Requirement
103
107
  none: false
104
108
  requirements:
105
109
  - - ! '>='
106
110
  - !ruby/object:Gem::Version
107
111
  version: '0'
112
+ segments:
113
+ - 0
114
+ hash: -2457004065035104203
108
115
  requirements: []
109
116
  rubyforge_project:
110
117
  rubygems_version: 1.8.23