capistrano 2.15.9 → 2.15.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG +4 -0
- data/Gemfile +2 -0
- data/lib/capistrano/configuration/actions/invocation.rb +2 -2
- data/lib/capistrano/logger.rb +1 -1
- data/lib/capistrano/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: f986600872a063729f0240985dbfd69909eefafa12c2fc21bd2facb3f1af2964
|
|
4
|
+
data.tar.gz: 6d171b71a54a3f5c1d49e609a81704c7839b33b8d33428017024506113c2d321
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5612f8f95dce8fa876597c8071b969f213c217afb0116c653ccb01a38f3f2bec5c1bfc712db32d6f67f649771e664de4d61ba1c5952fd1b2585837814a4626a
|
|
7
|
+
data.tar.gz: 256108d0340a68bce7ca25bdcecc41ea5c618b1ad2df98323e7b5ee6ecf26a7f4a930af1292b4d42a1778b824063d8a6bfe630a473be374f7055412d9768c0c0
|
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
|
@@ -248,7 +248,7 @@ module Capistrano
|
|
|
248
248
|
prompt_host = nil
|
|
249
249
|
|
|
250
250
|
Proc.new do |ch, stream, out|
|
|
251
|
-
if out =~ /^Sorry, try again/
|
|
251
|
+
if out.to_s =~ /^Sorry, try again/
|
|
252
252
|
if prompt_host.nil? || prompt_host == ch[:server]
|
|
253
253
|
prompt_host = ch[:server]
|
|
254
254
|
logger.important out, "#{stream} :: #{ch[:server]}"
|
|
@@ -256,7 +256,7 @@ module Capistrano
|
|
|
256
256
|
end
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
-
if out =~ /^#{Regexp.escape(sudo_prompt)}/
|
|
259
|
+
if out.to_s =~ /^#{Regexp.escape(sudo_prompt)}/
|
|
260
260
|
ch.send_data "#{self[:password]}\n"
|
|
261
261
|
elsif fallback
|
|
262
262
|
fallback.call(ch, stream, out)
|
data/lib/capistrano/logger.rb
CHANGED
|
@@ -102,7 +102,7 @@ module Capistrano
|
|
|
102
102
|
|
|
103
103
|
Logger.sorted_formatters.each do |formatter|
|
|
104
104
|
if (formatter[:level] == level || formatter[:level].nil?)
|
|
105
|
-
if message =~ formatter[:match] ||
|
|
105
|
+
if message =~ formatter[:match] || formatter[:match] =~ line_prefix.to_s
|
|
106
106
|
color = formatter[:color] if formatter[:color]
|
|
107
107
|
style = formatter[:style] || formatter[:attribute] # (support original cap colors)
|
|
108
108
|
message.gsub!(formatter[:match], formatter[:replace]) if formatter[:replace]
|
data/lib/capistrano/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.15.
|
|
4
|
+
version: 2.15.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jamis Buck
|
|
8
8
|
- Lee Hambley
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: highline
|
|
@@ -229,7 +229,7 @@ files:
|
|
|
229
229
|
homepage: http://github.com/capistrano/capistrano
|
|
230
230
|
licenses: []
|
|
231
231
|
metadata: {}
|
|
232
|
-
post_install_message:
|
|
232
|
+
post_install_message:
|
|
233
233
|
rdoc_options: []
|
|
234
234
|
require_paths:
|
|
235
235
|
- lib
|
|
@@ -244,9 +244,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
244
244
|
- !ruby/object:Gem::Version
|
|
245
245
|
version: '0'
|
|
246
246
|
requirements: []
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
signing_key:
|
|
247
|
+
rubygems_version: 3.4.12
|
|
248
|
+
signing_key:
|
|
250
249
|
specification_version: 3
|
|
251
250
|
summary: Capistrano - Welcome to easy deployment with Ruby over SSH
|
|
252
251
|
test_files:
|