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 CHANGED
@@ -1 +1 @@
1
- 1.8.7-p352
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'
@@ -69,7 +69,6 @@ module Solusvm
69
69
 
70
70
  def rebuild(vid, template)
71
71
  perform_request(:action => 'vserver-rebuild', :vserverid => vid, :template => template)
72
- returned_parameters
73
72
  end
74
73
  end
75
74
  end
@@ -1,3 +1,3 @@
1
1
  module Solusvm
2
- VERSION = "0.9.0"
2
+ VERSION = "0.10.0"
3
3
  end
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
- hash: 59
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
- date: 2011-11-17 00:00:00 -05:00
19
- default_executable:
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
- prerelease: false
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
- hash: 3
42
- segments:
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
- type: :development
49
- - !ruby/object:Gem::Dependency
50
- requirement: &id003 !ruby/object:Gem::Requirement
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
- hash: 3
56
- segments:
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
- - !ruby/object:Gem::Dependency
64
- requirement: &id004 !ruby/object:Gem::Requirement
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
- hash: 3
158
- segments:
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ segments:
159
133
  - 0
160
- version: "0"
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
- hash: 3
167
- segments:
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ segments:
168
142
  - 0
169
- version: "0"
143
+ hash: 3896287194390766394
170
144
  requirements: []
171
-
172
145
  rubyforge_project: solusvm
173
- rubygems_version: 1.6.2
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