upyun-rb 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,6 +24,7 @@ module Upyun
24
24
  @connection.put do |req|
25
25
  req.url uri
26
26
  req.body = Faraday::UploadIO.new(file, mime_type)
27
+ req.headers['Mkdir'] = 'true'
27
28
  req.headers['Content-Type'] = mime_type
28
29
  req.headers['Content-Length'] = file_size.to_s
29
30
  req.headers['Authorization'] = "UpYun #{@operator}:#{sign}"
@@ -1,3 +1,3 @@
1
1
  module Upyun
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upyun-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: