conoha 0.9.3 → 0.9.4

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: 3f5266895c3c98745e194b4e17f7476f6d6ca4b6
4
- data.tar.gz: 5f82c4aa52832bc8565a8b70508e4e08abfc7973
3
+ metadata.gz: 8af00cb372329f8b9a76cf18acb88c06c7f3a6ec
4
+ data.tar.gz: e7aa897f0968d9ab701c33bb9dd378dab14d629e
5
5
  SHA512:
6
- metadata.gz: a1625910c7dae949bc98ab1a1d5cc2548ebb1e1cb4aa93831a03f38c0f72f38f7e41aa06cba5dfc97f1c16c8aaa7c483f7de683303cd7c60c6805e8a820d9abc
7
- data.tar.gz: 57ca23cf8570d4c53855d32bad45ffe48e9f4c1583f7df57600e2faf54a788cecc7289638f48ba664f3d2149a8e8d655f1a73ce567efd20f23ec504c36ebd0ce
6
+ metadata.gz: ffc85413f6ed1201e7d75b9ca7d9c2b64da509a90c5e3174e44fab6416044f6b89440e4a9431274bc48365613d0b60868a4866a81b84acbd352f5141589706bf
7
+ data.tar.gz: 3e37657e2eb684c45922fee3aa5d630637a14b41b3b3ec4e8413803a8b0584346f09c04cd0b7938985551fdaf5711ad522155378f5c2f35125b143f6e50e6719
data/README.md CHANGED
@@ -181,6 +181,7 @@ conoharant browse 3000
181
181
  conoharant halt
182
182
  conoharant shutdown
183
183
  conoharant destroy
184
+ conoharant ipaddress
184
185
  ```
185
186
 
186
187
  ## Experimental feature: multiple accounts management
@@ -242,6 +242,9 @@ when 'sftp'
242
242
  command = "sftp #{ipaddress}"
243
243
  puts command
244
244
  system command
245
+ when 'ipaddress'
246
+ server_id = status['id']
247
+ puts ipv4(Conoha.ip_address_of(server_id))
245
248
  else
246
249
  STDERR.puts 'Invalid argument.'
247
250
  exit 1
@@ -1,3 +1,3 @@
1
1
  module ConohaVersion
2
- ITSELF = "0.9.3"
2
+ ITSELF = "0.9.4"
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.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-26 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler