aliyun-oss 0.7.0.1349333720 → 0.7.0.1397365150
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Rakefile +1 -1
- data/lib/aliyun/oss/authentication.rb +1 -1
- data/lib/aliyun/oss/base.rb +1 -1
- metadata +58 -66
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MTA4MGY0MzhjOWRjNzA5YTU1NWQzYTMwMmZhMDlhZjg5MTA0OWMyZg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTY1OTc1ZDVmZmU5NWEyMDljZDA1NGVmNzVhYjI1NGE5NWQ0MjFlNw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MmFlZDc0MGMzNGQ5NTU5ZmMyZGY0N2YxOGFiNTBlNjFlYjRlNjVhMmI5NjBj
|
10
|
+
MjZhNTU0YjI4YjU5NDdiY2NkYTc5M2M5NjUyZDc5ZDQyOGY0YmI0NTVjMjFj
|
11
|
+
MzU5N2NkYzZhOTRkNTc3OWQwMTcyNDVhMGMxZmFlYTZhMGEyOWU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OWVjNWIzNTNhZGUwYzUxNjRkYjFkYWFlNTFkMTRlOGIzOGE2MTgyMTQyMmUw
|
14
|
+
NGU4NjhlMGEwZDg4MDhiMWViMjk4NTBiYzU5NTQwYzE0MGQ1MzFjNDJlMmJl
|
15
|
+
MzYzMDBkMzI0ZGJiOWUxN2YwMjJkZmFlMDRhOTE4NDUwODNiMDI=
|
data/Rakefile
CHANGED
@@ -60,7 +60,7 @@ namespace :dist do
|
|
60
60
|
spec = Gem::Specification.new do |s|
|
61
61
|
s.name = 'aliyun-oss'
|
62
62
|
s.version = Gem::Version.new(Aliyun::OSS::Version)
|
63
|
-
s.summary = "Client library for Aliyun's
|
63
|
+
s.summary = "Client library for Aliyun's Open Storage Service's REST API"
|
64
64
|
s.description = s.summary
|
65
65
|
s.email = 'mr.mangege@gmail.com'
|
66
66
|
s.author = 'mangege'
|
@@ -69,7 +69,7 @@ module Aliyun
|
|
69
69
|
memoized :canonical_string
|
70
70
|
|
71
71
|
def encoded_canonical
|
72
|
-
digest = OpenSSL::Digest
|
72
|
+
digest = OpenSSL::Digest.new('sha1')
|
73
73
|
b64_hmac = [OpenSSL::HMAC.digest(digest, secret_access_key, canonical_string)].pack("m").strip
|
74
74
|
url_encode? ? CGI.escape(b64_hmac) : b64_hmac
|
75
75
|
end
|
data/lib/aliyun/oss/base.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
module Aliyun #:nodoc:
|
3
|
-
# Aliyun::OSS is a Ruby library for Aliyun's
|
3
|
+
# Aliyun::OSS is a Ruby library for Aliyun's Open Storage Service's REST API (http://aliyun.aliyun.com/oss).
|
4
4
|
# Full documentation of the currently supported API can be found at http://docs.aliyunwebservices.com/AliyunOSS/2006-03-01.
|
5
5
|
#
|
6
6
|
# == Getting started
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aliyun-oss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.7.0.1397365150
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- mangege
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-04-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: xml-simple
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: builder
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: mime-types
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,12 +48,11 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
|
-
description: Client library for Aliyun's
|
55
|
+
description: Client library for Aliyun's Open Storage Service's REST API
|
63
56
|
email: mr.mangege@gmail.com
|
64
57
|
executables:
|
65
58
|
- oss
|
@@ -69,63 +62,64 @@ extra_rdoc_files:
|
|
69
62
|
- COPYING
|
70
63
|
- INSTALL
|
71
64
|
files:
|
65
|
+
- COPYING
|
66
|
+
- INSTALL
|
67
|
+
- README
|
72
68
|
- Rakefile
|
69
|
+
- bin/oss
|
70
|
+
- bin/setup.rb
|
73
71
|
- lib/aliyun/oss.rb
|
74
|
-
- lib/aliyun/oss/
|
72
|
+
- lib/aliyun/oss/acl.rb
|
73
|
+
- lib/aliyun/oss/authentication.rb
|
74
|
+
- lib/aliyun/oss/base.rb
|
75
|
+
- lib/aliyun/oss/bucket.rb
|
75
76
|
- lib/aliyun/oss/connection.rb
|
77
|
+
- lib/aliyun/oss/error.rb
|
78
|
+
- lib/aliyun/oss/exceptions.rb
|
76
79
|
- lib/aliyun/oss/extensions.rb
|
77
80
|
- lib/aliyun/oss/logging.rb
|
78
|
-
- lib/aliyun/oss/bucket.rb
|
79
|
-
- lib/aliyun/oss/authentication.rb
|
80
|
-
- lib/aliyun/oss/owner.rb
|
81
|
-
- lib/aliyun/oss/response.rb
|
82
81
|
- lib/aliyun/oss/object.rb
|
83
|
-
- lib/aliyun/oss/
|
82
|
+
- lib/aliyun/oss/owner.rb
|
84
83
|
- lib/aliyun/oss/parsing.rb
|
85
|
-
- lib/aliyun/oss/
|
86
|
-
- lib/aliyun/oss/base.rb
|
87
|
-
- lib/aliyun/oss/version.rb
|
84
|
+
- lib/aliyun/oss/response.rb
|
88
85
|
- lib/aliyun/oss/service.rb
|
89
|
-
-
|
90
|
-
- bin/setup.rb
|
91
|
-
- support/rdoc/code_info.rb
|
92
|
-
- support/faster-xml-simple/test/xml_simple_comparison_test.rb
|
93
|
-
- support/faster-xml-simple/test/test_helper.rb
|
94
|
-
- support/faster-xml-simple/test/regression_test.rb
|
86
|
+
- lib/aliyun/oss/version.rb
|
95
87
|
- support/faster-xml-simple/lib/faster_xml_simple.rb
|
88
|
+
- support/faster-xml-simple/test/regression_test.rb
|
89
|
+
- support/faster-xml-simple/test/test_helper.rb
|
90
|
+
- support/faster-xml-simple/test/xml_simple_comparison_test.rb
|
91
|
+
- support/rdoc/code_info.rb
|
96
92
|
- test/acl_test.rb
|
97
|
-
- test/bucket_test.rb
|
98
|
-
- test/base_test.rb
|
99
|
-
- test/logging_test.rb
|
100
93
|
- test/authentication_test.rb
|
101
|
-
- test/
|
94
|
+
- test/base_test.rb
|
95
|
+
- test/bucket_test.rb
|
96
|
+
- test/connection_test.rb
|
102
97
|
- test/error_test.rb
|
103
|
-
- test/
|
104
|
-
- test/fixtures
|
98
|
+
- test/extensions_test.rb
|
99
|
+
- test/fixtures.rb
|
105
100
|
- test/fixtures/buckets.yml
|
106
101
|
- test/fixtures/errors.yml
|
107
102
|
- test/fixtures/headers.yml
|
108
103
|
- test/fixtures/logging.yml
|
109
104
|
- test/fixtures/loglines.yml
|
110
|
-
- test/
|
111
|
-
- test/fixtures.
|
105
|
+
- test/fixtures/logs.yml
|
106
|
+
- test/fixtures/policies.yml
|
107
|
+
- test/logging_test.rb
|
112
108
|
- test/mocks/fake_response.rb
|
109
|
+
- test/object_test.rb
|
110
|
+
- test/parsing_test.rb
|
113
111
|
- test/remote/acl_test.rb
|
114
|
-
- test/remote/test_file.data
|
115
112
|
- test/remote/bucket_test.rb
|
116
113
|
- test/remote/logging_test.rb
|
117
|
-
- test/remote/test_helper.rb
|
118
114
|
- test/remote/object_test.rb
|
119
|
-
- test/
|
120
|
-
- test/
|
121
|
-
- test/extensions_test.rb
|
115
|
+
- test/remote/test_file.data
|
116
|
+
- test/remote/test_helper.rb
|
122
117
|
- test/response_test.rb
|
123
|
-
- test/
|
124
|
-
-
|
125
|
-
- COPYING
|
126
|
-
- INSTALL
|
118
|
+
- test/service_test.rb
|
119
|
+
- test/test_helper.rb
|
127
120
|
homepage: https://github.com/mangege/aliyun-oss-sdk-for-ruby
|
128
121
|
licenses: []
|
122
|
+
metadata: {}
|
129
123
|
post_install_message:
|
130
124
|
rdoc_options:
|
131
125
|
- --title
|
@@ -137,49 +131,47 @@ rdoc_options:
|
|
137
131
|
require_paths:
|
138
132
|
- lib
|
139
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
134
|
requirements:
|
142
135
|
- - ! '>='
|
143
136
|
- !ruby/object:Gem::Version
|
144
137
|
version: '0'
|
145
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
139
|
requirements:
|
148
140
|
- - ! '>='
|
149
141
|
- !ruby/object:Gem::Version
|
150
142
|
version: '0'
|
151
143
|
requirements: []
|
152
144
|
rubyforge_project:
|
153
|
-
rubygems_version:
|
145
|
+
rubygems_version: 2.2.2
|
154
146
|
signing_key:
|
155
|
-
specification_version:
|
156
|
-
summary: Client library for Aliyun's
|
147
|
+
specification_version: 4
|
148
|
+
summary: Client library for Aliyun's Open Storage Service's REST API
|
157
149
|
test_files:
|
158
|
-
- test/
|
150
|
+
- test/error_test.rb
|
151
|
+
- test/service_test.rb
|
159
152
|
- test/bucket_test.rb
|
153
|
+
- test/remote/bucket_test.rb
|
154
|
+
- test/remote/test_file.data
|
155
|
+
- test/remote/acl_test.rb
|
156
|
+
- test/remote/test_helper.rb
|
157
|
+
- test/remote/object_test.rb
|
158
|
+
- test/remote/logging_test.rb
|
159
|
+
- test/fixtures.rb
|
160
160
|
- test/base_test.rb
|
161
|
-
- test/logging_test.rb
|
162
|
-
- test/authentication_test.rb
|
163
|
-
- test/service_test.rb
|
164
|
-
- test/error_test.rb
|
165
161
|
- test/fixtures/logs.yml
|
166
|
-
- test/fixtures/
|
167
|
-
- test/fixtures/buckets.yml
|
162
|
+
- test/fixtures/logging.yml
|
168
163
|
- test/fixtures/errors.yml
|
169
164
|
- test/fixtures/headers.yml
|
170
|
-
- test/fixtures/
|
165
|
+
- test/fixtures/policies.yml
|
166
|
+
- test/fixtures/buckets.yml
|
171
167
|
- test/fixtures/loglines.yml
|
168
|
+
- test/acl_test.rb
|
169
|
+
- test/parsing_test.rb
|
170
|
+
- test/extensions_test.rb
|
172
171
|
- test/test_helper.rb
|
173
|
-
- test/
|
174
|
-
- test/mocks/fake_response.rb
|
175
|
-
- test/remote/acl_test.rb
|
176
|
-
- test/remote/test_file.data
|
177
|
-
- test/remote/bucket_test.rb
|
178
|
-
- test/remote/logging_test.rb
|
179
|
-
- test/remote/test_helper.rb
|
180
|
-
- test/remote/object_test.rb
|
172
|
+
- test/authentication_test.rb
|
181
173
|
- test/object_test.rb
|
182
|
-
- test/connection_test.rb
|
183
|
-
- test/extensions_test.rb
|
184
174
|
- test/response_test.rb
|
185
|
-
- test/
|
175
|
+
- test/logging_test.rb
|
176
|
+
- test/connection_test.rb
|
177
|
+
- test/mocks/fake_response.rb
|