class RuboCop::Cop::Chef::Deprecations::Cheffile
The Librarian-Chef depsolving project is no longer maintained and a Cheffile
should not be used for cookbook depsolving. Consider using Policyfiles instead. If the Policyfiles model is not compatible with your workflow you may find Berkshelf offers a more similar, and still supported, experience to Librarian-Chef.
Constants
- MSG
Public Instance Methods
Source
# File lib/rubocop/cop/chef/deprecation/cheffile.rb, line 29 def on_new_investigation # Using range similar to RuboCop::Cop::Naming::Filename (file_name.rb) range = source_range(processed_source.buffer, 1, 0) add_offense(range, severity: :warning) end