async-io 1.8.4 → 1.8.5

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: 28560a2c37617bcd0a356c1cdf4a3d6cae716dcb41cdc687685428bf5d521b6c
4
- data.tar.gz: 7c0ab76b2c9be55a2b6e7660293439a5748ce80fbdae2f5f25f71bfb9e7156ba
3
+ metadata.gz: d5af912a19bd43e7d4c48af0a6835e730ae2dc1755a2454a4e9b35c46cffbd88
4
+ data.tar.gz: f660b9e73b7508611bda24f3e68fcc4990da4560d16acce7b8ed0e70fc607e2a
5
5
  SHA512:
6
- metadata.gz: a9954fe457d3fc5883bdfd59f5f2b17cab94cee653ba0cea083afa23954ff91e2297d342ed805d2b4c0d5aeae956e4cb9a2e341e60def9d5003e08b7ee09a2b7
7
- data.tar.gz: 8c59a579a8cd7d2425f298cf98b1caba1acdd6263e79bad028baadc6e517c2a1447e5147e415ba766c1c3446bed938c29f628734fe51528345318d692d75d999
6
+ metadata.gz: 61f47c817d26b85353da538952e01bd0884c42b385fa4eaff26d1666e411d44e46567ceea49aa3510e3706b03370a9a9fda35a928b1119557e4829a12db4a791
7
+ data.tar.gz: e429a7a262b6e6824667e9d7f68c2c29f5ddb385d3d5b95301d3bbbb8a2f918300929a804bcc5493fa18ab51c2fc58707f075c0ae902f5b8d96c96809e0ebd67
@@ -3,6 +3,11 @@ sudo: false
3
3
  dist: trusty
4
4
  cache: bundler
5
5
 
6
+ before_script:
7
+ - gem update --system
8
+ - gem install bundler
9
+
10
+
6
11
  matrix:
7
12
  include:
8
13
  - rvm: 2.2
@@ -124,6 +124,8 @@ module Async
124
124
  async do
125
125
  @io.__send__(*args, exception: false)
126
126
  end
127
+ rescue Errno::EPROTOTYPE
128
+ raise Errno::EPIPE
127
129
  end
128
130
 
129
131
  def async
@@ -155,6 +157,8 @@ module Async
155
157
  wait_readable
156
158
  rescue ::IO::WaitWritable, ::IO::EAGAINWaitWritable
157
159
  wait_writable
160
+ rescue Errno::EPROTOTYPE
161
+ raise Errno::EPIPE
158
162
  end
159
163
  end
160
164
  end
@@ -174,6 +178,8 @@ module Async
174
178
  wait_readable
175
179
  rescue ::IO::WaitWritable
176
180
  wait_writable
181
+ rescue Errno::EPROTOTYPE
182
+ raise Errno::EPIPE
177
183
  end
178
184
  end
179
185
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module IO
23
- VERSION = "1.8.4"
23
+ VERSION = "1.8.5"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.4
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams