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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf7f05394a3654413f98ccb7e5874d3891c884b1
4
- data.tar.gz: f9a973ea7c2c21c9dc6fb1c0dd33f34b5aa84039
3
+ metadata.gz: 2289127f41e29b5ffb8aa36b6aeca8e480b6a1a2
4
+ data.tar.gz: dd0db09d326ab9b95f7218ce995580a78c131cf9
5
5
  SHA512:
6
- metadata.gz: 20e40991159248737e365085887be4d45ac000ce1095b71e04cefe48609cd2c51ec2154c752218180de2d7f049a75ec671e92f0c4390ba512ae23c552ba2e218
7
- data.tar.gz: 33f0d3545a5312da65909c3e392e3c2209fd76ba7d2665ba4558a5aa9bb342922a73f526e4cbed35ab6dea59f0c329c5f9ce4eac026be7f39e3079e98f0fdafd
6
+ metadata.gz: 42460b3da8ec5578f968f84c0d1fc5ca9cb6ee6d39fe935593c620155a56e24c0192c9087bda7369f63563f9fd3eeea229cabaffa2a2e9349cbe36e1338e7c09
7
+ data.tar.gz: b4fb7dbc55fc095a4d76d1c953921c4968544c5efda8bc1e5608811f48ef2147e22b5a5e2ced71086a5df5a43124617a3f256c61cf56f36b7405fcda5153e2f5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "paperclip-azure"
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jordan Yaker"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-azure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Yaker