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 +4 -4
- data/lib/commands/bootstrap.rb +2 -0
- data/lib/escualo/ruby.rb +2 -0
- data/lib/escualo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 946888930e268351c2db3f39e9972e7700d28db5
|
4
|
+
data.tar.gz: cf4ae887f2ce883c3ae311ebec4f7f3dcebc4c08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1458f12d1e9101ce82daa0d4d425f67ba8216836b0f6a476ee8728530418ec654fefab07683091d0119a83529d8d3bee7586b88547e0d0fca75e09eb33579160
|
7
|
+
data.tar.gz: 467edfb57be03fcb22246a94bab1c35765e5b453ff0ca632aee6462df0e8fd8a32618cd69810584efb7b639271dd09a653a07878f57a1baed55e72b53ee55028
|
data/lib/commands/bootstrap.rb
CHANGED
@@ -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
|
data/lib/escualo/version.rb
CHANGED
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
|
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:
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|