excon 1.2.0 → 1.2.1

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
  SHA256:
3
- metadata.gz: 3a905930d349f68ec0851844a4107cd3e2e1b7cbf16283fa72bc8795db20c260
4
- data.tar.gz: 1a5382bd4a2e03269d54272ecab5f90aac343f572be0b2c4dc27b567f8054402
3
+ metadata.gz: 738c867acaec7b89bbee08c77558f9c38edf9c0531b5c3d003981418e12a1553
4
+ data.tar.gz: 87357f9d74d762d2e48c1af4341865588e9438fd989a91e8c83c9ec85e34cddb
5
5
  SHA512:
6
- metadata.gz: 9d76128a6817cb8cdfc77109b27ea7cbbb68ddc46d4335fa753711858e8c48db8eeca286ab0f1e1b3885d0b8aa589fe597a5559fa968e7f13e434abb33b05156
7
- data.tar.gz: c89be296753470add2742bf9326ff27854968acfd152f9dfacdf2ff33e81a6c09491e32832ef9eb61dc7a23182d28fb5e1053a8e9b703bc3d3674414e408b958
6
+ metadata.gz: a33ee1422f54944d24b554a5a6c6dccecbbabcf92ceecc3ecf5fada7da39aa2b3e4edbea1d55c1acc17642c0c83d34ee2e0effaff5be6a65d24b02e2694c8ff9
7
+ data.tar.gz: a5ce6c300dc830e85e34e8551f07236135f33964e189cc50408bc1b1b68e0d6fa3ecadaa13daa8aa55f350b26ebb8425affb6392610d12911cbe89053e2f0620
@@ -194,7 +194,7 @@ module Excon
194
194
  raise(error)
195
195
  when Errno::EPIPE
196
196
  # Read whatever remains in the pipe to aid in debugging
197
- response = socket.read
197
+ response = socket.read rescue ""
198
198
  error = Excon::Error.new(response + error.message)
199
199
  raise_socket_error(error)
200
200
  else
data/lib/excon/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Excon
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dpiddy (Dan Peterson)
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-11-07 00:00:00.000000000 Z
13
+ date: 2024-11-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec