conoha 0.9.10 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51a70a4f75bfc20f547162044b39b044b1f7005c
4
- data.tar.gz: 4cfeef88a3fc4bb73d2415cd0593f163c1c9d286
3
+ metadata.gz: db68d93da75070b139bc50e3bad0c5cdbc797858
4
+ data.tar.gz: 6434e3250a3905c0294b611af874748d923d0cd4
5
5
  SHA512:
6
- metadata.gz: 576703680fb3b97d2f74bde4a37c2503e8d54fb2434fd24cda8ed1b8967e6af05ff368b67bc177b072bb30043afdae03aa58b650ea009b4bdf672c7b2dbe5699
7
- data.tar.gz: a2d34c7cead07d6a793dc5f52e8f27f42b94e5a3b755873c8754461d1101ca4be93d6d2c787b4eae141eb64c1c200b245be425f7b6f901c62dba87d7acf73e88
6
+ metadata.gz: ecf861e9f3799087c8f1a6b8a89a2356cf7d4e8ebcedbc4e022895c74d544b1208da9f762fa7b8ecec496f49363109dcb7bbf1b46a4bbb88a74b41c8cf8b2a52
7
+ data.tar.gz: 927d7413a91e54020585667fe316f00e8a33e80ebb06cd7b35b69902a288d6ecc24497ee011f9edc6ba089e8f35ed866f6e1a0824fa1d0755837bf91541ee5ad
data/README.md CHANGED
@@ -185,6 +185,7 @@ conoharant browse 3000
185
185
  conoharant halt
186
186
  conoharant shutdown
187
187
  conoharant destroy
188
+ conoharant rebuild
188
189
  conoharant ipaddress
189
190
  ```
190
191
 
@@ -153,6 +153,14 @@ when 'destroy'
153
153
  status['id'] = nil
154
154
  dump_conoharant_status status
155
155
  puts "# OK!"
156
+ when 'rebuild'
157
+ if status['status'] == 'nothing'
158
+ puts "# There is no instance."
159
+ exit 1
160
+ end
161
+ puts "conoha rebuild #{status['id']}"
162
+ Conoha.rebuild status['id'], config['os']
163
+ puts "# OK!"
156
164
  when 'ssh', 'mosh'
157
165
  connection = arg # 'ssh' or 'mosh'
158
166
  if status['status'] != 'running'
@@ -1,3 +1,3 @@
1
1
  module ConohaVersion
2
- ITSELF = "0.9.10"
2
+ ITSELF = "0.10.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conoha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-07 00:00:00.000000000 Z
11
+ date: 2017-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler