paperclip-azure 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/azure/core/auth/shared_access_signature.rb +2 -1
- data/paperclip-azure.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2289127f41e29b5ffb8aa36b6aeca8e480b6a1a2
|
4
|
+
data.tar.gz: dd0db09d326ab9b95f7218ce995580a78c131cf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42460b3da8ec5578f968f84c0d1fc5ca9cb6ee6d39fe935593c620155a56e24c0192c9087bda7369f63563f9fd3eeea229cabaffa2a2e9349cbe36e1338e7c09
|
7
|
+
data.tar.gz: b4fb7dbc55fc095a4d76d1c953921c4968544c5efda8bc1e5608811f48ef2147e22b5a5e2ced71086a5df5a43124617a3f256c61cf56f36b7405fcda5153e2f5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Adapted from the SharedAccessSignature class found in the Azure
|
2
2
|
# Extensions project by David Michael located at https://github.com/dmichael/azure-contrib
|
3
3
|
|
4
|
+
require 'azure'
|
4
5
|
require 'hashie/dash'
|
5
6
|
require 'addressable/uri'
|
6
7
|
|
@@ -71,7 +72,7 @@ module Azure
|
|
71
72
|
string_to_sign << options[:canonicalized_resource]
|
72
73
|
string_to_sign << options[:identifier]
|
73
74
|
|
74
|
-
Azure::Core::Auth::Signer.new(options[:access_key]).sign(string_to_sign.join("\n").force_encoding("UTF-8"))
|
75
|
+
::Azure::Core::Auth::Signer.new(options[:access_key]).sign(string_to_sign.join("\n").force_encoding("UTF-8"))
|
75
76
|
end
|
76
77
|
|
77
78
|
def sign
|
data/paperclip-azure.gemspec
CHANGED