rvm-capistrano 1.4.2 → 1.4.3

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.3 / 2013-08-09
2
+
3
+ * move command_with_shell to common code, fix #82
4
+
1
5
  ### 1.4.2 / 2013-08-09
2
6
 
3
7
  * require newer capistrano - fix issue with rails 4, merge #81
@@ -36,5 +36,13 @@ module Capistrano
36
36
  result << " #{options[:with_ruby]} do" if options[:with_ruby]
37
37
  result
38
38
  end
39
+
40
+ def command_with_shell(cmd, shell=nil)
41
+ if shell == false
42
+ cmd
43
+ else
44
+ "#{shell || "sh"} -c #{quote_and_escape(cmd)}"
45
+ end
46
+ end
39
47
  end
40
48
  end
@@ -29,13 +29,5 @@ ERROR: no 'set :rvm_require_role, \"...\"' declared before 'rvm/capistrano/selec
29
29
  end
30
30
  end
31
31
 
32
- def command_with_shell(cmd, shell=nil)
33
- if shell == false
34
- cmd
35
- else
36
- "#{shell || "sh"} -c #{quote_and_escape(cmd)}"
37
- end
38
- end
39
-
40
32
  end
41
33
  end
@@ -1,5 +1,5 @@
1
1
  module RVM
2
2
  class Capistrano
3
- VERSION="1.4.2"
3
+ VERSION="1.4.3"
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 2
10
- version: 1.4.2
9
+ - 3
10
+ version: 1.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Wayne E. Seguin