vps_cli 0.1.14 → 0.1.15

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
  SHA256:
3
- metadata.gz: c01e5f3ac83a115d12574ff302993ed2455906c88c4c472071e4be06368db4ca
4
- data.tar.gz: c6b93c8fef7849deef74dd3816632d37c4d3b167518d3cdb6da52e920e0fdd9e
3
+ metadata.gz: 004c966b19ce06f688cc02842770b242bb8c99edf8edabda54c9b09a6988ac30
4
+ data.tar.gz: 59bc82def49a38cfa796a7aa1870da099ef093af13c3dca342f114a2e011bd83
5
5
  SHA512:
6
- metadata.gz: 59bd835a1bddc9381b7f2e2bb751b7a9cfd8d0c78cccb2f26098c23e5a01cb451541674ba6386966600be180120712f487cedc0d50231fc3ad62a57b221076f0
7
- data.tar.gz: 2619324f07eb7b020643ae0773c6702e148ce0198436a9dbf31422a4839c1caa8ca0191f0a3793ab25d42daaec4597ad1c62ada06e0c1f01791d50091b960ab9
6
+ metadata.gz: a0a3de20b7e07936279f71b20354ef75d3a351b02263be5ae9d9a17544ed210598198f543d9ddd673b00bcaf7d25c145efe5bb3b57fb68ee9902c2788198c416
7
+ data.tar.gz: a9b40b26362b876eb32cdb1db54cc72d5c07ebd343fabacb4d166c19ff7546cd2a9204155d52ffddf90c8a3552c1fcdaf8b1707679225f73b3bb5ec287df8400
@@ -14,11 +14,7 @@ module VpsCli
14
14
  return
15
15
  end
16
16
 
17
- begin
18
- all_install
19
- rescue RuntimeError => e
20
- VpsCli.errors << e
21
- end
17
+ all_install
22
18
  end
23
19
 
24
20
  # Runs through multiple methods listed below
@@ -63,8 +59,8 @@ module VpsCli
63
59
  def self.packages
64
60
  Packages::UBUNTU.each do |item|
65
61
  Rake.sh("sudo apt-get install -y #{item}")
66
- rescue StandardError => e
67
- VpsCli.errors << e.msg("Unable to install #{item}")
62
+ rescue StandardError
63
+ VpsCli.errors << StandardError.new("Unable to install #{item}")
68
64
  end
69
65
 
70
66
  puts 'Successfully completed apt-get install on all packages.'
@@ -106,8 +102,8 @@ module VpsCli
106
102
 
107
103
  pkgs.each do |pkg|
108
104
  Rake.sh("sudo apt-get install #{pkg} -y")
109
- rescue StandardError => e
110
- VpsCli.errors << e.msg("unable to install #{pkg}")
105
+ rescue StandardError
106
+ VpsCli.errors << StandardError.new("unable to install #{pkg}")
111
107
  end
112
108
 
113
109
  Rake.sh('sudo npm install -g npm')
@@ -1,3 +1,3 @@
1
1
  module VpsCli
2
- VERSION = "0.1.14"
2
+ VERSION = "0.1.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vps_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - paramagicdev