diff options
author | poornima <poorndm@progress.com> | 2022-02-25 22:27:08 +0530 |
---|---|---|
committer | poornima <poorndm@progress.com> | 2022-04-07 21:24:48 +0530 |
commit | 0650db3ee1d33df1c8cf80bf93a30cd623fb6800 (patch) | |
tree | 7555b86b0bd484af026034eba2b44d3d3688654d /lib/mixlib/authentication | |
parent | ee14aa7be4196f837954dbebc461e373249ffbb5 (diff) | |
download | mixlib-authentication-0650db3ee1d33df1c8cf80bf93a30cd623fb6800.tar.gz |
Test Ruby 3.0/3.1
Signed-off-by: poornima <poorndm@progress.com>
Update Label and Code owners
Signed-off-by: poornima <poorndm@progress.com>
Drop Ruby 2.4 Testing & Fix chefstyle issue
Signed-off-by: poornima <poorndm@progress.com>
Fix bundle exec args
Signed-off-by: poornima <poorndm@progress.com>
Modify bundle exec
Signed-off-by: poornima <poorndm@progress.com>
Modified verify-pipeline - command
Signed-off-by: poornima <poorndm@progress.com>
updated chefstyle
Signed-off-by: poornima <poorndm@progress.com>
Add ruby 3.0/3.1 tests on windows
Signed-off-by: poornima <poorndm@progress.com>
Offence corrected
Signed-off-by: poornima <poorndm@progress.com>
Diffstat (limited to 'lib/mixlib/authentication')
-rw-r--r-- | lib/mixlib/authentication/signedheaderauth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/authentication/signedheaderauth.rb b/lib/mixlib/authentication/signedheaderauth.rb index dc2adf3..cfd7bfe 100644 --- a/lib/mixlib/authentication/signedheaderauth.rb +++ b/lib/mixlib/authentication/signedheaderauth.rb @@ -196,7 +196,7 @@ module Mixlib # TODO: tim 2009-12-28: It'd be nice to just remove this special case, # always sign the entire request body, using the expanded multipart # body in the case of a file being include. - @hashed_body ||= if file&.respond_to?(:read) + @hashed_body ||= if file.respond_to?(:read) digester.hash_file(file, digest) else digester.hash_string(body, digest) |