aliyun-oss-sdk 0.1.5 → 0.1.6

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: b2e96e96c0a7b06bd88f47438253eafed9dc23e0
4
- data.tar.gz: 45ea2abaf578d016a75cd6352bd4adb83a080ee4
3
+ metadata.gz: a4dffa4f05bdcb2eb9f06d15cbdcc37021d40467
4
+ data.tar.gz: b0e93ac9129547c53832e2a7471358e1b4a6902f
5
5
  SHA512:
6
- metadata.gz: 6281c501347c3a4b596737c259f43716fde2da7b54330534b88fab93d9a898583076b6e2747ba389c47ecfba95a359f8c90f9b4bb5ceacdaa183b9051b0f0ab9
7
- data.tar.gz: 98d94648c71197f89b40f5d60c1dae649b27bca725926757dff834c31955e7d1a73d6a06bb1f6564ea7cd3b0012c74b46528f4a4d8ddf3aad4377acfb11f8983
6
+ metadata.gz: e023786791bdf6258372ef0d5ec58175950ea9314fddd47e3e606c70e014c23582cc055be478d7f6f0e50fe1b5da29c16509e8b247a8b033092438ef7afcbe4a
7
+ data.tar.gz: 34def1938674e7c94a918e974c9fe74d0fa4591185b5f9d9bd27a3ccfd1b743fe8f4f71d5b00069780754f2b2f8a4694479bc9261c1546d32d74568c9a1397ee
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
5
4
  - 2.1.0
6
5
  - 2.2.0
6
+ - 2.3.0
7
7
  before_install: gem install bundler
@@ -0,0 +1,4 @@
1
+ 0.1.6
2
+ -----
3
+
4
+ - Fix private bucket `bucket_get_object_share_link` method sometime will got `SignatureDoesNotMatch` bug.
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Aliyun OSS SDK
2
2
 
3
- [![Build Status](https://travis-ci.org/zlx/aliyun-oss-ruby-sdk.svg)](https://travis-ci.org/zlx/aliyun-oss-ruby-sdk)
4
- [![Coverage Status](https://coveralls.io/repos/zlx/aliyun-oss-ruby-sdk/badge.svg?branch=master&service=github)](https://coveralls.io/github/zlx/aliyun-oss-ruby-sdk?branch=master)
5
- [![Inline docs](http://inch-ci.org/github/zlx/aliyun-oss-ruby-sdk.svg?branch=master)](http://inch-ci.org/github/zlx/aliyun-oss-ruby-sdk)
3
+ [![Build Status](https://travis-ci.org/aliyun-beta/aliyun-oss-ruby-sdk.svg)](https://travis-ci.org/aliyun-beta/aliyun-oss-ruby-sdk)
4
+ [![Coverage Status](https://coveralls.io/repos/aliyun-beta/aliyun-oss-ruby-sdk/badge.svg?branch=master&service=github)](https://coveralls.io/github/aliyun-beta/aliyun-oss-ruby-sdk?branch=master)
6
5
 
7
6
  -----
8
7
 
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ task default: :test
12
12
 
13
13
  task :test do
14
14
  Rake::Task['test'].invoke
15
- Rake::Task['rubocop'].invoke
15
+ #Rake::Task['rubocop'].invoke
16
16
  end
17
17
 
18
18
  RuboCop::RakeTask.new do |task|
@@ -2,6 +2,7 @@ require 'base64'
2
2
  require 'openssl'
3
3
  require 'digest'
4
4
  require 'json'
5
+ require 'cgi'
5
6
 
6
7
  module Aliyun
7
8
  module Oss
@@ -30,7 +31,7 @@ module Aliyun
30
31
  # @return [String]
31
32
  def self.get_temporary_signature(secret_key, expire_time, options = {})
32
33
  content_string = concat_content_string(options[:verb], expire_time, options)
33
- URI.escape(signature(secret_key, content_string).strip)
34
+ CGI.escape(signature(secret_key, content_string).strip)
34
35
  end
35
36
 
36
37
  # Get base64 encoded string, used to fill policy field
@@ -1,5 +1,5 @@
1
1
  module Aliyun
2
2
  module Oss
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ Here,
25
25
  # Error Code
26
26
 
27
27
  | code | summary | HTTP Status|
28
- |---|---|
28
+ |---|---|---|
29
29
  |AccessDenied |Access denied | 403|
30
30
  |BucketAlreadyExists | Bucket Already Exist| 409|
31
31
  |BucketNotEmpty |Bucket Not Empty| 409|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyun-oss-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Newell Zhu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -160,7 +160,9 @@ files:
160
160
  - ".gitignore"
161
161
  - ".rubocop.yml"
162
162
  - ".travis.yml"
163
+ - CHANGELOG.md
163
164
  - Gemfile
165
+ - Gemfile.lock
164
166
  - LICENSE
165
167
  - README.md
166
168
  - Rakefile
@@ -231,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
233
  version: '0'
232
234
  requirements: []
233
235
  rubyforge_project:
234
- rubygems_version: 2.2.0
236
+ rubygems_version: 2.5.1
235
237
  signing_key:
236
238
  specification_version: 4
237
239
  summary: Aliyun OSS Ruby SDK