foodcritic 14.0.0 → 14.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/chef_dsl_metadata/chef_14.3.37.json +27870 -0
- data/chef_dsl_metadata/chef_14.4.56.json +29761 -0
- data/lib/foodcritic/linter.rb +1 -1
- data/lib/foodcritic/version.rb +1 -1
- data/spec/unit/linter_spec.rb +1 -1
- metadata +6 -5
- data/man/foodcritic.1 +0 -81
data/lib/foodcritic/linter.rb
CHANGED
@@ -9,7 +9,7 @@ module FoodCritic
|
|
9
9
|
|
10
10
|
# The default version that will be used to determine relevant rules. This
|
11
11
|
# can be over-ridden at the command line with the `--chef-version` option.
|
12
|
-
DEFAULT_CHEF_VERSION = "14.
|
12
|
+
DEFAULT_CHEF_VERSION = "14.4.56"
|
13
13
|
attr_reader :chef_version
|
14
14
|
|
15
15
|
# Perform a lint check. This method is intended for use by the command-line
|
data/lib/foodcritic/version.rb
CHANGED
data/spec/unit/linter_spec.rb
CHANGED
@@ -12,7 +12,7 @@ describe FoodCritic::Linter do
|
|
12
12
|
|
13
13
|
describe "chef version" do
|
14
14
|
it "should be the latest stable version of Chef" do
|
15
|
-
expect(FoodCritic::Linter::DEFAULT_CHEF_VERSION).to eq "14.
|
15
|
+
expect(FoodCritic::Linter::DEFAULT_CHEF_VERSION).to eq "14.4.56"
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foodcritic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Crump
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber-core
|
@@ -176,6 +176,8 @@ files:
|
|
176
176
|
- chef_dsl_metadata/chef_13.9.1.json
|
177
177
|
- chef_dsl_metadata/chef_14.1.12.json
|
178
178
|
- chef_dsl_metadata/chef_14.2.0.json
|
179
|
+
- chef_dsl_metadata/chef_14.3.37.json
|
180
|
+
- chef_dsl_metadata/chef_14.4.56.json
|
179
181
|
- features/002_check_string_interpolation.feature
|
180
182
|
- features/005_check_for_resource_repetition.feature
|
181
183
|
- features/006_check_file_mode.feature
|
@@ -343,7 +345,6 @@ files:
|
|
343
345
|
- lib/foodcritic/template.rb
|
344
346
|
- lib/foodcritic/version.rb
|
345
347
|
- lib/foodcritic/xml.rb
|
346
|
-
- man/foodcritic.1
|
347
348
|
- man/foodcritic.1.ronn
|
348
349
|
- misc/lucene.treetop
|
349
350
|
- spec/functional/fc001_spec.rb
|
@@ -551,8 +552,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
551
552
|
version: '0'
|
552
553
|
requirements: []
|
553
554
|
rubyforge_project:
|
554
|
-
rubygems_version: 2.7.
|
555
|
+
rubygems_version: 2.7.6
|
555
556
|
signing_key:
|
556
557
|
specification_version: 4
|
557
|
-
summary: foodcritic-14.
|
558
|
+
summary: foodcritic-14.1.0
|
558
559
|
test_files: []
|
data/man/foodcritic.1
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
.\" generated with Ronn/v0.7.3
|
2
|
-
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
-
.
|
4
|
-
.TH "FOODCRITIC" "1" "April 2017" "" ""
|
5
|
-
.
|
6
|
-
.SH "NAME"
|
7
|
-
\fBfoodcritic\fR \- lint tool for chef cookbooks
|
8
|
-
.
|
9
|
-
.SH "SYNOPSIS"
|
10
|
-
\fBfoodcritic\fR [\fIoptions\fR\.\.\.] \fIcookbook\fR\.\.\.
|
11
|
-
.
|
12
|
-
.P
|
13
|
-
\fBfoodcritic\fR [\fIoptions\fR\.\.\.] \-\-list
|
14
|
-
.
|
15
|
-
.SH "DESCRIPTION"
|
16
|
-
\fBfoodcritic\fR makes it easier to flag problems in your Chef cookbooks that will cause Chef to blow up when you attempt to converge\. This is about faster feedback\.
|
17
|
-
.
|
18
|
-
.P
|
19
|
-
Each \fBcookbook\fR path specified will be examined for common problems and poor style\.
|
20
|
-
.
|
21
|
-
.SH "OPTIONS"
|
22
|
-
.
|
23
|
-
.TP
|
24
|
-
\fB\-t\fR, \fB\-\-tags\fR \fITAGS\fR
|
25
|
-
Only check against rules with the specified tags\. Prefix tags with a tilde \fB~\fR to exclude rules\.
|
26
|
-
.
|
27
|
-
.TP
|
28
|
-
\fB\-l\fR, \fB\-\-list\fR
|
29
|
-
Do not perform a lint check; instead simply list the rules that would be enabled based on the defaults and the rule selection options (\-t, \-I)
|
30
|
-
.
|
31
|
-
.TP
|
32
|
-
\fB\-f\fR, \fB\-\-epic\-fail\fR \fITAGS\fR
|
33
|
-
Exit non\-zero if any of the specified tags are matched\. Use the pseudo\-tag \fBany\fR to fail if any tag is matched\.
|
34
|
-
.
|
35
|
-
.TP
|
36
|
-
\fB\-c\fR, \fB\-\-chef\-version\fR \fIVERSION\fR
|
37
|
-
Only check against rules valid for this version of Chef\.
|
38
|
-
.
|
39
|
-
.TP
|
40
|
-
\fB\-B\fR, \fB\-\-cookbook\-path\fR
|
41
|
-
Cookbook path(s) to check\.
|
42
|
-
.
|
43
|
-
.TP
|
44
|
-
\fB\-C\fR, \fB\-\-\fR[\fBno\-\fR]\fBcontext\fR
|
45
|
-
Show lines matched against rather than the default summary\.
|
46
|
-
.
|
47
|
-
.TP
|
48
|
-
\fB\-E\fR, \fB\-\-environment\-path\fR
|
49
|
-
Environment path(s) to check\.
|
50
|
-
.
|
51
|
-
.TP
|
52
|
-
\fB\-I\fR, \fB\-\-include\fR \fIPATH\fR
|
53
|
-
Additional rule file path(s) to load\.
|
54
|
-
.
|
55
|
-
.TP
|
56
|
-
\fB\-R\fR, \fB\-\-role\-path\fR
|
57
|
-
Role path(s) to check\.
|
58
|
-
.
|
59
|
-
.TP
|
60
|
-
\fB\-S\fR, \fB\-\-search\-grammar\fR \fIPATH\fR
|
61
|
-
Specify grammar to use when validating search syntax\. (Default: the grammar of any installed Chef)
|
62
|
-
.
|
63
|
-
.TP
|
64
|
-
\fB\-V\fR, \fB\-\-version\fR
|
65
|
-
Display the foodcritic version\.
|
66
|
-
.
|
67
|
-
.TP
|
68
|
-
\fB\-X\fR, \fB\-\-exclude\fR \fIPATH\fR
|
69
|
-
Exclude path(s) from being linted\.
|
70
|
-
.
|
71
|
-
.SH "RETURN VALUES"
|
72
|
-
By default, \fBfoodcritic\fR will always return \fB0\fR\.
|
73
|
-
.
|
74
|
-
.P
|
75
|
-
If \fB\-\-epic\-fail\fR is specified, then \fBfoodcritic\fR will return \fB3\fR if any tags are matched\.
|
76
|
-
.
|
77
|
-
.SH "COPYRIGHT"
|
78
|
-
\fBfoodcritic\fR is Copyright 2011 by Andrew Crump\.
|
79
|
-
.
|
80
|
-
.SH "SEE ALSO"
|
81
|
-
chef(1)
|