conoha 0.6.0 → 0.6.1

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/conoharant +10 -9
  3. data/lib/conoha/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58af4ba31455d8ed889f00a28ac75a73bebb44fd
4
- data.tar.gz: 4076de65213fd18221b7aa8b8e89ab4040c3e4b9
3
+ metadata.gz: 3dc1e16f98b94045e8e47bd5ac8b47829c039b05
4
+ data.tar.gz: a12ec22930adedd6657e9bc50cc3af031c18e925
5
5
  SHA512:
6
- metadata.gz: 8e5d97aaf9e83c26c1d5d848dd4fd4c248229476bfa5cce2692afdf8992b548c06e4121e8073f5b9c24b3457da083b3c92df57d9f6bc32bf36a3798ae95b5160
7
- data.tar.gz: 50eac0ed9d968723bf7fc4b63e09a0fc846f85726db0c755388a09642de86f1f6630ddde3053dc1e94a5a5e8ab1eec6a2c325a31cf4358fdd30e6a01954f528d
6
+ metadata.gz: d8118a4c9482bb959fc3fdd9375077c71befb7ab8f054b3f6524333a5762b8e6c6f43dcb0e04c0f2d209903b2d4a15cd181c7b034ee94d711ebd0bf67db6c31d
7
+ data.tar.gz: 1ad06d8818769e52ed7cd730e116eff2ce4f62e1f707e1ccb67aa93bb195b1875073a8287f59985ad9f1a8aec1f1f10827e48e39888b3eae47495b294ef5d8f5
@@ -1,7 +1,16 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ arg = ARGV.first
4
+
5
+ require 'conoha/version'
6
+ case arg
7
+ when 'version', '--version', '-v'
8
+ puts ConohaVersion::ITSELF
9
+ exit 0
10
+ end
11
+
3
12
  unless File.exist? 'Conoharantfile'
4
- if ARGV[0] == 'init'
13
+ if arg == 'init'
5
14
  require 'securerandom'
6
15
  File.open('Conoharantfile', 'w') do |f|
7
16
  f.write(<<EOF
@@ -50,14 +59,6 @@ def dump_conoharant_status(status)
50
59
  end
51
60
  end
52
61
 
53
- require 'conoha/version'
54
- arg = ARGV.first
55
- case arg
56
- when 'version', '--version', '-v'
57
- puts ConohaVersion::ITSELF
58
- exit 0
59
- end
60
-
61
62
  require 'conoha'
62
63
  Conoha.init!
63
64
  begin
@@ -1,3 +1,3 @@
1
1
  module ConohaVersion
2
- ITSELF = "0.6.0"
2
+ ITSELF = "0.6.1"
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-20 00:00:00.000000000 Z
11
+ date: 2016-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler