diff options
-rw-r--r-- | CHANGELOG.md | 12 | ||||
-rw-r--r-- | Gemfile | 7 | ||||
-rw-r--r-- | Rakefile | 7 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | lib/mixlib/authentication/signedheaderauth.rb | 2 | ||||
-rw-r--r-- | lib/mixlib/authentication/version.rb | 2 |
6 files changed, 13 insertions, 19 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ffc7249..81f807f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,17 @@ # mixlib-authentication Changelog -<!-- latest_release --> +<!-- latest_release 3.0.8 --> +## [v3.0.8](https://github.com/chef/mixlib-authentication/tree/v3.0.8) (2021-03-15) + +#### Merged Pull Requests +- Split using a string not a regex [#55](https://github.com/chef/mixlib-authentication/pull/55) ([tas50](https://github.com/tas50)) <!-- latest_release --> -<!-- release_rollup --> +<!-- release_rollup since=3.0.7 --> +### Changes not yet released to rubygems.org + +#### Merged Pull Requests +- Split using a string not a regex [#55](https://github.com/chef/mixlib-authentication/pull/55) ([tas50](https://github.com/tas50)) <!-- 3.0.8 --> <!-- release_rollup --> <!-- latest_stable_release --> @@ -2,12 +2,6 @@ source "https://rubygems.org" gemspec -group :docs do - gem "github-markup" - gem "redcarpet" - gem "yard" -end - group :test do gem "chefstyle" gem "mixlib-log", "~> 3" @@ -21,6 +15,5 @@ end group :debug do gem "pry" gem "pry-byebug" - gem "pry-stack_explorer", "~> 0.4.0" # pin until we drop ruby < 2.6 gem "rb-readline" end @@ -23,13 +23,6 @@ rescue LoadError puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed." end -begin - require "yard" unless defined?(YARD) - YARD::Rake::YardocTask.new(:docs) -rescue LoadError - puts "yard is not available. bundle install first to make sure all dependencies are installed." -end - task :console do require "irb" require "irb/completion" @@ -1 +1 @@ -3.0.7
\ No newline at end of file +3.0.8
\ No newline at end of file diff --git a/lib/mixlib/authentication/signedheaderauth.rb b/lib/mixlib/authentication/signedheaderauth.rb index 0e0d865..3782d1c 100644 --- a/lib/mixlib/authentication/signedheaderauth.rb +++ b/lib/mixlib/authentication/signedheaderauth.rb @@ -127,7 +127,7 @@ module Mixlib } signature = Base64.encode64(do_sign(rsa_key, digest, sign_algorithm, sign_version, use_ssh_agent)).chomp - signature_lines = signature.split(/\n/) + signature_lines = signature.split("\n") signature_lines.each_index do |idx| key = "X-Ops-Authorization-#{idx + 1}" header_hash[key] = signature_lines[idx] diff --git a/lib/mixlib/authentication/version.rb b/lib/mixlib/authentication/version.rb index 983a666..90dc629 100644 --- a/lib/mixlib/authentication/version.rb +++ b/lib/mixlib/authentication/version.rb @@ -16,6 +16,6 @@ module Mixlib module Authentication - VERSION = "3.0.7".freeze + VERSION = "3.0.8".freeze end end |