nsq-ruby 2.0.0 → 2.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: 6cbb0662845f5a7d8080d9531d9238fe12b8f87e
4
- data.tar.gz: 105520f8192afccdba5097cae209ac36d1ec09e9
3
+ metadata.gz: 33dae8d437e4db3f3c66e21e75cc9b592fdd5ab8
4
+ data.tar.gz: af3289a58da6109f12f516d6d9228142e72f7903
5
5
  SHA512:
6
- metadata.gz: 7b4038559f24a0923af28a5e9c0281f32f09850b3970b07c52abd587d66dd119d912686408f91e92c77d376c5565d73a8bfcf3c9f391bacde6e22ce550f10d0b
7
- data.tar.gz: d0425623eb3cf5733e5b10bc2ab40bb377c9fa4e5ecf9509e5ea88d4006f64211cda36821165b696ab7b58fb139c6aa39ceb12001229f92fd1e5d8e0f5296895
6
+ metadata.gz: cafaa033cccd00f6081fdc732eef57d99ddae1e196e4de2d2dea2dd67a8a228b0f67b3a9e57cba5d2d7a58f7966123b1112d5206889418b1eb048282b7c509bb
7
+ data.tar.gz: f825b718705b8d3ebd885206ca591c7b503e9c87c8847643c04d161d6706265d49df6021383350eaad91dd27d73007dfdbb3188105fb176754258745bf13ac75
data/README.md CHANGED
@@ -333,7 +333,6 @@ connection timeout support (0.2.29).
333
333
 
334
334
  - Compression
335
335
  - Backoff
336
- - Authentication
337
336
 
338
337
  If you need more advanced features, like these, you should check out
339
338
  [Krakow](https://github.com/chrisroberts/krakow), a more fully featured NSQ
@@ -372,6 +371,7 @@ millions of messages a day.
372
371
  - Anders Chen ([@chen-anders](https://github.com/chen-anders))
373
372
  - Thomas O'Neil ([@alieander](https://github.com/alieander))
374
373
  - Unbekandt Léo ([@soulou](https://github.com/Soulou))
374
+ - Matthias Schneider ([@mschneider82](https://github.com/mschneider82))
375
375
 
376
376
 
377
377
  ## MIT License
data/lib/nsq/discovery.rb CHANGED
@@ -70,7 +70,7 @@ module Nsq
70
70
  uri.query = "ts=#{Time.now.to_i}"
71
71
  if topic
72
72
  uri.path = '/lookup'
73
- uri.query += "&topic=#{topic}"
73
+ uri.query += "&topic=#{URI.escape(topic)}"
74
74
  else
75
75
  uri.path = '/nodes'
76
76
  end
data/lib/version.rb CHANGED
@@ -2,7 +2,7 @@ module Nsq
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
  BUILD = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
8
8
  end
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.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wistia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-11 00:00:00.000000000 Z
11
+ date: 2016-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler