conoha 0.2.6 → 0.2.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03353f492b6da1dd0573dde9aa548e8c1318bbe8
4
- data.tar.gz: 4210af6f212403a1431b06624c1f899586508f2a
3
+ metadata.gz: dee48c95b112698cf3cdf4493ffb041f03f2f34b
4
+ data.tar.gz: 39b761ea243fc49d5b4b4aec7a4a1b5183bc08b3
5
5
  SHA512:
6
- metadata.gz: f73ac1d7c15fe151d02c058446d08330bdf270cecbb6d72989cd317bec17e2e0c6907c5eb2dcdd17564f7b62e1526d81e9508624b008ddf3151120b7f41092d9
7
- data.tar.gz: cd2e4221a66e70a2b3eb8b3613133cd424c518101ee0ea83ee22e50bcf759abf2fa9200615d2fcb872dcdd36126f6cb1804916bab529d45d9643ed744b74c173
6
+ metadata.gz: 136d87e20fedd70567339f7b221dc942fd97cd5f7d99fb60e6429c18436a853a2d5d966dc8896c7edf737fb52990af7e2681d30f360e71f8f8e23c0053fd2524
7
+ data.tar.gz: 4a22ba340d6a20956730b022e9f651ca9b3a0b4248676473f932a6386569b30db2f57d867c86a330e7e2ba112007bb1277264699d8444b390271e0fd70660e6e
data/README.md CHANGED
@@ -64,6 +64,9 @@ conoha vpslist
64
64
  # Check VPS IPv4 address
65
65
  conoha ipaddress 01234567-89ab-cdef-0123-456789abcdef
66
66
 
67
+ # Check VPS status
68
+ conoha status 01234567-89ab-cdef-0123-456789abcdef
69
+
67
70
  # Shutdown VPS
68
71
  conoha shutdown 01234567-89ab-cdef-0123-456789abcdef
69
72
 
data/exe/conoha CHANGED
@@ -38,6 +38,9 @@ when 'authenticate'
38
38
  puts 'Succeeded!'
39
39
  when 'vpslist'
40
40
  pp Conoha.vps_list
41
+ when 'status'
42
+ exit 1 if ARGV.size != 1
43
+ pp Conoha.status_of server_id(ARGV.first)
41
44
  when 'ipaddress'
42
45
  exit 1 if ARGV.size != 1
43
46
  pp Conoha.ip_address_of server_id(ARGV.first)
@@ -1,3 +1,3 @@
1
1
  module ConohaVersion
2
- ITSELF = "0.2.6"
2
+ ITSELF = "0.2.7"
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.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2015-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler