foodcritic 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/chef_dsl_metadata.json +319 -0
- data/lib/foodcritic.rb +8 -0
- data/lib/foodcritic/api.rb +204 -227
- data/lib/foodcritic/ast.rb +22 -0
- data/lib/foodcritic/chef.rb +46 -31
- data/lib/foodcritic/command_line.rb +12 -2
- data/lib/foodcritic/domain.rb +15 -34
- data/lib/foodcritic/dsl.rb +42 -43
- data/lib/foodcritic/linter.rb +123 -120
- data/lib/foodcritic/notifications.rb +145 -0
- data/lib/foodcritic/rake_task.rb +34 -0
- data/lib/foodcritic/repl.rb +28 -0
- data/lib/foodcritic/rules.rb +84 -49
- data/lib/foodcritic/template.rb +44 -0
- data/lib/foodcritic/version.rb +1 -1
- data/lib/foodcritic/xml.rb +40 -0
- metadata +34 -12
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foodcritic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gherkin
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.
|
21
|
+
version: 2.11.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.
|
29
|
+
version: 2.11.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: gist
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: 3.1.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 3.1.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: nokogiri
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.9.
|
69
|
+
version: 0.9.8.4
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.9.
|
77
|
+
version: 0.9.8.4
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: pry-doc
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirements:
|
83
83
|
- - ~>
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.
|
85
|
+
version: 0.4.2
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.
|
93
|
+
version: 0.4.2
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: rak
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,6 +139,22 @@ dependencies:
|
|
139
139
|
- - ~>
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: 1.1.0
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: erubis
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :runtime
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
142
158
|
description: Lint tool for Opscode Chef cookbooks.
|
143
159
|
email:
|
144
160
|
executables:
|
@@ -147,15 +163,21 @@ extensions: []
|
|
147
163
|
extra_rdoc_files: []
|
148
164
|
files:
|
149
165
|
- lib/foodcritic/api.rb
|
166
|
+
- lib/foodcritic/ast.rb
|
150
167
|
- lib/foodcritic/chef.rb
|
151
168
|
- lib/foodcritic/command_line.rb
|
152
169
|
- lib/foodcritic/domain.rb
|
153
170
|
- lib/foodcritic/dsl.rb
|
154
171
|
- lib/foodcritic/error_checker.rb
|
155
172
|
- lib/foodcritic/linter.rb
|
173
|
+
- lib/foodcritic/notifications.rb
|
156
174
|
- lib/foodcritic/output.rb
|
175
|
+
- lib/foodcritic/rake_task.rb
|
176
|
+
- lib/foodcritic/repl.rb
|
157
177
|
- lib/foodcritic/rules.rb
|
178
|
+
- lib/foodcritic/template.rb
|
158
179
|
- lib/foodcritic/version.rb
|
180
|
+
- lib/foodcritic/xml.rb
|
159
181
|
- lib/foodcritic.rb
|
160
182
|
- chef_dsl_metadata.json
|
161
183
|
- !binary |-
|
@@ -181,12 +203,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
203
|
version: '0'
|
182
204
|
segments:
|
183
205
|
- 0
|
184
|
-
hash: -
|
206
|
+
hash: -1697015239520046725
|
185
207
|
requirements: []
|
186
208
|
rubyforge_project:
|
187
209
|
rubygems_version: 1.8.19
|
188
210
|
signing_key:
|
189
211
|
specification_version: 3
|
190
|
-
summary: foodcritic-1.
|
212
|
+
summary: foodcritic-1.5.0
|
191
213
|
test_files: []
|
192
214
|
has_rdoc:
|