waz-storage 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/waz/blobs/service.rb +1 -1
- data/waz-storage.gemspec +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/lib/waz/blobs/service.rb
CHANGED
@@ -119,7 +119,7 @@ module WAZ
|
|
119
119
|
#
|
120
120
|
# metadata is a hash that stores all the properties that you want to add to the blob when creating it.
|
121
121
|
def put_block_list(path, blockids, content_type = "application/octet-stream", metadata = {})
|
122
|
-
default_headers = {"Content-Type" => content_type, :x_ms_version => "2011-08-18"}
|
122
|
+
default_headers = {"Content-Type" => "application/xml", "x-ms-blob-content-type" => content_type, :x_ms_version => "2011-08-18"}
|
123
123
|
execute :put, path, { :comp => 'blocklist' }, metadata.merge(default_headers), '<?xml version="1.0" encoding="utf-8"?><BlockList>' + blockids.map {|id| "<Latest>#{id.rstrip}</Latest>"}.join + '</BlockList>'
|
124
124
|
end
|
125
125
|
|
data/waz-storage.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waz-storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|