foodcritic 15.1.0 → 16.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.8.12".freeze
12
+ DEFAULT_CHEF_VERSION = "15.0.293".freeze
13
13
  attr_reader :chef_version
14
14
 
15
15
  # Perform a lint check. This method is intended for use by the command-line
@@ -1,10 +1,6 @@
1
- # I'm disabling this rule until Chef 13 goes EOL
2
- # It's causing a lot of confusion and resulting in folks dropping support
3
- # for Chef 13 before they need to.
4
- #
5
- # rule "FC121", "Cookbook depends on cookbook made obsolete by Chef 14" do
6
- # tags %w{correctness}
7
- # metadata do |ast, filename|
8
- # [file_match(filename)] unless (declared_dependencies(ast) & %w{build-essential dmg chef_handler chef_hostname mac_os_x swap sysctl}).empty?
9
- # end
10
- # end
1
+ rule "FC121", "Cookbook depends on cookbook made obsolete by Chef 14" do
2
+ tags %w{correctness}
3
+ metadata do |ast, filename|
4
+ [file_match(filename)] unless (declared_dependencies(ast) & %w{build-essential dmg chef_handler chef_hostname mac_os_x swap sysctl}).empty?
5
+ end
6
+ end
@@ -1,4 +1,4 @@
1
1
  module FoodCritic
2
2
  # The current version of foodcritic
3
- VERSION = "15.1.0".freeze
3
+ VERSION = "16.0.0".freeze
4
4
  end
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: 15.1.0
4
+ version: 16.0.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-12-27 00:00:00.000000000 Z
11
+ date: 2019-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-core
@@ -172,8 +172,8 @@ files:
172
172
  - Gemfile
173
173
  - LICENSE
174
174
  - bin/foodcritic
175
- - chef_dsl_metadata/chef_13.12.3.json
176
- - chef_dsl_metadata/chef_14.8.12.json
175
+ - chef_dsl_metadata/chef_14.12.9.json
176
+ - chef_dsl_metadata/chef_15.0.293.json
177
177
  - foodcritic.gemspec
178
178
  - lib/foodcritic.rb
179
179
  - lib/foodcritic/api.rb
@@ -321,9 +321,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
321
  - !ruby/object:Gem::Version
322
322
  version: '0'
323
323
  requirements: []
324
- rubyforge_project:
325
- rubygems_version: 2.7.7
324
+ rubygems_version: 3.0.3
326
325
  signing_key:
327
326
  specification_version: 4
328
- summary: foodcritic-15.1.0
327
+ summary: foodcritic-16.0.0
329
328
  test_files: []