qcloud_cos 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -3
- data/lib/qcloud_cos.rb +2 -2
- data/lib/qcloud_cos/error.rb +1 -1
- data/lib/qcloud_cos/version.rb +1 -1
- data/wiki/get_started.md +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4608ceae07623032b1a262e938db34aa09e6adf5
|
4
|
+
data.tar.gz: b47bdd3f7c20bafe0015b0a76ac715e6c323f871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 764b7d4a946e89feeed245b33611536597223b21b1123914b284863d567aa734d276135226f80c8794024208cf484ea3cc9a1743fba01cc79c12a95e0673c5ea
|
7
|
+
data.tar.gz: 3ff8c7421685e970b40b1d3348f20b1b0197c15e3f9623afe11fd8680de8c9081cd1d5701102350599c9207ce7cf50c5f1dff1d5513d8fea0b74ad8a2976f4f4
|
data/README.md
CHANGED
@@ -42,8 +42,16 @@ QcloudCos.upload_slice('/video.mp4', 'path/to/video.mp4')
|
|
42
42
|
QcloudCos.create_folder('/test/') # 创建目录
|
43
43
|
```
|
44
44
|
|
45
|
-
|
45
|
+
### CLI
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
$ qcloud-cos config
|
46
49
|
|
50
|
+
$ qcloud-cos info
|
51
|
+
$ qcloud-cos list
|
52
|
+
```
|
53
|
+
|
54
|
+
More Example and Scenario, visit our [Document](#document)
|
47
55
|
|
48
56
|
## Document
|
49
57
|
|
@@ -54,12 +62,12 @@ Here is original Restful API, It has the most detailed and authoritative explana
|
|
54
62
|
|
55
63
|
Here is our RDoc Document, It's well format to help you find more detail about methods.
|
56
64
|
|
57
|
-
+ [RDoc Document](http://www.rubydoc.info/gems/qcloud_cos
|
65
|
+
+ [RDoc Document](http://www.rubydoc.info/gems/qcloud_cos)
|
58
66
|
|
59
67
|
|
60
68
|
Here are some more guides for help you. Welcome to advice.
|
61
69
|
|
62
|
-
+ [Getting Started](
|
70
|
+
+ [Getting Started](wiki/get_started.md)
|
63
71
|
|
64
72
|
|
65
73
|
## Test
|
data/lib/qcloud_cos.rb
CHANGED
@@ -31,11 +31,11 @@ module QcloudCos
|
|
31
31
|
private
|
32
32
|
|
33
33
|
def http
|
34
|
-
|
34
|
+
Http.new(config)
|
35
35
|
end
|
36
36
|
|
37
37
|
def authorization
|
38
|
-
|
38
|
+
Authorization.new(config)
|
39
39
|
end
|
40
40
|
|
41
41
|
def validates(path, options, path_validate = :file_only)
|
data/lib/qcloud_cos/error.rb
CHANGED
data/lib/qcloud_cos/version.rb
CHANGED
data/wiki/get_started.md
CHANGED
@@ -1082,5 +1082,5 @@ $ qcloud-cos download --bucket bucket2 /data/test/
|
|
1082
1082
|
|
1083
1083
|
## 其它资源
|
1084
1084
|
|
1085
|
-
+ [RDoc 文档](http://www.rubydoc.info/gems/qcloud_cos
|
1085
|
+
+ [RDoc 文档](http://www.rubydoc.info/gems/qcloud_cos)
|
1086
1086
|
+ [腾讯 COS 详细文档](http://www.qcloud.com/doc/product/227/%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qcloud_cos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Newell Zhu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|