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 CHANGED
@@ -1 +1 @@
1
- 2.5.18.019
1
+ 2.5.18.020
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{le1t0-capistrano}
8
- s.version = "2.5.18.019"
8
+ s.version = "2.5.18.020"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Le1t0"]
@@ -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: 41
4
+ hash: 39
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 5
9
9
  - 18
10
- - 19
11
- version: 2.5.18.019
10
+ - 20
11
+ version: 2.5.18.020
12
12
  platform: ruby
13
13
  authors:
14
14
  - Le1t0