nsq-ruby 1.5.0 → 1.5.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: 1cc303464874107233049891324ba89f7fdabeb9
4
- data.tar.gz: f8f0d0d615f723893babdca18401221c0f86bbf8
3
+ metadata.gz: 382e59adfb6836e6110aa8495e91be67ae04fa4b
4
+ data.tar.gz: 0cb2761df138f48e1eb790b344b4af6a96ded5d3
5
5
  SHA512:
6
- metadata.gz: f797afecb530034108857cfee09ff0fb17d41d715d80cb1f10dfc527801de8ebc1cd707348908e743108a61ebddd942f1f964cadf4abb452d7a9f749572bb75d
7
- data.tar.gz: b34ed2daeed5f863b6f81cf53d787fb4d11bbda45eaeabc01e5a75c33f9a7373ff72aadb4731ac7ca2b9df272ac15486dd97e59248acb7f8d0471937ba67ed89
6
+ metadata.gz: daeee78b58c442fd6d72dc59ab0cdc411f7a6de847bd7df7ccdf4f19e5ab576d6cbdeba7a3c84ccb8dee15243c5c85e098a057e375e78ce287991b8b22915b1c
7
+ data.tar.gz: cbe2582b629abfa542615641221f014be6c926f7bd370bd56c158ca6a7c2594839e9e7798dd17f54c6661b10ff38cf6eb2c7a0e206a1735af22f907f2a191ab2
@@ -140,7 +140,7 @@ module Nsq
140
140
  def identify
141
141
  hostname = Socket.gethostname
142
142
  metadata = {
143
- client_id: Socket.gethostbyname(hostname).flatten.compact.first,
143
+ client_id: hostname,
144
144
  hostname: hostname,
145
145
  feature_negotiation: true,
146
146
  heartbeat_interval: 30_000, # 30 seconds
data/lib/version.rb CHANGED
@@ -2,7 +2,7 @@ module Nsq
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 5
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: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wistia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-20 00:00:00.000000000 Z
11
+ date: 2016-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler