unit-hosting 0.0.6 → 0.0.7
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.
- data/VERSION +1 -1
- data/lib/unit-hosting/api/vm_group.rb +2 -2
- data/unit-hosting.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
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
|
-
|
|
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
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:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.0.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Yoshihiro TAKAHARA
|