qc.rb 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qc.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f20be01e3b28013b2fb57ff9a534ee0029ed2102
|
4
|
+
data.tar.gz: 1646ec1456aabcba9534db2668c942bfd4b5564a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5da64075250d5b299c95e0881dfd4b25d1ca8870f9de1e37f2309b618f6de10c68880afcc953b8de1a003c9d73d311b5765a304a900a0bf9a872ffbf7cc30a0d
|
7
|
+
data.tar.gz: c2963b193f9f9779a622334c5ce30e33160b6c21b984bc6e30dfe2abe15de622f7990890d7b26f19f04226a0237c5cd8220b23649b8523d7a5f51615ad44d267
|
data/lib/qc.rb
CHANGED
@@ -7,7 +7,7 @@ require 'yaml'
|
|
7
7
|
require 'fileutils'
|
8
8
|
|
9
9
|
module QC
|
10
|
-
VERSION = '0.0.
|
10
|
+
VERSION = '0.0.10'
|
11
11
|
|
12
12
|
def QC.load_config key
|
13
13
|
f = File.expand_path('~/.qingcloud/config.yaml')
|
@@ -93,7 +93,7 @@ module QC
|
|
93
93
|
end
|
94
94
|
|
95
95
|
class Instance < DataType
|
96
|
-
DEFAULT_IMAGE_ID = '
|
96
|
+
DEFAULT_IMAGE_ID = 'xenialx64a'
|
97
97
|
@identifier = 'Instance'
|
98
98
|
|
99
99
|
def Instance.run p = {image_id: DEFAULT_IMAGE_ID, instance_name: nil, count: 1, login_mode: 'keypair',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qc.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Bovensiepen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: QingCloud API Library to handle instances, networks, internetconnections,
|
14
14
|
etc. on QingCloud.com
|
@@ -33,12 +33,12 @@ require_paths:
|
|
33
33
|
- lib
|
34
34
|
required_ruby_version: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- -
|
36
|
+
- - ">="
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '0'
|
39
39
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|