qiniu-rs 2.3.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qiniu-rs (2.3.1)
4
+ qiniu-rs (2.3.2)
5
5
  json (~> 1.7.3)
6
6
  mime-types (~> 1.19)
7
7
  rest-client (~> 1.6.7)
@@ -59,7 +59,7 @@ module Qiniu
59
59
  end
60
60
 
61
61
  def call_with_signature(url, data, retry_times = 0, options = {})
62
- code, data = http_request url, data, options.merge!({:qbox_signature_token => generate_qbox_signature(url, data)})
62
+ code, data = http_request url, data, options.merge({:qbox_signature_token => generate_qbox_signature(url, data)})
63
63
  [code, data]
64
64
  end
65
65
 
@@ -68,7 +68,7 @@ module Qiniu
68
68
  if Config.settings[:access_key].empty? || Config.settings[:secret_key].empty?
69
69
  code, data = Auth.call_with_logged_in(url, data)
70
70
  else
71
- code, data = Auth.call_with_signature(url, data, options)
71
+ code, data = Auth.call_with_signature(url, data, 0, options)
72
72
  end
73
73
  rescue [MissingAccessToken, MissingRefreshToken, MissingUsernameOrPassword] => e
74
74
  Log.logger.error e
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Qiniu
4
4
  module RS
5
- VERSION = "2.3.1"
5
+ VERSION = "2.3.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qiniu-rs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  segments:
179
179
  - 0
180
- hash: 1949890581175150745
180
+ hash: -274925002457974401
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  segments:
188
188
  - 0
189
- hash: 1949890581175150745
189
+ hash: -274925002457974401
190
190
  requirements: []
191
191
  rubyforge_project:
192
192
  rubygems_version: 1.8.24