diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-19 09:28:33 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-19 09:28:33 -0800 |
commit | 92bec4bb96d857f027068fc56af46c76c484fd50 (patch) | |
tree | 2cffea3fc9466d0c5e2baa7cc7630abb0ed7aecb /lib/chef/cookbook/metadata.rb | |
parent | 6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (diff) | |
download | chef-92bec4bb96d857f027068fc56af46c76c484fd50.tar.gz |
flip multiline function arguments aroundlcg/rubocop-0.37.2
no enforced trailing comma on arguments...
Diffstat (limited to 'lib/chef/cookbook/metadata.rb')
-rw-r--r-- | lib/chef/cookbook/metadata.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/chef/cookbook/metadata.rb b/lib/chef/cookbook/metadata.rb index 7d14cea44f..1cad526b65 100644 --- a/lib/chef/cookbook/metadata.rb +++ b/lib/chef/cookbook/metadata.rb @@ -177,7 +177,7 @@ class Chef set_or_return( :maintainer, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -192,7 +192,7 @@ class Chef set_or_return( :maintainer_email, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -207,7 +207,7 @@ class Chef set_or_return( :license, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -222,7 +222,7 @@ class Chef set_or_return( :description, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -237,7 +237,7 @@ class Chef set_or_return( :long_description, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -268,7 +268,7 @@ class Chef set_or_return( :name, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -492,7 +492,7 @@ class Chef :source_url => { :kind_of => String }, :issues_url => { :kind_of => String }, :privacy => { :kind_of => [ TrueClass, FalseClass ] }, - }, + } ) options[:required] = remap_required_attribute(options[:required]) unless options[:required].nil? validate_choice_array(options) @@ -509,7 +509,7 @@ class Chef { :title => { :kind_of => String }, :description => { :kind_of => String }, - }, + } ) @groupings[name] = options @groupings[name] @@ -648,7 +648,7 @@ class Chef set_or_return( :source_url, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -663,7 +663,7 @@ class Chef set_or_return( :issues_url, arg, - :kind_of => [ String ], + :kind_of => [ String ] ) end @@ -680,7 +680,7 @@ class Chef set_or_return( :privacy, arg, - :kind_of => [ TrueClass, FalseClass ], + :kind_of => [ TrueClass, FalseClass ] ) end |