conoha 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Guardfile +15 -0
- data/conoha.gemspec +4 -0
- data/lib/conoha.rb +2 -1
- data/lib/conoha/version.rb +1 -1
- metadata +59 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23a302e2a98f7d85cb64145d435fe61524e4eb4b
|
4
|
+
data.tar.gz: 51efd4a1cf521d2193347a4cd2f68fe33277f6e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c5be9acd315ec8077ec66eba2458cc0317e4f9e37322567786d29293173ea082adaee3307840bba7b8b04e3dcd388b622dfc951e28f9421dd712f61f418168d
|
7
|
+
data.tar.gz: f0aecf8e31031cfc3715a2378a52d9247262270d06f18114163528bb9e2aa0aa652a8d6e84bb8a497b05286f19ab1bc566fbe290d36c0d93d4c6ba163911c211
|
data/Guardfile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# vim: ft=ruby
|
2
|
+
|
3
|
+
# @param [String] m1 e.g. 'foo/bar/a' when the matched string is 'lib/foo/bar/a.rb'
|
4
|
+
# @return [String] e.g. 'test/foo/bar/test_a.rb' when m1 is 'foo/bar/a'
|
5
|
+
def lib2test(m1)
|
6
|
+
"test/#{File.dirname m1}/test_#{File.basename m1}.rb"
|
7
|
+
end
|
8
|
+
|
9
|
+
guard :test, cli: '-Itest --notify' do
|
10
|
+
watch('test/test_helper.rb') { 'test' }
|
11
|
+
watch('test/test_conoha.rb')
|
12
|
+
watch('lib/conoha.rb') { 'test/test_conoha.rb' }
|
13
|
+
watch(%r{^test/.+\/test_.+\.rb$})
|
14
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| lib2test m[1] }
|
15
|
+
end
|
data/conoha.gemspec
CHANGED
@@ -21,4 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.10"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency "test-unit", "~> 3.1.3"
|
25
|
+
spec.add_development_dependency "test-unit-notify", "~> 1.0.4"
|
26
|
+
spec.add_development_dependency "guard", "~> 2.13.0"
|
27
|
+
spec.add_development_dependency "guard-test", "~> 2.0.6"
|
24
28
|
end
|
data/lib/conoha.rb
CHANGED
@@ -271,10 +271,11 @@ EOS
|
|
271
271
|
def self.image_ref_from_os(os)
|
272
272
|
dictionary = {
|
273
273
|
'ubuntu' => '2b03327f-d453-4c7d-91c9-8b9924b6ea88', # Ubuntu 14.04 amd64
|
274
|
-
'centos66' => '
|
274
|
+
'centos66' => '14961158-a69c-4af1-b375-b9a72982837d', # CentOS 6.6
|
275
275
|
'centos67' => '91944101-df61-4c41-b7c5-76cebfc48318', # CentOS 6.7
|
276
276
|
'centos71' => 'edc9457e-e4a8-4974-8217-c254d215b460', # CentOS 7.1
|
277
277
|
'arch' => 'b5c921c5-2f71-4cfe-9c5a-5783ce0be87b', # Arch
|
278
|
+
'centos66owncloud' => 'fa67ec7b-b9b4-4633-9012-fc5a6303aba7', # CentOS 6.6 (owncloud 8) (default)
|
278
279
|
}
|
279
280
|
if dictionary.keys.include? os
|
280
281
|
dictionary[os]
|
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.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,62 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: test-unit
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.1.3
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.1.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: test-unit-notify
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.4
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.0.4
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.13.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.13.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-test
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.0.6
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.0.6
|
41
97
|
description: ConoHa VPS CLI Tool
|
42
98
|
email:
|
43
99
|
- ka.kaosf@gmail.com
|
@@ -49,6 +105,7 @@ files:
|
|
49
105
|
- ".gitignore"
|
50
106
|
- ".travis.yml"
|
51
107
|
- Gemfile
|
108
|
+
- Guardfile
|
52
109
|
- LICENSE.txt
|
53
110
|
- README.md
|
54
111
|
- Rakefile
|
@@ -84,4 +141,3 @@ signing_key:
|
|
84
141
|
specification_version: 4
|
85
142
|
summary: ConoHa VPS CLI Tool
|
86
143
|
test_files: []
|
87
|
-
has_rdoc:
|