nsq-ruby 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/nsq/connection.rb +2 -0
- data/lib/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: a6a79b53902f96dfbac897e8d42c72f9b77da5b8
|
4
|
+
data.tar.gz: 8ae3a1e0cbac66b12e535f9bb63174196aab6c2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feabe84729269c1b866c2cdc483bc88aae2243d438c23371eccec15ee63b69e7045728c73c9bb35e97e1c176b340e7fa1d01445cf69e5274782b0b4987abf599
|
7
|
+
data.tar.gz: c0835409b4b270106eb8a9f091997b1a3db97cf07c7b5557c893c359a42b86bebff51fcf9084719a6b23505b04485f1125f556e556c0bc898e40c44796f5a77a
|
data/README.md
CHANGED
@@ -376,6 +376,7 @@ millions of messages a day.
|
|
376
376
|
- Thomas O'Neil ([@alieander](https://github.com/alieander))
|
377
377
|
- Unbekandt Léo ([@soulou](https://github.com/Soulou))
|
378
378
|
- Matthias Schneider ([@mschneider82](https://github.com/mschneider82))
|
379
|
+
- Lukas Eklund ([@leklund](https://github.com/leklund))
|
379
380
|
|
380
381
|
|
381
382
|
## MIT License
|
data/lib/nsq/connection.rb
CHANGED
@@ -357,6 +357,7 @@ module Nsq
|
|
357
357
|
cls if connected?
|
358
358
|
stop_read_loop
|
359
359
|
stop_write_loop
|
360
|
+
@socket.close if @socket
|
360
361
|
@socket = nil
|
361
362
|
@connected = false
|
362
363
|
end
|
@@ -373,6 +374,7 @@ module Nsq
|
|
373
374
|
def upgrade_to_ssl_socket
|
374
375
|
ssl_opts = [@socket, openssl_context].compact
|
375
376
|
@socket = OpenSSL::SSL::SSLSocket.new(*ssl_opts)
|
377
|
+
@socket.sync_close = true
|
376
378
|
@socket.connect
|
377
379
|
end
|
378
380
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nsq-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wistia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|