rvm-capistrano 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +4 -0
- data/README.md +1 -0
- data/lib/rvm/capistrano/base.rb +2 -2
- data/lib/rvm/capistrano/gemset_import_export.rb +1 -1
- data/lib/rvm/capistrano/helpers/base.rb +1 -1
- data/lib/rvm/capistrano/helpers/rvm_if_sudo.rb +1 -1
- data/lib/rvm/capistrano/helpers/rvm_methods.rb +3 -5
- data/lib/rvm/capistrano/install_pkgs.rb +1 -1
- data/lib/rvm/capistrano/install_ruby.rb +1 -1
- data/lib/rvm/capistrano/install_rvm.rb +1 -1
- data/lib/rvm/capistrano/selector.rb +1 -1
- data/lib/rvm/capistrano/version.rb +1 -1
- metadata +4 -4
data/History.md
CHANGED
data/README.md
CHANGED
@@ -173,6 +173,7 @@ end
|
|
173
173
|
- `:rvm_type` - how to detect rvm, default `:user`
|
174
174
|
- `:user` - RVM installed in `$HOME`, user installation (default)
|
175
175
|
- `:system` - RVM installed in `/usr/local`, multiuser installation
|
176
|
+
- (some other values permitted for backwards compatability only)
|
176
177
|
|
177
178
|
- `:rvm_autolibs_flag` - control autolibs, read more `rvm help autolibs`
|
178
179
|
- `:disable` - fully disable autolibs, limit automated tasks
|
data/lib/rvm/capistrano/base.rb
CHANGED
@@ -3,7 +3,7 @@ require 'rvm/capistrano/helpers/rvm_methods'
|
|
3
3
|
|
4
4
|
rvm_with_capistrano do
|
5
5
|
|
6
|
-
|
6
|
+
deferred_load do
|
7
7
|
_cset :rvm_shell do
|
8
8
|
shell = File.join(rvm_bin_path, "rvm-shell")
|
9
9
|
ruby = fetch(:rvm_ruby_string_evaluated).strip
|
@@ -66,7 +66,7 @@ rvm_with_capistrano do
|
|
66
66
|
|
67
67
|
## not needed in base but are used in many extensions
|
68
68
|
|
69
|
-
|
69
|
+
deferred_load do
|
70
70
|
# Let users set the install shell of their choice
|
71
71
|
_cset(:rvm_install_shell, :bash)
|
72
72
|
end
|
@@ -23,11 +23,9 @@ module Capistrano
|
|
23
23
|
# - use :with_rvm_group => true - to wrap it all in `with_rvm_group(...)` call
|
24
24
|
# - use :with_ruby => 'with_ruby' - to extend to `.../bin/rvm #{with_ruby} do`
|
25
25
|
def run_rvm(command, options={})
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
run_without_rvm(with_rvm_group("#{path_to_bin_rvm(options)} #{command}"))
|
30
|
-
end
|
26
|
+
cmd = "#{path_to_bin_rvm(options)} #{command}"
|
27
|
+
cmd = with_rvm_group(cmd) if options[:with_rvm_group]
|
28
|
+
run_without_rvm(cmd)
|
31
29
|
end
|
32
30
|
|
33
31
|
# helper to find path to rvm binary
|
@@ -4,7 +4,7 @@ rvm_with_capistrano do
|
|
4
4
|
|
5
5
|
warn "task 'rvm:install_pkgs' is deprecated, please read about autolibs => http://rvm.io/rvm/autolibs especially check the autolibs mode 'rvm_pkg'."
|
6
6
|
|
7
|
-
|
7
|
+
deferred_load do
|
8
8
|
|
9
9
|
# Additional rvm packages to install.
|
10
10
|
_cset(:rvm_install_pkgs, [])
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rvm-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 4
|
10
|
+
version: 1.4.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wayne E. Seguin
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2013-08-
|
19
|
+
date: 2013-08-14 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: capistrano
|