foodcritic 14.1.0 → 14.2.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 +6 -0
- data/chef_dsl_metadata/{chef_13.4.19.json → chef_14.5.33.json} +11961 -1855
- data/foodcritic.gemspec +1 -1
- data/lib/foodcritic/linter.rb +1 -1
- data/lib/foodcritic/version.rb +1 -1
- data/spec/unit/linter_spec.rb +1 -1
- metadata +10 -4
data/foodcritic.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.files += Dir["spec/**/*"] + Dir["features/**/*"]
|
20
20
|
s.files += Dir["*.md"] + Dir["LICENSE"] + Dir["man/*"]
|
21
21
|
|
22
|
-
s.add_dependency("cucumber-core", ">= 1.3")
|
22
|
+
s.add_dependency("cucumber-core", ">= 1.3", "< 4.0")
|
23
23
|
s.add_dependency("nokogiri", ">= 1.5", "< 2.0")
|
24
24
|
s.add_dependency("rake")
|
25
25
|
s.add_dependency("treetop", "~> 1.4")
|
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.5.33"
|
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.5.33"
|
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.2.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-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber-core
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.3'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: nokogiri
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,7 +175,6 @@ files:
|
|
169
175
|
- README.md
|
170
176
|
- Rakefile
|
171
177
|
- bin/foodcritic
|
172
|
-
- chef_dsl_metadata/chef_13.4.19.json
|
173
178
|
- chef_dsl_metadata/chef_13.5.3.json
|
174
179
|
- chef_dsl_metadata/chef_13.6.0.json
|
175
180
|
- chef_dsl_metadata/chef_13.7.16.json
|
@@ -178,6 +183,7 @@ files:
|
|
178
183
|
- chef_dsl_metadata/chef_14.2.0.json
|
179
184
|
- chef_dsl_metadata/chef_14.3.37.json
|
180
185
|
- chef_dsl_metadata/chef_14.4.56.json
|
186
|
+
- chef_dsl_metadata/chef_14.5.33.json
|
181
187
|
- features/002_check_string_interpolation.feature
|
182
188
|
- features/005_check_for_resource_repetition.feature
|
183
189
|
- features/006_check_file_mode.feature
|
@@ -555,5 +561,5 @@ rubyforge_project:
|
|
555
561
|
rubygems_version: 2.7.6
|
556
562
|
signing_key:
|
557
563
|
specification_version: 4
|
558
|
-
summary: foodcritic-14.
|
564
|
+
summary: foodcritic-14.2.0
|
559
565
|
test_files: []
|