nerve 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nerve (0.5.0)
4
+ nerve (0.5.1)
5
5
  bunny (= 1.1.0)
6
6
  zk (~> 1.9.2)
7
7
 
@@ -3,11 +3,11 @@ require 'zk'
3
3
 
4
4
  class Nerve::Reporter
5
5
  class Zookeeper < Base
6
- def initalize(service)
6
+ def initialize(service)
7
7
  %w{zk_hosts zk_path instance_id host port}.each do |required|
8
8
  raise ArgumentError, "missing required argument #{required} for new service watcher" unless service[required]
9
9
  end
10
- @path = service['zk_hosts'].shuffle.join(',') + opts['zk_path']
10
+ @path = service['zk_hosts'].shuffle.join(',') + service['zk_path']
11
11
  @data = parse_data({'host' => service['host'], 'port' => service['port'], 'name' => service['instance_id']})
12
12
 
13
13
  @key = "/#{service['instance_id']}_"
data/lib/nerve/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nerve
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nerve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-03-03 00:00:00.000000000 Z
14
+ date: 2014-03-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: zk