fastly_nsq 0.7.0 → 0.7.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: 2118f8fbefbf2cdd4986db89e65f2fab4c215ac8
4
- data.tar.gz: dc20875b82f3b58a4e8eda09148f50f5d1d4e409
3
+ metadata.gz: 1980f54ed1aa7fe8ef369d7dfb3f9bf969a7c662
4
+ data.tar.gz: c8c5e7ffa1cb2131f206842f54b6e8c6f5f7e076
5
5
  SHA512:
6
- metadata.gz: d7f6bf648089f9686bed42a7c2e0c16d9bb177843c9b396847139b50ed6e36b0016f7365371c1d51b5503e8ee1080ddcb2ce402a9c8481bc8459948bec09acb8
7
- data.tar.gz: e65fd5fbf597af38de0163e30901dfcf8493e3213ae3727067a6bb2660974e8bc191a43898026f5b31d2ecb9f04f9a04450dc11270b1f0bf39b138b7c2b267fe
6
+ metadata.gz: c92d2a3dd4f552c2a9bdd27aa78732d35078baab9a2d391836d3c599371b594ff8751b547dd709aa38b45388eba25770a42fe305a6f4d690279ad64274b72e0e
7
+ data.tar.gz: 33f3cc6eafb6eaec16e48205813cdc60ee99c0149773f2a5637fdadd1001e45c75d76ebb4ab58e4db1380c89638ac33d5a086e0caeb852a98ed37a380ae2a21d
data/README.md CHANGED
@@ -189,7 +189,7 @@ installed via Homebrew:
189
189
  NSQD_TCP_ADDRESS='127.0.0.1:4150'
190
190
  NSQD_HTTP_ADDRESS='127.0.0.1:4151'
191
191
  NSQLOOKUPD_TCP_ADDRESS='127.0.0.1:4160'
192
- NSQLOOKUPD_HTTP_ADDRESS='127.0.0.1:4161'
192
+ NSQLOOKUPD_HTTP_ADDRESS='127.0.0.1:4161, 10.1.1.101:4161'
193
193
  ```
194
194
 
195
195
  See the [`.sample.env`](examples/.sample.env) file
data/examples/.sample.env CHANGED
@@ -9,7 +9,8 @@ NSQLOOKUPD_HTTP_ADDRESS='billing:4161'
9
9
  NSQD_TCP_ADDRESS='127.0.0.1:4150'
10
10
  NSQD_HTTP_ADDRESS='127.0.0.1:4151'
11
11
  NSQLOOKUPD_TCP_ADDRESS='127.0.0.1:4160'
12
- NSQLOOKUPD_HTTP_ADDRESS='127.0.0.1:4161'
12
+ ## NSQLOOKUPD_HTTP_ADDRESS can be a single address or a comma seperated list
13
+ NSQLOOKUPD_HTTP_ADDRESS='127.0.0.1:4161, 10.0.0.101:4161'
13
14
 
14
15
  # Uncomment to test against a live queue
15
16
  #LIVE_QUEUE=true
@@ -29,7 +29,7 @@ module FastlyNsq
29
29
 
30
30
  def params
31
31
  {
32
- nsqlookupd: ENV.fetch('NSQLOOKUPD_HTTP_ADDRESS'),
32
+ nsqlookupd: ENV.fetch('NSQLOOKUPD_HTTP_ADDRESS').split(',').map(&:strip),
33
33
  topic: topic,
34
34
  channel: channel,
35
35
  ssl_context: ssl_context.to_h,
@@ -1,3 +1,3 @@
1
1
  module FastlyNsq
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.7.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly_nsq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy O'Neil
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-10 00:00:00.000000000 Z
12
+ date: 2016-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: awesome_print