conoha 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/exe/conoharant +21 -2
- data/lib/conoha/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58af4ba31455d8ed889f00a28ac75a73bebb44fd
|
4
|
+
data.tar.gz: 4076de65213fd18221b7aa8b8e89ab4040c3e4b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e5d97aaf9e83c26c1d5d848dd4fd4c248229476bfa5cce2692afdf8992b548c06e4121e8073f5b9c24b3457da083b3c92df57d9f6bc32bf36a3798ae95b5160
|
7
|
+
data.tar.gz: 50eac0ed9d968723bf7fc4b63e09a0fc846f85726db0c755388a09642de86f1f6630ddde3053dc1e94a5a5e8ab1eec6a2c325a31cf4358fdd30e6a01954f528d
|
data/README.md
CHANGED
data/exe/conoharant
CHANGED
@@ -1,8 +1,27 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
unless File.exist? 'Conoharantfile'
|
4
|
-
|
5
|
-
|
4
|
+
if ARGV[0] == 'init'
|
5
|
+
require 'securerandom'
|
6
|
+
File.open('Conoharantfile', 'w') do |f|
|
7
|
+
f.write(<<EOF
|
8
|
+
os: centos72
|
9
|
+
# os: centos67
|
10
|
+
# os: ubuntu
|
11
|
+
# os: arch
|
12
|
+
ram: g-1gb
|
13
|
+
# ram: g-2gb
|
14
|
+
# ram: g-4gb
|
15
|
+
# ram: g-8gb
|
16
|
+
tagprefix: randomname#{SecureRandom.uuid[0, 8]}
|
17
|
+
EOF
|
18
|
+
)
|
19
|
+
end
|
20
|
+
exit 0
|
21
|
+
else
|
22
|
+
STDERR.puts "\"Conoharantfile\" doesn't exist."
|
23
|
+
exit 1
|
24
|
+
end
|
6
25
|
end
|
7
26
|
unless Dir.exist? '.conoharant'
|
8
27
|
Dir.mkdir '.conoharant'
|
data/lib/conoha/version.rb
CHANGED
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.
|
4
|
+
version: 0.6.0
|
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-
|
11
|
+
date: 2016-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|