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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 946888930e268351c2db3f39e9972e7700d28db5
4
- data.tar.gz: cf4ae887f2ce883c3ae311ebec4f7f3dcebc4c08
3
+ metadata.gz: bba531259ee98cf5eeacf1e606b6f2ae55e2ed0e
4
+ data.tar.gz: 8fb5861b308b26a291a1ca5dd5fea44a6bee5d67
5
5
  SHA512:
6
- metadata.gz: 1458f12d1e9101ce82daa0d4d425f67ba8216836b0f6a476ee8728530418ec654fefab07683091d0119a83529d8d3bee7586b88547e0d0fca75e09eb33579160
7
- data.tar.gz: 467edfb57be03fcb22246a94bab1c35765e5b453ff0ca632aee6462df0e8fd8a32618cd69810584efb7b639271dd09a653a07878f57a1baed55e72b53ee55028
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
@@ -1,4 +1,4 @@
1
1
  module Escualo
2
- VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
3
  BASE_VERSION = '3.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escualo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli