aliyun-oss-sdk 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +2 -3
- data/Rakefile +1 -1
- data/lib/aliyun/oss/authorization.rb +2 -1
- data/lib/aliyun/oss/version.rb +1 -1
- data/wiki/error.md +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4dffa4f05bdcb2eb9f06d15cbdcc37021d40467
|
4
|
+
data.tar.gz: b0e93ac9129547c53832e2a7471358e1b4a6902f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e023786791bdf6258372ef0d5ec58175950ea9314fddd47e3e606c70e014c23582cc055be478d7f6f0e50fe1b5da29c16509e8b247a8b033092438ef7afcbe4a
|
7
|
+
data.tar.gz: 34def1938674e7c94a918e974c9fe74d0fa4591185b5f9d9bd27a3ccfd1b743fe8f4f71d5b00069780754f2b2f8a4694479bc9261c1546d32d74568c9a1397ee
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# Aliyun OSS SDK
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/
|
4
|
-
[![Coverage Status](https://coveralls.io/repos/
|
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
@@ -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
|
-
|
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
|
data/lib/aliyun/oss/version.rb
CHANGED
data/wiki/error.md
CHANGED
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.
|
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:
|
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.
|
236
|
+
rubygems_version: 2.5.1
|
235
237
|
signing_key:
|
236
238
|
specification_version: 4
|
237
239
|
summary: Aliyun OSS Ruby SDK
|