qc.rb 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/qc.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f4bae9f70f39beea8f5bc85e67726890219308b
4
- data.tar.gz: 201905bdd1341187c2365d7aa7d02d93f27f8b26
3
+ metadata.gz: e43aef3b3a8df7954b9526722c6a719b580c8a99
4
+ data.tar.gz: a0d66dc846228f27ec97136d2e564a407f5143f6
5
5
  SHA512:
6
- metadata.gz: 003faec680c06f035e6ba9882a816fd05079cd4646ee569c7bee51151dab9407bf20db0a2ab833b9c70580999ac18ecc7f49f09036f44372be5f446171025a52
7
- data.tar.gz: 9e4f47fcb21364fcfe79ea9a4160edbb456db31e8f423bdc0eab8b207206db7ea879ef605a534ceb4e048d40bee656b41e3e559d79c0c1dc1e856bfa3979cdcc
6
+ metadata.gz: bd700ca5baf8f6ce9853ee5691528575806f72c6f25ddb0eca10c470cbc491a1342924400d219142947c27160d19da572df9e0722ec88490376ab701190aa411
7
+ data.tar.gz: 9c35bb98e743aa179c6c705e06c98affef9c2915b9f2ec554f49b37d811cccf20c1a7e0a989807f01151ab74718971e18e0c8d8c7c16fa4400774bcaaa72ce29
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.4'
10
+ VERSION = '0.0.5'
11
11
 
12
12
  def QC.load_config key
13
13
  f = File.expand_path('~/.qingcloud/config.yaml')
@@ -95,7 +95,7 @@ module QC
95
95
  class Instance < DataType
96
96
  @identifier = 'Instance'
97
97
 
98
- def Instance.run p = {image_id: 'trustysrvx64', instance_name: nil, count: 1, login_mode: 'keypair',
98
+ def Instance.run p = {image_id: 'trustysrvx64a', instance_name: nil, count: 1, login_mode: 'keypair',
99
99
  login_keypair: nil, login_passwd: nil, security_group: nil, zone: nil, instance_type: 'small_a'}
100
100
  p[:image_id] = 'trustysrvx64' if p[:image_id].nil?
101
101
  p[:login_mode] = 'keypair' if p[:login_mode].nil?
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
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bovensiepen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-04 00:00:00.000000000 Z
11
+ date: 2014-05-18 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