Class: RuboCop::Cop::Chef::Sharing::DefaultMetadataMaintainer
- Defined in:
- lib/rubocop/cop/chef/sharing/default_maintainer_metadata.rb
Overview
Metadata contains default maintainer information from the ‘chef generate cookbook` command. This should be updated to reflect that actual maintainer of the cookbook.
Constant Summary collapse
- MSG =
'Metadata contains default maintainer information from the cookbook generator. Add actual cookbook maintainer information to the metadata.rb.'
- RESTRICT_ON_SEND =
[:maintainer, :maintainer_email].freeze
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#on_send(node) ⇒ Object
41 42 43 44 45 |
# File 'lib/rubocop/cop/chef/sharing/default_maintainer_metadata.rb', line 41 def on_send(node) (node) do add_offense(node, severity: :refactor) end end |