excon 0.44.1 → 0.44.2

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
2
  SHA1:
3
- metadata.gz: 481bfd91390599d3d4e0dfc27838fddc748adbf3
4
- data.tar.gz: 0a6a75c64591bcb78f4a763667913c0a89e4ae8c
3
+ metadata.gz: e4440bcb5b85175c1a67c0ea114d9cb05b7c6cd4
4
+ data.tar.gz: d0abeae0edd39addfb3ebc467376367acb08b60c
5
5
  SHA512:
6
- metadata.gz: e6584d40bdf128fb820816775fa9fffd5504facd85704e8dec3e41c98a209e5dc8ca918d1ad7fb4662ae0f83cb556cb4ab782742c208170d3d0e62fc68b66b6e
7
- data.tar.gz: 1942bd6aca9b73b82eb8a9a9b00cefb6b438416eaf85b53d4985d407a6d5bedcbac55df0e655817ba1c5a34a83f3e62b538e6b48554f5185b1a482d16bd30fee
6
+ metadata.gz: dcdddbfd539ac3604257cf089722a531a8092e9c2239901568be315891b99d971dbc63f056ce61699598f696ab9e493fcd96deac7bee16381b06637acb6174f8
7
+ data.tar.gz: f6f0a10e3cb51eac7cd63a09d6331c692bd072756022e554e8c3f344f7a71bac63d6f1cc3209ecffa9a3ace6779d2f2d64b1706d798df93c576bf71dbdfe7ef0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- excon (0.44.1)
4
+ excon (0.44.2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,3 +1,10 @@
1
+ 0.44.2 02/11/2015
2
+ =================
3
+
4
+ simplify data[:debug] logic
5
+ catch nonblock errors around readline
6
+
7
+
1
8
  0.44.1 02/01/2015
2
9
  =================
3
10
 
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'excon'
16
- s.version = '0.44.1'
17
- s.date = '2015-02-02'
16
+ s.version = '0.44.2'
17
+ s.date = '2015-02-11'
18
18
  s.rubyforge_project = 'excon'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -64,7 +64,7 @@ module Excon
64
64
  @data[:instrumentor] = Excon::StandardInstrumentor
65
65
  end
66
66
 
67
- if @data[:debug] != false && @data[:debug] || ENV.has_key?('EXCON_DEBUG')
67
+ if @data[:debug] || ENV.has_key?('EXCON_DEBUG')
68
68
  @data[:debug_request] = @data[:debug_response] = true
69
69
  @data[:instrumentor] = Excon::StandardInstrumentor
70
70
  end
@@ -1,6 +1,6 @@
1
1
  module Excon
2
2
 
3
- VERSION = '0.44.1'
3
+ VERSION = '0.44.2'
4
4
 
5
5
  CR_NL = "\r\n"
6
6
 
@@ -44,7 +44,7 @@ module Excon
44
44
  buffer = ''
45
45
  buffer << @socket.read_nonblock(1) while buffer[-1] != "\n"
46
46
  buffer
47
- rescue Errno::EAGAIN
47
+ rescue Errno::EAGAIN, Errno::EWOULDBLOCK, IO::WaitReadable
48
48
  if timeout_reached('read')
49
49
  raise_timeout_error('read')
50
50
  else
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: 0.44.1
4
+ version: 0.44.2
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: 2015-02-02 00:00:00.000000000 Z
13
+ date: 2015-02-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport