qingcloud-sdk 0.3.1 → 0.3.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 +18 -14
- data/lib/qingcloud/sdk/general/error.rb +0 -3
- data/lib/qingcloud/sdk/version.rb +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: 9d3405e7c9211e9272c3cf4d83c0cbf3419d4b75
|
4
|
+
data.tar.gz: 6b9a0270cc6185bd48b79e1fcc6346154f0810c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9bfa61529861381a7166d646bb6330c1c216109cd3c7d716cf49013518fde92d4ad87251e6c1ba30ebf7c6d05bba82acc9889e48b38017117e454720a27190b
|
7
|
+
data.tar.gz: bc5b04e2eb7ba84118b262eb4a63f485f5027b527f1d93c07b60f236b2fa6fd520d4a9539b4652516a548b60699df3276deff7a4fb7591bedc7fa1ccf75305f2
|
data/README.md
CHANGED
@@ -8,21 +8,16 @@ SDK for QingCloud
|
|
8
8
|
|
9
9
|
$ gem install qingcloud-sdk
|
10
10
|
|
11
|
-
|
12
|
-
## Install from Source Code
|
13
|
-
|
14
|
-
Get Code from Github:
|
15
|
-
|
16
|
-
$ git clone git@github.com:prettyxw/qingcloud-sdk-ruby.git
|
17
|
-
|
18
|
-
Build and Install with Bundle:
|
19
|
-
|
20
|
-
$ cd qingcloud-sdk-ruby && bundle exec rake install
|
21
|
-
|
22
11
|
## Install using Gemfile
|
23
12
|
|
24
13
|
Add this line to your application's Gemfile:
|
25
14
|
|
15
|
+
```ruby
|
16
|
+
gem 'qingcloud-sdk'
|
17
|
+
```
|
18
|
+
|
19
|
+
or
|
20
|
+
|
26
21
|
```ruby
|
27
22
|
gem 'qingcloud-sdk', git: 'https://github.com/prettyxw/qingcloud-sdk-ruby'
|
28
23
|
```
|
@@ -31,6 +26,16 @@ And then execute:
|
|
31
26
|
|
32
27
|
$ bundle install
|
33
28
|
|
29
|
+
## Install from Source Code
|
30
|
+
|
31
|
+
Get Code from Github:
|
32
|
+
|
33
|
+
$ git clone git@github.com:prettyxw/qingcloud-sdk-ruby.git
|
34
|
+
|
35
|
+
Build and Install with Bundle:
|
36
|
+
|
37
|
+
$ cd qingcloud-sdk-ruby && bundle exec rake install
|
38
|
+
|
34
39
|
## Uninstall
|
35
40
|
|
36
41
|
Using gem to remove this package:
|
@@ -61,9 +66,8 @@ require 'qingcloud/sdk'
|
|
61
66
|
|
62
67
|
# Create Connection and Service
|
63
68
|
|
64
|
-
connector = QingCloud::SDK::Client::Connector.init
|
65
|
-
|
66
|
-
)
|
69
|
+
connector = QingCloud::SDK::Client::Connector.init 'qy_access_key_id',
|
70
|
+
'qy_secret_access_key'
|
67
71
|
|
68
72
|
service = QingCloud::SDK::Client::Service.new connector
|
69
73
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qingcloud-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peng Jingwen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|