jrpc 1.1.2 → 1.1.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
  SHA1:
3
- metadata.gz: fb8407031cb5fb20510c28a5691cff0bc10d787e
4
- data.tar.gz: acc04f635eca963b97e17dc64ef3b91cb2235151
3
+ metadata.gz: 92d494e0cd51ab722a301cf230fa02b17fd2bfe3
4
+ data.tar.gz: f0b3f46a778f6fba866e1a7708ab385329cecd57
5
5
  SHA512:
6
- metadata.gz: 4a60569920b9c4f2cd70b2c5f75106f9b34ffe1ac6bd56e35bd22cefa93c81a1f2920994c79557158ef127d9e1675f8f84c447df262a5ac728c002b386b36dcd
7
- data.tar.gz: 4d79982ababcd0b15d888f25212751f8c0908b333fab3d8622c315dac260373735a842a710ac96fa957ef6763dff029008121ab9e8abe29a1d6c2486cfe2018a
6
+ metadata.gz: bb4bf3319261ddb2a17589f6bedfb624843d73ca690866e2efc456a42ffbbff19e9f24f12359590cafea74d1a9bf07a9ececa0cf6655c004b43cffb4ff77943c
7
+ data.tar.gz: f2024c8bce167101e09bfa8eab07b889a7df2009cb6e46d58b6025de431b0626ba6171c2c3ccf0f888cef596152fb2bed5fdb16fa771804a6a13e1fbf5d54a4b
@@ -52,6 +52,8 @@ module JRPC
52
52
  private
53
53
 
54
54
  def clear_socket!
55
+ return if @socket.nil?
56
+ @socket.close unless @socket.closed?
55
57
  @socket = nil
56
58
  end
57
59
 
@@ -1,3 +1,3 @@
1
1
  module JRPC
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
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.2
4
+ version: 1.1.3
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-08-02 00:00:00.000000000 Z
11
+ date: 2018-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: netstring