async-io 1.34.2 → 1.34.3

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: a8c1a9e5d89a2edf192c69d6fac28fa00a9c24b0de074a2f9b4e5a6666496d93
4
- data.tar.gz: b4f9f3db305d8cbca108855076cb9ca9c8ba003082d02dabc400c4ae2ff2a05a
3
+ metadata.gz: c46c543da8514fafc78e12bbbcd6fd5abe30ce4cfd649fcb475a0410fb37179a
4
+ data.tar.gz: 8318595b652b6a7f272c97b978efab37d9e7a83e9764fa4fec692a3df965f506
5
5
  SHA512:
6
- metadata.gz: 631aa9c93ef096f8563ab56153c78dee3289f5ebc463c557476b7722e77ed0d76c6d49a139915579e1ad430df47d25efbadbf25fa3103d1de61246b7ce685395
7
- data.tar.gz: 90673353c83e111b17239fbf0df847339864adb18b7501db04f58dcc543e5d57e6b8d41cc0248f308ce96ff3506abcbf4b7984b31a4056c42c883f79a0c61e38
6
+ metadata.gz: 5bbab075ddb84a43c1c84b02e67f01ac2a948ce20b405ce91665b1d2a0865aea89cc8d410aeb52bcb66cef753b8853bdda3c890d792d9df610c937978fb5e954
7
+ data.tar.gz: 94465c8f599fc42acd819016785059dbee83e7f37325a685f7c6b1132877366b7f92ef0cba81c765e65dd2d7bb3864c3c5e5f2819b6e9d0f5bb0a4e820ea5874
@@ -114,8 +114,8 @@ module Async
114
114
  raise exception, "encountered eof while reading data"
115
115
  end
116
116
 
117
- def readpartial
118
- read_partial or raise EOFError, "Encountered eof while reading data!"
117
+ def readpartial(size = nil)
118
+ read_partial(size) or raise EOFError, "Encountered eof while reading data!"
119
119
  end
120
120
 
121
121
  # Efficiently read data from the stream until encountering pattern.
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Async
24
24
  module IO
25
- VERSION = "1.34.2"
25
+ VERSION = "1.34.3"
26
26
  end
27
27
  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.34.2
4
+ version: 1.34.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams