jrpc 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jrpc.rb +1 -1
- data/lib/jrpc/transport/socket_base.rb +1 -1
- data/lib/jrpc/transport/socket_tcp.rb +1 -1
- data/lib/jrpc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35ff073f693838ea277b7d45a74810ed2a19bb2c
|
4
|
+
data.tar.gz: 989c280e64c040452315428b5efb66b1aae0e50d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6da15a921442726c75a18673d97e252de6e09c157ec96b97e38f7c856cf19d0d15a02023e27b614cd9336c99d95c3e878c54ce60feca3a5c2aaea614abfcfb5
|
7
|
+
data.tar.gz: cf047524ba6c7a6cae042fb0844b71faf2b7052605622b2f34f5a0e2b320e38e40645df1ffc702b9af1d3000e3ce07484b45a8938c259dfeb19608bff98850e8
|
data/lib/jrpc.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
require 'jrpc/version'
|
2
|
+
require 'jrpc/error/error'
|
2
3
|
require 'jrpc/utils'
|
3
4
|
require 'jrpc/base_client'
|
4
5
|
require 'jrpc/transport/socket_base'
|
5
6
|
require 'jrpc/transport/socket_tcp'
|
6
7
|
require 'jrpc/tcp_client'
|
7
|
-
require 'jrpc/error/error'
|
8
8
|
require 'jrpc/error/connection_error'
|
9
9
|
require 'jrpc/error/client_error'
|
10
10
|
require 'jrpc/error/server_error'
|
@@ -13,7 +13,7 @@ module JRPC
|
|
13
13
|
length_to_read -= chunk.bytesize
|
14
14
|
end
|
15
15
|
received
|
16
|
-
rescue Errno::EPIPE => e
|
16
|
+
rescue Errno::EPIPE, EOFError => e
|
17
17
|
# EPIPE, in this case, means that the data connection was unexpectedly terminated.
|
18
18
|
clear_socket!
|
19
19
|
raise ReadFailedError, "#{e.class} #{e.message}"
|
data/lib/jrpc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jrpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Talakevich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: netstring
|