spice 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -0
- data/lib/spice.rb +1 -1
- data/lib/spice/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# Release Notes - Spice - Version 1.0.2
|
2
|
+
|
3
|
+
* Fixed issue with bad variable when checking the format of a client key.
|
4
|
+
|
5
|
+
# Release Notes - Spice - Version 1.0.1
|
6
|
+
|
7
|
+
* Fixed an incompatibility with JRuby and Yajl by switching to MultiJson.
|
8
|
+
|
1
9
|
# Release Notes - Spice - Version 1.0.0
|
2
10
|
|
3
11
|
* Note: this version of Spice is a major version bump, which means it is *not* backwards-compatible with previous versions.
|
data/lib/spice.rb
CHANGED
@@ -44,7 +44,7 @@ module Spice
|
|
44
44
|
end_rsa = "-----END RSA PRIVATE KEY-----"
|
45
45
|
|
46
46
|
unless (raw_key =~ /\A#{begin_rsa}$/) && (raw_key =~ /^#{end_rsa}\Z/)
|
47
|
-
msg = "The file #{
|
47
|
+
msg = "The file #{key_file_path} is not a properly formatted private key.\n"
|
48
48
|
msg << "It must contain '#{begin_rsa}' and '#{end_rsa}'"
|
49
49
|
raise ArgumentError, msg
|
50
50
|
end
|
data/lib/spice/version.rb
CHANGED