solusvm 2.0.0.beta1 → 2.0.0.beta2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db4b3b950573ce517e0c15de049ba58816bdab54
4
- data.tar.gz: 31c21622c214c66e4f4f60c6af9560fa5e530f17
3
+ metadata.gz: 6f5525c9a9ca9993cf379b33d2fd8dea7703202f
4
+ data.tar.gz: c3573a14598c88ba6580b3aae59b90d05a253dd7
5
5
  SHA512:
6
- metadata.gz: 6c1adec97375ad830ca77c3849c8840ccf1f293e353bd77678f500cf3eca001a9a33ee8c79b8c631a10b33fd66bc3478a204f77d9d18e119a9b4ed6063c6a345
7
- data.tar.gz: 3e5701afdfa513977a781723997622070b5f44a6a02e69c3a8bcf19115297ad868480cad7360deb5f3553e8bcae029fff6c919721ae0deb3a648ee7ebfb750c6
6
+ metadata.gz: baa5a2ed6befc61fd612e9f00f0f2c1e48ec4e73418fa1eceb1471a6a83e4553760adc75cd1ad5bb7a64a7a4e232f8a30decd507b7b86b37dcbe884504b547ba
7
+ data.tar.gz: d7ffb735a072023886f597860cf71fd2b3cafa9d998af405314d2e314fd245b833d69fa7587527b3fd621dd9e925193eed37c4b94c6578c09502a7f15384203a
@@ -96,7 +96,6 @@ Tasks:
96
96
  solusvm server addip VSERVERID # Adds an ip to the server
97
97
  solusvm server boot VSERVERID # Boots up a server
98
98
  solusvm server change-bootorder VSERVERID BOOTORDER # Changes the boot order of a server [cd(Hard Disk CDROM)|dc(CDROM Hard Disk)|c(Hard Di...
99
- solusvm server change-consolepass VSERVERID NEWPASSWORD # Changes the console password of a server
100
99
  solusvm server change-hostname VSERVERID HOSTNAME # Changes the hostname of a server
101
100
  solusvm server change-owner VSERVERID CLIENTID # Changes the owner of a server
102
101
  solusvm server change-plan VSERVERID NEWPLAN # Changes the plan of a server
@@ -36,11 +36,6 @@ module SolusVM
36
36
  output api.change_owner(vserverid, clientid)
37
37
  end
38
38
 
39
- desc "change-consolepass VSERVERID NEWPASSWORD", "Changes the console password of a server"
40
- def change_consolepass(vserverid, newpassword)
41
- output api.change_consolepass(vserverid, newpassword)
42
- end
43
-
44
39
  desc "change-vncpass VSERVERID NEWPASSWORD", "Changes the vnc password of a server"
45
40
  def change_vncpass(vserverid, newpassword)
46
41
  output api.change_vncpass(vserverid, newpassword)
@@ -207,16 +207,6 @@ module SolusVM
207
207
  perform_request(action: 'vserver-changeowner', vserverid: vid, clientid: client_id)
208
208
  end
209
209
 
210
- # Public: Changes server console password.
211
- #
212
- # vid - The virtual server ID in SolusVM
213
- # new_password - The new console password
214
- #
215
- # Returns true if the server's console password was successfully changed.
216
- def change_consolepass(vid, new_password)
217
- perform_request(action: 'vserver-consolepass', vserverid: vid, consolepassword: new_password)
218
- end
219
-
220
210
  # Public: Changes server VNC password.
221
211
  #
222
212
  # vid - The virtual server ID in SolusVM
@@ -1,3 +1,3 @@
1
1
  module SolusVM
2
- VERSION = "2.0.0.beta1"
2
+ VERSION = "2.0.0.beta2"
3
3
  end
@@ -40,16 +40,6 @@ class TestServerCLI < Test::Unit::TestCase
40
40
  SolusVM::CLI.start(cli_expand_base_arguments(["server", "change-owner", "thevserverid", "thenewowner"]))
41
41
  end
42
42
 
43
- def test_should_delegate_server_change_consolepass_to_server
44
- SolusVM::Server.stubs(:new).with(@solusvm_params).returns(mock do
45
- expects(:successful?).returns(true)
46
- expects(:change_consolepass).with("thevserverid", "thenewpass").returns("theresult")
47
- end)
48
-
49
- $stdout.expects(:puts).with("theresult")
50
- SolusVM::CLI.start(cli_expand_base_arguments(["server", "change-consolepass", "thevserverid", "thenewpass"]))
51
- end
52
-
53
43
  def test_should_delegate_server_change_vncpass_to_server
54
44
  SolusVM::Server.stubs(:new).with(@solusvm_params).returns(mock do
55
45
  expects(:successful?).returns(true)
@@ -167,14 +167,6 @@ class TestServer < Test::Unit::TestCase
167
167
  assert @server.successful?
168
168
  end
169
169
 
170
- def test_change_consolepass
171
- pend do
172
- stub_response 'server/change-consolepass'
173
-
174
- assert @server.change_consolepass(1, 'thepassword')
175
- end
176
- end
177
-
178
170
  def test_change_vncpass
179
171
  stub_response 'server/change-vncpass'
180
172
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solusvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta1
4
+ version: 2.0.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Mazzi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-11 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor