summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/metadata.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-07-02 18:20:06 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-07-02 18:20:06 -0700
commit2da413fe65595e95b16e9e01afa240d5c668a03a (patch)
treeaaa60ecf50befabe0c6a5444c593275e411873d5 /lib/chef/cookbook/metadata.rb
parent5f45c98f1e2ae9ec7b95760a41d617a7a698cc19 (diff)
downloadchef-2da413fe65595e95b16e9e01afa240d5c668a03a.tar.gz
fix Style/MutableConstant
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/cookbook/metadata.rb')
-rw-r--r--lib/chef/cookbook/metadata.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/cookbook/metadata.rb b/lib/chef/cookbook/metadata.rb
index a07844e0a4..8716e502af 100644
--- a/lib/chef/cookbook/metadata.rb
+++ b/lib/chef/cookbook/metadata.rb
@@ -59,12 +59,12 @@ class Chef
:maintainer_email, :license, :platforms, :dependencies,
:providing, :attributes, :recipes, :version,
:source_url, :issues_url, :privacy, :chef_versions, :ohai_versions,
- :gems ]
+ :gems ].freeze
VERSION_CONSTRAINTS = { depends: DEPENDENCIES,
provides: PROVIDING,
chef_version: CHEF_VERSIONS,
- ohai_version: OHAI_VERSIONS }
+ ohai_version: OHAI_VERSIONS }.freeze
include Chef::Mixin::ParamsValidate
include Chef::Mixin::FromFile