unit-hosting 0.2.2 → 0.3.0
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.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/VERSION +1 -1
- data/lib/unit-hosting/api/vm.rb +6 -3
- data/unit-hosting.gemspec +5 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec17cd34e6b89c6a5f2523642aff61d6679be69f
|
|
4
|
+
data.tar.gz: c583063489785336bc561a86da2fd17c1847fc0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb1835afbf3be6b2f4f3d3573cfc37cd91972b51850728b8726b68ed8923919f69c80a6852467c491ade8ae1784521000eac67bb47f57c945bf6c1cf4dd6774f
|
|
7
|
+
data.tar.gz: 73a2ac8b991af6628ec6382ea3c1e6a0f308c6fbaa94ff1f930a63a68d22c9d1eb866b8e2387b76f6f869118c64dfeaa006bd16eafddefffd0d0e4a3da8743da
|
data/README.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.3.0
|
data/lib/unit-hosting/api/vm.rb
CHANGED
|
@@ -61,9 +61,12 @@ module UnitHosting
|
|
|
61
61
|
def unplugVif vif_uuid
|
|
62
62
|
server_call("vm.unplugVif",{"vif_uuid" => vif_uuid})
|
|
63
63
|
end
|
|
64
|
-
|
|
64
|
+
def set_vm_data(key,val)
|
|
65
|
+
server_call("vm.setVmData",{"key" =>key,"value" =>val})
|
|
66
|
+
end
|
|
67
|
+
def get_vm_data(key)
|
|
68
|
+
server_call("vm.getVmData",{"key" =>key})
|
|
69
|
+
end
|
|
65
70
|
end
|
|
66
71
|
end
|
|
67
72
|
end
|
|
68
|
-
|
|
69
|
-
|
data/unit-hosting.gemspec
CHANGED
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
+
# stub: unit-hosting 0.3.0 ruby lib
|
|
5
6
|
|
|
6
7
|
Gem::Specification.new do |s|
|
|
7
8
|
s.name = "unit-hosting"
|
|
8
|
-
s.version = "0.
|
|
9
|
+
s.version = "0.3.0"
|
|
9
10
|
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
|
+
s.require_paths = ["lib"]
|
|
11
13
|
s.authors = ["Yoshihiro TAKAHARA"]
|
|
12
|
-
s.date = "
|
|
14
|
+
s.date = "2014-02-02"
|
|
13
15
|
s.description = "This is a command to manage virtual servers on UnitHosting(http://www.unit-hosting.com)."
|
|
14
16
|
s.email = "y.takahara@gmail.com"
|
|
15
17
|
s.executables = ["unit-hosting"]
|
|
@@ -43,8 +45,7 @@ Gem::Specification.new do |s|
|
|
|
43
45
|
]
|
|
44
46
|
s.homepage = "http://github.com/tumf/unit-hosting"
|
|
45
47
|
s.licenses = ["MIT"]
|
|
46
|
-
s.
|
|
47
|
-
s.rubygems_version = "2.0.3"
|
|
48
|
+
s.rubygems_version = "2.2.1"
|
|
48
49
|
s.summary = "unit-hosting command line tool"
|
|
49
50
|
|
|
50
51
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unit-hosting
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yoshihiro TAKAHARA
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-02-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mutter
|
|
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
215
215
|
version: '0'
|
|
216
216
|
requirements: []
|
|
217
217
|
rubyforge_project:
|
|
218
|
-
rubygems_version: 2.
|
|
218
|
+
rubygems_version: 2.2.1
|
|
219
219
|
signing_key:
|
|
220
220
|
specification_version: 4
|
|
221
221
|
summary: unit-hosting command line tool
|