unit-hosting 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -16,8 +16,8 @@ module UnitHosting
16
16
  server_call("vmGroup.getVms")
17
17
  end
18
18
  def vm_api_key instance_id
19
- server_call("vmGroup.getVms").each do |vm|
20
- return vm["api_key"] if vm[instance_id] == instance_id
19
+ vms.each do |vm|
20
+ return vm["api_key"] if vm["instance_id"] == instance_id
21
21
  end
22
22
  end
23
23
  # instance_idに紐づくvmを返す
data/unit-hosting.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{unit-hosting}
8
- s.version = "0.0.6"
8
+ s.version = "0.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yoshihiro TAKAHARA"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unit-hosting
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yoshihiro TAKAHARA