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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: fe2657c8f2aa6a1133f1b14fde0ffa1539494573
4
- data.tar.gz: 4c8515035d2677be3ecb0778bec0ce05c1106ec6
2
+ SHA256:
3
+ metadata.gz: f986600872a063729f0240985dbfd69909eefafa12c2fc21bd2facb3f1af2964
4
+ data.tar.gz: 6d171b71a54a3f5c1d49e609a81704c7839b33b8d33428017024506113c2d321
5
5
  SHA512:
6
- metadata.gz: dc5df21a5dd251af125612bd2be2af0adc4b54619479ec0781dd65d5de41b5dc3903690a3e96200a068b16f06eaff55a855ea9c9df12630175fe1547add7614e
7
- data.tar.gz: 67d5e71632b874e93061b88e1c429187f5f991b12bca97ff0c18bc24fd1dcef8a0dc293cc7d3ac1b41ab3cd173ffba3f115b20a36c1963a868af5a00267d582a
6
+ metadata.gz: b5612f8f95dce8fa876597c8071b969f213c217afb0116c653ccb01a38f3f2bec5c1bfc712db32d6f67f649771e664de4d61ba1c5952fd1b2585837814a4626a
7
+ data.tar.gz: 256108d0340a68bce7ca25bdcecc41ea5c618b1ad2df98323e7b5ee6ecf26a7f4a930af1292b4d42a1778b824063d8a6bfe630a473be374f7055412d9768c0c0
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.15.10
2
+
3
+ * Fix Ruby 3.2 compatibility issues (@intrip)
4
+
1
5
  ## 2.15.9
2
6
 
3
7
  * Continue if `HOSTROLEFILTER=` is set
data/Gemfile CHANGED
@@ -9,5 +9,7 @@ gemspec
9
9
  #
10
10
  group :development do
11
11
  gem "rake"
12
+ gem "rexml"
12
13
  gem "pry"
14
+ gem "test-unit"
13
15
  end
@@ -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)
@@ -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] || line_prefix =~ 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]
@@ -2,7 +2,7 @@ module Capistrano
2
2
  class Version
3
3
  MAJOR = 2
4
4
  MINOR = 15
5
- PATCH = 9
5
+ PATCH = 10
6
6
 
7
7
  def self.to_s
8
8
  "#{MAJOR}.#{MINOR}.#{PATCH}"
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.9
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: 2016-06-27 00:00:00.000000000 Z
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
- rubyforge_project:
248
- rubygems_version: 2.6.3
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: