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 CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.4.4 / 2013-08-14
2
+
3
+ * cleaning, merge #83
4
+
1
5
  ### 1.4.3 / 2013-08-09
2
6
 
3
7
  * move command_with_shell to common code, fix #82
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
@@ -3,7 +3,7 @@ require 'rvm/capistrano/helpers/rvm_methods'
3
3
 
4
4
  rvm_with_capistrano do
5
5
 
6
- deffered_load do
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
- deffered_load do
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
@@ -2,7 +2,7 @@ require 'rvm/capistrano/base'
2
2
 
3
3
  rvm_with_capistrano do
4
4
 
5
- deffered_load do
5
+ deferred_load do
6
6
 
7
7
  # Let users configure a path to export/import gemsets
8
8
  _cset(:rvm_gemset_path, "#{rvm_path}/gemsets")
@@ -1,6 +1,6 @@
1
1
  module Capistrano
2
2
  class Configuration
3
- def deffered_load(&block)
3
+ def deferred_load(&block)
4
4
  if current_task
5
5
  instance_eval(&block)
6
6
  else
@@ -2,7 +2,7 @@ require 'rvm/capistrano/base'
2
2
 
3
3
  rvm_with_capistrano do
4
4
 
5
- deffered_load do
5
+ deferred_load do
6
6
  # Default sudo state
7
7
  _cset(:rvm_install_with_sudo, false)
8
8
  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
- if options[:with_rvm_group]
27
- run_without_rvm("#{path_to_bin_rvm(options)} #{command}")
28
- else
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
- deffered_load do
7
+ deferred_load do
8
8
 
9
9
  # Additional rvm packages to install.
10
10
  _cset(:rvm_install_pkgs, [])
@@ -5,7 +5,7 @@ require 'rvm/capistrano/helpers/with_rvm_group'
5
5
 
6
6
  rvm_with_capistrano do
7
7
 
8
- deffered_load do
8
+ deferred_load do
9
9
 
10
10
  # Let users set the (re)install for ruby.
11
11
  _cset(:rvm_install_ruby, :install)
@@ -4,7 +4,7 @@ require 'rvm/capistrano/helpers/rvm_if_sudo'
4
4
 
5
5
  rvm_with_capistrano do
6
6
 
7
- deffered_load do
7
+ deferred_load do
8
8
 
9
9
  # Let users set the install type of their choice.
10
10
  _cset(:rvm_install_type, :stable)
@@ -1,7 +1,7 @@
1
1
  require 'rvm/capistrano/base'
2
2
 
3
3
  rvm_with_capistrano do
4
- deffered_load do
4
+ deferred_load do
5
5
 
6
6
  # conflicts with rvm/capistrano/selector_mixed
7
7
  unless fetch(:rvm_require_role,nil).nil?
@@ -1,5 +1,5 @@
1
1
  module RVM
2
2
  class Capistrano
3
- VERSION="1.4.3"
3
+ VERSION="1.4.4"
4
4
  end
5
5
  end
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: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 3
10
- version: 1.4.3
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-09 00:00:00 Z
19
+ date: 2013-08-14 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: capistrano