jsonrpctcp 1.0.0 → 1.0.1

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: b7b6cf5768cb6eafcf131e7cb0a460cf883f74c7
4
- data.tar.gz: 3b674a265d4e9212726aae5031f98a339242e4f8
3
+ metadata.gz: 9b2ec13dc2d8cc2125c1dc44afc8024b78ad9016
4
+ data.tar.gz: 5d9c78073f4208511c21d6c80d1ebecd56282b41
5
5
  SHA512:
6
- metadata.gz: ebf7cc56fce4e7687e88089edd8fcffaafa30d4188bb82d4df01a1ba2be05eab81c6e5e3cca66ae0ebb5f9af6b9cc819ac519163807ffcb227da495cd6e2fbd6
7
- data.tar.gz: d0faf4b8ef1bb0bc901322a5553be69bace4f639a56c044dc892a81f4b9c24acde183061843bbd7aa744748827c118a4dd0885e25d27e69fa4b67b2d10271cb5
6
+ metadata.gz: d55187d9d3d307a5737367f51118716cb1a84872f3eb19c0f0569afbcb9b6e48254a842e7bd755d3f5380bb2dcad3fd1806d65f2029e3a616553602f57cc5c21
7
+ data.tar.gz: e11d4046bfa64525f5637f2d695813caf370bb30f57e9faf47c153378c236a242f1cfccbd12b6638a9d4881815203f07cb87357aa5845a58e817af2d20ee381b
@@ -87,7 +87,7 @@ module Jsonrpctcp
87
87
  rescue JSON::ParserError
88
88
  raise RPCException.new("RPC response could not be parsed")
89
89
  ensure
90
- socket.close()
90
+ socket.close() if socket
91
91
  end
92
92
 
93
93
  if Client.is_error?(parsed_response)
@@ -17,5 +17,5 @@
17
17
 
18
18
  module Jsonrpctcp
19
19
  # Current gem version
20
- VERSION = "1.0.0"
20
+ VERSION = "1.0.1"
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonrpctcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hector Sanjuan