paperclip-azure 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2289127f41e29b5ffb8aa36b6aeca8e480b6a1a2
4
- data.tar.gz: dd0db09d326ab9b95f7218ce995580a78c131cf9
3
+ metadata.gz: c545a39d7a8acfaa758d17bed06bcbccd56cfdfd
4
+ data.tar.gz: 848ef0de836ae654dd0446bf20edd3a93dd3c238
5
5
  SHA512:
6
- metadata.gz: 42460b3da8ec5578f968f84c0d1fc5ca9cb6ee6d39fe935593c620155a56e24c0192c9087bda7369f63563f9fd3eeea229cabaffa2a2e9349cbe36e1338e7c09
7
- data.tar.gz: b4fb7dbc55fc095a4d76d1c953921c4968544c5efda8bc1e5608811f48ef2147e22b5a5e2ced71086a5df5a43124617a3f256c61cf56f36b7405fcda5153e2f5
6
+ metadata.gz: aed8e69bb643129c453affe8ebb921c94e051914dc61f3e6f4b15231be783b3db47437a92aec1d1db7fff8c9b13769cdf3fa11327100a9aede245327f80baacd
7
+ data.tar.gz: 1a65ce162e567c6e6e203f48e84b12b4b35e3000569a678e43defebdcf7902c4513f25b15ee981efc34997ba9d97fd0c3dacb158d1715b1b7e33776f825166f9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,7 +1,6 @@
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'
5
4
  require 'hashie/dash'
6
5
  require 'addressable/uri'
7
6
 
@@ -1,3 +1,15 @@
1
- require File.join(File.dirname(__FILE__), 'azure', 'blob', 'blob_service')
1
+ require 'azure'
2
+
2
3
  require File.join(File.dirname(__FILE__), 'azure', 'core', 'auth', 'shared_access_signature')
3
- require File.join(File.dirname(__FILE__), 'paperclip', 'storage', 'azure')
4
+ require File.join(File.dirname(__FILE__), 'paperclip', 'storage', 'azure')
5
+
6
+ module Azure
7
+ module Blob
8
+ BlobService.class_eval do
9
+ def initialize(signer=Core::Auth::SharedKey.new, account_name=Azure.config.storage_account_name)
10
+ super(signer, account_name)
11
+ @host = "http://#{account_name}.blob.core.windows.net"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "paperclip-azure"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
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"]
@@ -25,7 +25,6 @@ Gem::Specification.new do |s|
25
25
  "README.rdoc",
26
26
  "Rakefile",
27
27
  "VERSION",
28
- "lib/azure/blob/blob_service.rb",
29
28
  "lib/azure/core/auth/shared_access_signature.rb",
30
29
  "lib/paperclip-azure.rb",
31
30
  "lib/paperclip/storage/azure.rb",
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Yaker
@@ -152,7 +152,6 @@ files:
152
152
  - README.rdoc
153
153
  - Rakefile
154
154
  - VERSION
155
- - lib/azure/blob/blob_service.rb
156
155
  - lib/azure/core/auth/shared_access_signature.rb
157
156
  - lib/paperclip-azure.rb
158
157
  - lib/paperclip/storage/azure.rb
@@ -1,12 +0,0 @@
1
- if defined? Azure::Blob::BlobService
2
- module Azure
3
- module Blob
4
- BlobService.class_eval do
5
- def initialize(signer=Core::Auth::SharedKey.new, account_name=Azure.config.storage_account_name)
6
- super(signer, account_name)
7
- @host = "http://#{account_name}.blob.core.windows.net"
8
- end
9
- end
10
- end
11
- end
12
- end