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 CHANGED
@@ -7,3 +7,4 @@ sdk
7
7
  .rvmrc
8
8
  vendor/
9
9
  .bundle
10
+ *.gem
@@ -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
 
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12
12
  gem.name = "waz-storage"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = "1.3.4"
14
+ gem.version = "1.3.5"
15
15
 
16
16
  gem.test_files = Dir['tests/**/*']
17
17
 
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
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-26 00:00:00.000000000 Z
12
+ date: 2013-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client