solusvm 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rbenv-version +1 -1
- data/bin/solusvm +6 -0
- data/lib/solusvm/server.rb +0 -1
- data/lib/solusvm/version.rb +1 -1
- metadata +60 -87
data/.rbenv-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.2-p290
|
data/bin/solusvm
CHANGED
@@ -113,10 +113,16 @@ else
|
|
113
113
|
:username => opts[:username], :template => opts[:template], :node => opts[:node])
|
114
114
|
when 'server-status'
|
115
115
|
p server.status(ARGV[0])
|
116
|
+
when 'server-changeplan'
|
117
|
+
p server.change_plan(ARGV[0], ARGV[1])
|
118
|
+
when 'server-addip'
|
119
|
+
p server.add_ip(ARGV[0])
|
116
120
|
when 'server-boot'
|
117
121
|
p server.boot(ARGV[0])
|
118
122
|
when 'server-reboot'
|
119
123
|
p server.reboot(ARGV[0])
|
124
|
+
when 'server-shutdown'
|
125
|
+
p server.shutdown(ARGV[0])
|
120
126
|
when 'server-suspend'
|
121
127
|
p server.suspend(ARGV[0])
|
122
128
|
when 'server-resume'
|
data/lib/solusvm/server.rb
CHANGED
data/lib/solusvm/version.rb
CHANGED
metadata
CHANGED
@@ -1,91 +1,68 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: solusvm
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.10.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 9
|
9
|
-
- 0
|
10
|
-
version: 0.9.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Justin Mazzi
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 3
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
version_requirements: *id001
|
12
|
+
date: 2012-01-09 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
32
15
|
name: xml-simple
|
33
|
-
|
34
|
-
type: :runtime
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &19915180 !ruby/object:Gem::Requirement
|
37
17
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
|
43
|
-
- 0
|
44
|
-
version: "0"
|
45
|
-
version_requirements: *id002
|
46
|
-
name: redgreen
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
47
23
|
prerelease: false
|
48
|
-
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
|
24
|
+
version_requirements: *19915180
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: redgreen
|
27
|
+
requirement: &19913520 !ruby/object:Gem::Requirement
|
51
28
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
|
57
|
-
- 0
|
58
|
-
version: "0"
|
59
|
-
version_requirements: *id003
|
60
|
-
name: fakeweb
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :development
|
61
34
|
prerelease: false
|
35
|
+
version_requirements: *19913520
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: fakeweb
|
38
|
+
requirement: &19912580 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
62
44
|
type: :development
|
63
|
-
|
64
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *19912580
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: &19911300 !ruby/object:Gem::Requirement
|
65
50
|
none: false
|
66
|
-
requirements:
|
51
|
+
requirements:
|
67
52
|
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
hash: 49
|
70
|
-
segments:
|
71
|
-
- 0
|
72
|
-
- 8
|
73
|
-
- 7
|
53
|
+
- !ruby/object:Gem::Version
|
74
54
|
version: 0.8.7
|
75
|
-
version_requirements: *id004
|
76
|
-
name: rake
|
77
|
-
prerelease: false
|
78
55
|
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *19911300
|
79
58
|
description: Solusvm allows for easy interaction with the SolusVM Admin::API.
|
80
|
-
email:
|
59
|
+
email:
|
81
60
|
- jmazzi@gmail.com
|
82
|
-
executables:
|
61
|
+
executables:
|
83
62
|
- solusvm
|
84
63
|
extensions: []
|
85
|
-
|
86
64
|
extra_rdoc_files: []
|
87
|
-
|
88
|
-
files:
|
65
|
+
files:
|
89
66
|
- .document
|
90
67
|
- .gitignore
|
91
68
|
- .rbenv-version
|
@@ -140,41 +117,37 @@ files:
|
|
140
117
|
- test/test_hash.rb
|
141
118
|
- test/test_server.rb
|
142
119
|
- test/test_solusvm.rb
|
143
|
-
has_rdoc: true
|
144
120
|
homepage: http://www.site5.com
|
145
121
|
licenses: []
|
146
|
-
|
147
122
|
post_install_message:
|
148
123
|
rdoc_options: []
|
149
|
-
|
150
|
-
require_paths:
|
124
|
+
require_paths:
|
151
125
|
- lib
|
152
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
127
|
none: false
|
154
|
-
requirements:
|
155
|
-
- -
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
|
158
|
-
segments:
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
segments:
|
159
133
|
- 0
|
160
|
-
|
161
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
hash: 3896287194390766394
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
136
|
none: false
|
163
|
-
requirements:
|
164
|
-
- -
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
|
167
|
-
segments:
|
137
|
+
requirements:
|
138
|
+
- - ! '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
segments:
|
168
142
|
- 0
|
169
|
-
|
143
|
+
hash: 3896287194390766394
|
170
144
|
requirements: []
|
171
|
-
|
172
145
|
rubyforge_project: solusvm
|
173
|
-
rubygems_version: 1.
|
146
|
+
rubygems_version: 1.8.10
|
174
147
|
signing_key:
|
175
148
|
specification_version: 3
|
176
149
|
summary: Wrapper for the SolusVM Admin::API
|
177
|
-
test_files:
|
150
|
+
test_files:
|
178
151
|
- test/fixtures/base_bad_key.txt
|
179
152
|
- test/fixtures/base_node_does_not_exist.txt
|
180
153
|
- test/fixtures/base_unauthorized_ip.txt
|