nsq-ruby 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nsq/consumer.rb +1 -1
- 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: f37fc34c90bdbfed9f8f653ebb360f3449f2b617
|
|
4
|
+
data.tar.gz: b10cf00412546004c46e2c620671b565c405b107
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fb3324959318b2b7f7be1ab989ddfe521dfee92eb7e9a2a3e002d611904c44f38d42da8a57f29baed4d80d477f9ddc37bc884008a21920378dfb41db3c0d657
|
|
7
|
+
data.tar.gz: 17a7c36cd9f9a245183af03cf73a3a027df5028c151399780e102494bf1db61ae46f85f500eb1e1e70ff609c4e6159e28d0f9c85cd55feac51121f86af5d98c9
|
data/lib/nsq/consumer.rb
CHANGED
|
@@ -19,7 +19,7 @@ module Nsq
|
|
|
19
19
|
@msg_timeout = opts[:msg_timeout]
|
|
20
20
|
|
|
21
21
|
# This is where we queue up the messages we receive from each connection
|
|
22
|
-
@messages = Queue.new
|
|
22
|
+
@messages = opts[:queue] || Queue.new
|
|
23
23
|
|
|
24
24
|
# This is where we keep a record of our active nsqd connections
|
|
25
25
|
# The key is a string with the host and port of the instance (e.g.
|
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: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wistia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|