summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-13 11:44:32 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-13 11:44:32 -0800
commitaf4afcc712d24dbc85a9c020a124acadeed295d2 (patch)
tree08a71e81175177fee945d09bb831d5ae37a24606 /lib/chef/cookbook
parent1edd3dba71b4531bb1a570dd7e387620e8ee61de (diff)
downloadchef-af4afcc712d24dbc85a9c020a124acadeed295d2.tar.gz
autocorrecting Style/TrailingCommalcg/trailing_comma
chefstyle -a fixed 1044 occurrances
Diffstat (limited to 'lib/chef/cookbook')
-rw-r--r--lib/chef/cookbook/cookbook_version_loader.rb2
-rw-r--r--lib/chef/cookbook/metadata.rb28
2 files changed, 15 insertions, 15 deletions
diff --git a/lib/chef/cookbook/cookbook_version_loader.rb b/lib/chef/cookbook/cookbook_version_loader.rb
index dbccdbc0a8..0341c394a8 100644
--- a/lib/chef/cookbook/cookbook_version_loader.rb
+++ b/lib/chef/cookbook/cookbook_version_loader.rb
@@ -51,7 +51,7 @@ class Chef
:library_filenames => {},
:resource_filenames => {},
:provider_filenames => {},
- :root_filenames => {}
+ :root_filenames => {},
}
@metadata_filenames = []
diff --git a/lib/chef/cookbook/metadata.rb b/lib/chef/cookbook/metadata.rb
index 0892d85749..67d762f34b 100644
--- a/lib/chef/cookbook/metadata.rb
+++ b/lib/chef/cookbook/metadata.rb
@@ -176,7 +176,7 @@ class Chef
set_or_return(
:maintainer,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -191,7 +191,7 @@ class Chef
set_or_return(
:maintainer_email,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -206,7 +206,7 @@ class Chef
set_or_return(
:license,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -221,7 +221,7 @@ class Chef
set_or_return(
:description,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -236,7 +236,7 @@ class Chef
set_or_return(
:long_description,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -267,7 +267,7 @@ class Chef
set_or_return(
:name,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -490,8 +490,8 @@ class Chef
:default => { :kind_of => [ String, Array, Hash, Symbol, Numeric, TrueClass, FalseClass ] },
:source_url => { :kind_of => String },
:issues_url => { :kind_of => String },
- :privacy => { :kind_of => [ TrueClass, FalseClass ] }
- }
+ :privacy => { :kind_of => [ TrueClass, FalseClass ] },
+ },
)
options[:required] = remap_required_attribute(options[:required]) unless options[:required].nil?
validate_choice_array(options)
@@ -507,8 +507,8 @@ class Chef
options,
{
:title => { :kind_of => String },
- :description => { :kind_of => String }
- }
+ :description => { :kind_of => String },
+ },
)
@groupings[name] = options
@groupings[name]
@@ -571,7 +571,7 @@ class Chef
ISSUES_URL => self.issues_url,
PRIVACY => self.privacy,
CHEF_VERSIONS => gem_requirements_to_array(*self.chef_versions),
- OHAI_VERSIONS => gem_requirements_to_array(*self.ohai_versions)
+ OHAI_VERSIONS => gem_requirements_to_array(*self.ohai_versions),
}
end
@@ -647,7 +647,7 @@ class Chef
set_or_return(
:source_url,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -662,7 +662,7 @@ class Chef
set_or_return(
:issues_url,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String ],
)
end
@@ -679,7 +679,7 @@ class Chef
set_or_return(
:privacy,
arg,
- :kind_of => [ TrueClass, FalseClass ]
+ :kind_of => [ TrueClass, FalseClass ],
)
end