foodcritic 12.0.0 → 12.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af66995bc871209a67e3dc0621192b8f93328d33
4
- data.tar.gz: 2685c2570a0a7d914a6561bdb4dfe2d172f56439
3
+ metadata.gz: d778c74e1f690101f1d35779fc916bac4b3d4c7f
4
+ data.tar.gz: ed2c20f367d97602978301526662285c449c313c
5
5
  SHA512:
6
- metadata.gz: d7014c2f72febf4088528226149e41c154a3e165caf21e3edf21143cd4f8ad50a88a2f4eb25d87e8b374dc4ca5e0631d60e67423a85b97f671a3abbfa495f295
7
- data.tar.gz: d767360ca9ce16db57cac15a7f1cc9e29e94eaabf002b07ee47b8242d422e8088fef0c2da4c1655385c62eac67f201aab3a2b257932e67c152874a3a0f377138
6
+ metadata.gz: a5778904806b10db9b09c4969a70b849308fc309e8682e81c8f4166c24c364362c4dbcfb5db5d37d9b7d78978de5a9278e70ac06a0f405d71579ec97e749bd5f
7
+ data.tar.gz: a283a490bed87be173e490848a6831c5b34973d93efd95b6b85ddf183601a7188de7925b2b87bba3e3401192932d36a6b97163e859012356a9806f7079affd21
@@ -1,6 +1,12 @@
1
1
  # Foodcritic Changelog:
2
2
 
3
- ## [12.0.0](https://github.com/Foodcritic/foodcritic/tree/v11.5.0) (2017-10-18)
3
+ ## [12.0.1](https://github.com/Foodcritic/foodcritic/tree/v12.0.1) (2017-10-19)
4
+
5
+ **Fixed bugs:**
6
+
7
+ - Fixed the tags for new rules to correctly specify the version of Chef where the breaking change will occur, not the version of Chef were the deprecation warning was introduced
8
+
9
+ ## [12.0.0](https://github.com/Foodcritic/foodcritic/tree/v12.0.0) (2017-10-18)
4
10
 
5
11
  **Implemented enhancements:**
6
12
 
@@ -1,5 +1,5 @@
1
1
  rule "FC094", "Cookbook uses deprecated filesystem2 ohai plugin data" do
2
- tags %w{deprecated chef13}
2
+ tags %w{deprecated chef15}
3
3
 
4
4
  recipe do |ast|
5
5
  ast.xpath('//aref[vcall/ident/@value="node"]
@@ -1,5 +1,5 @@
1
1
  rule "FC095", "Cookbook uses deprecated cloud_v2 ohai plugin data" do
2
- tags %w{deprecated chef13}
2
+ tags %w{deprecated chef15}
3
3
 
4
4
  recipe do |ast|
5
5
  ast.xpath('//aref[vcall/ident/@value="node"]
@@ -1,5 +1,5 @@
1
1
  rule "FC096", "Cookbook uses deprecated libvirt virtualization ohai data" do
2
- tags %w{deprecated chef13}
2
+ tags %w{deprecated chef14}
3
3
 
4
4
  recipe do |ast|
5
5
  ast.xpath('//aref[aref/vcall/ident/@value="node"]
@@ -1,4 +1,4 @@
1
- rule "FC097", "Deprecated Chef::Mixin::LanguageIncludeAttribute class used" do
1
+ rule "FC097", "Deprecated Chef::Mixin::LanguageIncludeAttribute mixin used" do
2
2
  tags %w{chef14 deprecated}
3
3
  def lang_include_attrib_mixin(ast)
4
4
  # include Chef::Mixin::LanguageIncludeAttribute
@@ -1,4 +1,4 @@
1
- rule "FC098", "Deprecated Chef::Mixin::RecipeDefinitionDSLCore class used" do
1
+ rule "FC098", "Deprecated Chef::Mixin::RecipeDefinitionDSLCore mixin used" do
2
2
  tags %w{chef14 deprecated}
3
3
  def recipe_def_mixin(ast)
4
4
  # include Chef::Mixin::RecipeDefinitionDSLCore
@@ -1,4 +1,4 @@
1
- rule "FC099", "Deprecated Chef::Mixin::LanguageIncludeRecipe class used" do
1
+ rule "FC099", "Deprecated Chef::Mixin::LanguageIncludeRecipe mixin used" do
2
2
  tags %w{chef14 deprecated}
3
3
  def lang_include_mixin(ast)
4
4
  # include Chef::Mixin::LanguageIncludeRecipe
@@ -1,4 +1,4 @@
1
- rule "FC100", "Deprecated Chef::Mixin::Language class used" do
1
+ rule "FC100", "Deprecated Chef::Mixin::Language mixin used" do
2
2
  tags %w{chef14 deprecated}
3
3
  def lang_mixin(ast)
4
4
  # include Chef::Mixin::Language
@@ -1,4 +1,4 @@
1
1
  module FoodCritic
2
2
  # The current version of foodcritic
3
- VERSION = "12.0.0"
3
+ VERSION = "12.0.1"
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: 12.0.0
4
+ version: 12.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Crump
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-18 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-core
@@ -522,5 +522,5 @@ rubyforge_project:
522
522
  rubygems_version: 2.6.13
523
523
  signing_key:
524
524
  specification_version: 4
525
- summary: foodcritic-12.0.0
525
+ summary: foodcritic-12.0.1
526
526
  test_files: []