escualo 3.1.0 → 3.1.1
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 +4 -4
- data/lib/escualo/ruby.rb +5 -2
- data/lib/escualo/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: bba531259ee98cf5eeacf1e606b6f2ae55e2ed0e
|
|
4
|
+
data.tar.gz: 8fb5861b308b26a291a1ca5dd5fea44a6bee5d67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51c530e64989c20642c703db0cee13feef72077c8a82e9a1fa81fc4944420e866c6fd25c8bc656f54925d226b00e4f479760435ae2ff55c2b7dae857d06fac28
|
|
7
|
+
data.tar.gz: e601aba81524c5c81437c3cc4f6ffff9a0a7da0ba13bacd51b265a3d637eb79903c041b10f5bb354d8817f54e10ba7fd5cadca50174d7ef2e630a7124c50d887
|
data/lib/escualo/ruby.rb
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
module Escualo
|
|
2
2
|
module Ruby
|
|
3
3
|
def self.install(session, options)
|
|
4
|
+
if options.with_native_ruby
|
|
5
|
+
puts "[Escualo] Using native ruby. Not installing it."
|
|
6
|
+
return
|
|
7
|
+
end
|
|
8
|
+
|
|
4
9
|
session.tell! 'apt-get purge libruby* -y'
|
|
5
10
|
if options.with_rbenv
|
|
6
11
|
session.tell_all! 'curl https://raw.githubusercontent.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash',
|
|
@@ -9,8 +14,6 @@ module Escualo
|
|
|
9
14
|
session.tell_all! 'rbenv install 2.3.1',
|
|
10
15
|
'rbenv global 2.3.1',
|
|
11
16
|
'rbenv rehash'
|
|
12
|
-
elsif options.with_native_ruby
|
|
13
|
-
puts "[Escualo] Using native ruby. Not installing it."
|
|
14
17
|
else
|
|
15
18
|
Escualo::AptGet.install session, 'ruby2.3 ruby2.3-dev'
|
|
16
19
|
end
|
data/lib/escualo/version.rb
CHANGED