summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md12
-rw-r--r--Gemfile7
-rw-r--r--Rakefile7
-rw-r--r--VERSION2
-rw-r--r--lib/mixlib/authentication/signedheaderauth.rb2
-rw-r--r--lib/mixlib/authentication/version.rb2
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 -->
diff --git a/Gemfile b/Gemfile
index 50aa5eb..099e588 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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
diff --git a/Rakefile b/Rakefile
index c8140a3..03f4d6b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"
diff --git a/VERSION b/VERSION
index 3a8b971..e46454b 100644
--- a/VERSION
+++ b/VERSION
@@ -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