summaryrefslogtreecommitdiff
path: root/lib/chef/api_client.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
commit92bec4bb96d857f027068fc56af46c76c484fd50 (patch)
tree2cffea3fc9466d0c5e2baa7cc7630abb0ed7aecb /lib/chef/api_client.rb
parent6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (diff)
downloadchef-92bec4bb96d857f027068fc56af46c76c484fd50.tar.gz
flip multiline function arguments aroundlcg/rubocop-0.37.2
no enforced trailing comma on arguments...
Diffstat (limited to 'lib/chef/api_client.rb')
-rw-r--r--lib/chef/api_client.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/api_client.rb b/lib/chef/api_client.rb
index 27701c6b68..3c1ef7a2b6 100644
--- a/lib/chef/api_client.rb
+++ b/lib/chef/api_client.rb
@@ -53,7 +53,7 @@ class Chef
set_or_return(
:name,
arg,
- :regex => /^[\-[:alnum:]_\.]+$/,
+ :regex => /^[\-[:alnum:]_\.]+$/
)
end
@@ -65,7 +65,7 @@ class Chef
set_or_return(
:admin,
arg,
- :kind_of => [ TrueClass, FalseClass ],
+ :kind_of => [ TrueClass, FalseClass ]
)
end
@@ -77,7 +77,7 @@ class Chef
set_or_return(
:public_key,
arg,
- :kind_of => String,
+ :kind_of => String
)
end
@@ -90,7 +90,7 @@ class Chef
set_or_return(
:validator,
arg,
- :kind_of => [TrueClass, FalseClass],
+ :kind_of => [TrueClass, FalseClass]
)
end
@@ -102,7 +102,7 @@ class Chef
set_or_return(
:private_key,
arg,
- :kind_of => [String, FalseClass],
+ :kind_of => [String, FalseClass]
)
end