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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31ec5261016745ae27ce4804e4935aa00c00e299
4
- data.tar.gz: d255da18a9a141611113e9e83753e15682da58a6
3
+ metadata.gz: 23a302e2a98f7d85cb64145d435fe61524e4eb4b
4
+ data.tar.gz: 51efd4a1cf521d2193347a4cd2f68fe33277f6e8
5
5
  SHA512:
6
- metadata.gz: fb9540ec00d4c6e0936949c6e228b3876255aff6539a9512d2e0451f7aeb7beaf41f3d8956e5501477441f93408c662f88c081f35edcf1948bd812127b16b5dc
7
- data.tar.gz: 9a3e44b50304c391b69eae9d99ed3f33d7e997ab818888dab00844c04cb1816514013f5ea8472dd9503c30d0d87c501109c2a7c37cbc812c0d5a2147f2dbd9e0
6
+ metadata.gz: 7c5be9acd315ec8077ec66eba2458cc0317e4f9e37322567786d29293173ea082adaee3307840bba7b8b04e3dcd388b622dfc951e28f9421dd712f61f418168d
7
+ data.tar.gz: f0aecf8e31031cfc3715a2378a52d9247262270d06f18114163528bb9e2aa0aa652a8d6e84bb8a497b05286f19ab1bc566fbe290d36c0d93d4c6ba163911c211
@@ -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
@@ -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
@@ -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' => 'fa67ec7b-b9b4-4633-9012-fc5a6303aba7', # CentOS 6.6 (owncloud 8) (default)
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]
@@ -1,3 +1,3 @@
1
1
  module ConohaVersion
2
- ITSELF = "0.0.4"
2
+ ITSELF = "0.0.5"
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.0.4
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-07 00:00:00.000000000 Z
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: