diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-10 13:26:49 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-10 13:26:49 -0800 |
commit | da05c14ab9456aa0af803aecb2b606060fbf38e3 (patch) | |
tree | 4f34c7e12ae879a7e069c3da7a2773670418c76c /lib/mixlib | |
parent | e0f434d9b42263ac0bf69a9291b0ad3af7ef663c (diff) | |
parent | 8b95d17a64334b70c62be60535461bd285b1a8a9 (diff) | |
download | mixlib-authentication-da05c14ab9456aa0af803aecb2b606060fbf38e3.tar.gz |
Merge pull request #7 from chef/jdm/cleanup
Cleanup mixlib-authentication
Diffstat (limited to 'lib/mixlib')
-rw-r--r-- | lib/mixlib/authentication/signedheaderauth.rb | 9 | ||||
-rw-r--r-- | lib/mixlib/authentication/version.rb | 21 |
2 files changed, 29 insertions, 1 deletions
diff --git a/lib/mixlib/authentication/signedheaderauth.rb b/lib/mixlib/authentication/signedheaderauth.rb index f37471d..85a31d4 100644 --- a/lib/mixlib/authentication/signedheaderauth.rb +++ b/lib/mixlib/authentication/signedheaderauth.rb @@ -65,7 +65,14 @@ module Mixlib # These parameters are accepted but not used in the computation of the signature. # * `:host`: The host part of the URI def self.signing_object(args={ }) - SigningObject.new(args[:http_method], args[:path], args[:body], args[:host], args[:timestamp], args[:user_id], args[:file], args[:proto_version]) + SigningObject.new(args[:http_method], + args[:path], + args[:body], + args[:host], + args[:timestamp], + args[:user_id], + args[:file], + args[:proto_version]) end def algorithm diff --git a/lib/mixlib/authentication/version.rb b/lib/mixlib/authentication/version.rb new file mode 100644 index 0000000..f761b49 --- /dev/null +++ b/lib/mixlib/authentication/version.rb @@ -0,0 +1,21 @@ +# Copyright:: Copyright (c) 2010-2015 Chef Software, Inc. +# License:: Apache License, Version 2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +module Mixlib + module Authentication + VERSION = '1.3.0' + end +end |