escualo 3.0.2 → 3.1.0

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: 80cca442313a2be2fb5e114ff25803b71725a327
4
- data.tar.gz: 0816ea3ae0a4b8fc2e5951d7a00f0d4036b8fe62
3
+ metadata.gz: 946888930e268351c2db3f39e9972e7700d28db5
4
+ data.tar.gz: cf4ae887f2ce883c3ae311ebec4f7f3dcebc4c08
5
5
  SHA512:
6
- metadata.gz: 93218fa883eb1239e339b60a15e738084ef48565dfb9f5008bb73169165631042d08cb71efbd7707b5214d9e3c695488ad622e458e46f9ec06a4ebc3a913014a
7
- data.tar.gz: ad1e7556aca2877340186dfd0f1245b06d88b679835a6ccfeaf094e253eeab275415161d63a1f8ce402adb9ea9105f3913583a4372a9061bafbed0e47c2242b7
6
+ metadata.gz: 1458f12d1e9101ce82daa0d4d425f67ba8216836b0f6a476ee8728530418ec654fefab07683091d0119a83529d8d3bee7586b88547e0d0fca75e09eb33579160
7
+ data.tar.gz: 467edfb57be03fcb22246a94bab1c35765e5b453ff0ca632aee6462df0e8fd8a32618cd69810584efb7b639271dd09a653a07878f57a1baed55e72b53ee55028
@@ -4,6 +4,8 @@ command 'bootstrap' do |c|
4
4
  c.option '--swap', TrueClass, 'Setup swap?'
5
5
  c.option '--env ENVIRONMENT', String, 'Environment. Valid options are development and production. default is production'
6
6
  c.option '--with-rbenv', TrueClass, 'Use rbenv instead of native ruby installation'
7
+ c.option '--with-native-ruby', TrueClass, "Don't install ruby. Use native installation instead"
8
+
7
9
 
8
10
  c.session_action do |_args, options, session|
9
11
  options.default env: 'production'
data/lib/escualo/ruby.rb CHANGED
@@ -9,6 +9,8 @@ module Escualo
9
9
  session.tell_all! 'rbenv install 2.3.1',
10
10
  'rbenv global 2.3.1',
11
11
  'rbenv rehash'
12
+ elsif options.with_native_ruby
13
+ puts "[Escualo] Using native ruby. Not installing it."
12
14
  else
13
15
  Escualo::AptGet.install session, 'ruby2.3 ruby2.3-dev'
14
16
  end
@@ -1,4 +1,4 @@
1
1
  module Escualo
2
- VERSION = '3.0.2'
2
+ VERSION = '3.1.0'
3
3
  BASE_VERSION = '3.3'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escualo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-30 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander