rvm1-capistrano3 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c9794f94a6791769a690840bfa61711bec1d779
4
- data.tar.gz: 2d003c85169585c993b6672c906c01e52d183641
3
+ metadata.gz: fa8b9dfef3b0845bed32c177c32468e3abe5d487
4
+ data.tar.gz: b5fa774e9d0efbcd4ef3e3d833a155a3a71fa748
5
5
  SHA512:
6
- metadata.gz: 20137ac0765e89203a86cb85eeab38c1ce7ce2ab9f7ad921430337ffa915861a0dfd18b439588bf6638efa51608792ca6c560b487d3123693c249ef31c36d76a
7
- data.tar.gz: f99294eb05261c421769d2f8044d21d12c7584caa19f64d51928d4a6c9745d3db690c61d7fde56b02f6f7e895f88d678d28e0c32caeff5da9a674ef39d905e4f
6
+ metadata.gz: 785f532ee97f725fff6a9de3cefc243e4d5637f847a315b9597935520f2c473042cff7fd0a9afc66d68fd1bf6c6d6d4b38b67373cdb4444743757f38b4209030
7
+ data.tar.gz: d95a98958c330aa187790e813e7ee1042b3943b92954fe0471b9062e30fa078d17a0e99b9f572df41206cd5059471846176d4e5fbf68b3531f9cb6df78cf4756
@@ -1,5 +1,5 @@
1
1
  module RVM1
2
2
  class Capistrano3
3
- VERSION="1.2.5"
3
+ VERSION="1.2.6"
4
4
  end
5
5
  end
@@ -40,12 +40,13 @@ namespace :load do
40
40
  set :rvm1_ruby_version, "."
41
41
  set :rvm1_map_bins, %w{rake gem bundle ruby}
42
42
 
43
- temp_auto_script_path = "#{fetch(:tmp_dir)}/#{fetch(:application)}"
44
- if fetch(:ssh_options) && fetch(:ssh_options)[:user]
45
- temp_auto_script_path = "#{temp_auto_script_path}-#{fetch(:ssh_options)[:user]}"
46
- end
47
-
48
- set :rvm1_auto_script_path, temp_auto_script_path
43
+ set :rvm1_auto_script_path, -> {
44
+ temp_auto_script_path = "#{fetch(:tmp_dir)}/#{fetch(:application)}"
45
+ if fetch(:ssh_options) && fetch(:ssh_options)[:user]
46
+ temp_auto_script_path = "#{temp_auto_script_path}-#{fetch(:ssh_options)[:user]}"
47
+ end
48
+ temp_auto_script_path
49
+ }
49
50
  end
50
51
  end
51
52
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm1-capistrano3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-12 00:00:00.000000000 Z
11
+ date: 2014-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano