# Cookstyle 5.14 released with 2 new Chef cops!

**URL:** <https://discourse.chef.io/t/cookstyle-5-14-released-with-2-new-chef-cops/16333>\
**Category:** Chef Release Announcements\
**Created:** [December 6, 2019, 7:19pm UTC](https://discourse.chef.io/t/cookstyle-5-14-released-with-2-new-chef-cops/16333 "2019-12-06T19:19:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tas50](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tas50/32/941_2.png) [@tas50](https://discourse.chef.io/u/tas50)\
**Post date:** [December 6, 2019, 7:19pm UTC](https://discourse.chef.io/t/cookstyle-5-14-released-with-2-new-chef-cops/16333/1 "2019-12-06T19:19:13Z")

</div>

Hey folks,

It's time for the weekly Cookstyle release. This time we have 2 new cops and improvements to 2 other cops.

#### ChefModernize/ChefGemNokogiri

The `ChefModernize/ChefGemNokogiri` cop detects cookbooks that use `chef_gem` to install `nokogiri` into the Chef Infra Client's Ruby installation. The nokogiri gem is built into Chef Infra Client 12 and later so this is no longer necessary.

`Enabled by default`: True

`Autocorrects`: Yes

#### ChefDeprecations/ChefRewind

The `ChefDeprecations/ChefRewind` cop detects the usage of the deprecated `chef-rewind` gem and updates code to instead use the built-in `edit_resource` and `delete_resource` methods.

`Enabled by default`: True

`Autocorrects`: Yes

### Other fixes and changes

- The `ChefDeprecations/UsesRunCommandHelper` cop has been improved to detect more cases of legacy run\_command usage.
- The `ChefModernize/UnnecessaryMixlibShelloutRequire` cop has been improved to better describe when this change was made in Chef Infra Client.

Enjoy,  
Tim
