le1t0-capistrano 2.5.18.019 → 2.5.18.020
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/le1t0-capistrano.gemspec +1 -1
- data/lib/capistrano/transfer.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.18.
|
1
|
+
2.5.18.020
|
data/le1t0-capistrano.gemspec
CHANGED
data/lib/capistrano/transfer.rb
CHANGED
@@ -190,7 +190,7 @@ module Capistrano
|
|
190
190
|
if proc.is_a?(Proc)
|
191
191
|
from_string = proc.call(from.is_a?(StringIO) ? from.string : from, session.xserver.host)
|
192
192
|
from = File.exist?(from_string) || from_string.is_a?(StringIO) ? from_string : StringIO.new(from_string.to_s)
|
193
|
-
elsif direction == :up && from.is_a?(StringIO) && (from.string.respond_to(:force_encoding) ? from.string.force_encoding('binary') =~ /%\{host\}/ : from.string =~ /%\{host\}/)
|
193
|
+
elsif direction == :up && from.is_a?(StringIO) && (from.string.respond_to?(:force_encoding) ? from.string.force_encoding('binary') =~ /%\{host\}/ : from.string =~ /%\{host\}/)
|
194
194
|
from_string = from.string.gsub(/%\{host\}/, session.xserver.host)
|
195
195
|
from = File.exist?(from_string) || from_string.is_a?(StringIO) ? from_string : StringIO.new(from_string.to_s)
|
196
196
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: le1t0-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 39
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 5
|
9
9
|
- 18
|
10
|
-
-
|
11
|
-
version: 2.5.18.
|
10
|
+
- 20
|
11
|
+
version: 2.5.18.020
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Le1t0
|