sys_libs 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sys_libs.rb +15 -13
- data/lib/sys_libs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0114aa859b740921b80c1bf96fa4da2043204076
|
4
|
+
data.tar.gz: 33510006b8259bae1679c90dba01b77e970e48b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f8708aec0d9d9c4991786c78ad867bec554641e059f3fb366f6753ef975b961cb2fe221f17efa3308e3a83821933e050ef0146b137a2cd344af51d6dda0276
|
7
|
+
data.tar.gz: 4bf140192dbb2c42172f5c64e3a484345ca3c9d01d4af013488294cfc8a9bba532f824ceb89f6a98fef10276075777d554f0ba561aad26ea696a59cd114b9426
|
data/lib/sys_libs.rb
CHANGED
@@ -50,19 +50,21 @@ module SysLibs
|
|
50
50
|
key["dependencies"].each do |d|
|
51
51
|
puts d["name"]
|
52
52
|
end
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
when "
|
59
|
-
system("
|
60
|
-
when "
|
61
|
-
system("apt-get install "+ d["name"])
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
53
|
+
#This is the bonus part regarding installing the missing libs
|
54
|
+
#It was not tested as I had technical issues with my machine so I just commented it
|
55
|
+
# puts "Trying to download the required libs..."
|
56
|
+
# key["dependencies"].each do |d|
|
57
|
+
# case key["os"]
|
58
|
+
# when "mac"
|
59
|
+
# system("brew install "+ d["name"])
|
60
|
+
# when "linux"
|
61
|
+
# system("apt-get install "+ d["name"])
|
62
|
+
# when "unix"
|
63
|
+
# system("apt-get install "+ d["name"])
|
64
|
+
# else
|
65
|
+
# puts "It is recommended you download those libs before proceeding."
|
66
|
+
# end
|
67
|
+
# end
|
66
68
|
end
|
67
69
|
end
|
68
70
|
end
|
data/lib/sys_libs/version.rb
CHANGED