kazoo-ruby 0.5.2 → 0.5.3

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: 425f57761eb37f1ccd8c4de068f9eb9d1b898017
4
- data.tar.gz: 63f26148c9e5181de36eaf8a1c3fc858a89d482a
3
+ metadata.gz: f9def20c9edf41bc83349c5a28ef4330259be58a
4
+ data.tar.gz: bbc5bb02383838b918c69efff44f4a678d4c8180
5
5
  SHA512:
6
- metadata.gz: a16ee39988e4a9bfc19b5892ef136ec1970e033fea62716e9d80314acb95ba6d8476264e1ece4307365ec925cf85ef6a66a2b1d5226870ffcba3ebaf22e1555a
7
- data.tar.gz: f6baa74192d9947f69e74dba77c3203d3d0200d9d28669cfcfe6a286977fe2ccd51fd94765bc4ec03cd236825e1c4b4caee140442c9cdba6f81310999cde31d9
6
+ metadata.gz: f4ae22601c604920abe37c49905e00c9a8b74ecc807b2382f364a6a74dc193836520aacee28871676999b9c7643d32314779cbca49c23c5ae0ba2fb706432f25
7
+ data.tar.gz: e77ed4e3b414ae495e6b3e8a0096dfa189894173992166fa2aaf516ae345da6352e3d7e527acfa83a2ba58e3dc3754bf3245892c5ab533898d8b602fbadc6cd8
data/Makefile CHANGED
@@ -10,7 +10,7 @@ confluent/stop: confluent/rest/stop confluent/registry/stop confluent/kafka/stop
10
10
  # Download & extract tasks
11
11
 
12
12
  confluent/confluent.tgz:
13
- mkdir -p confluent && wget http://packages.confluent.io/archive/2.0/confluent-2.0.1-2.11.7.tar.gz -O confluent/confluent.tgz
13
+ mkdir -p confluent && wget http://packages.confluent.io/archive/3.0/confluent-3.0.0-2.11.tar.gz -O confluent/confluent.tgz
14
14
 
15
15
  confluent/EXTRACTED: confluent/confluent.tgz
16
16
  tar xzf confluent/confluent.tgz -C confluent --strip-components 1 && mkdir confluent/logs && touch confluent/EXTRACTED
data/lib/kazoo/broker.rb CHANGED
@@ -79,10 +79,10 @@ module Kazoo
79
79
 
80
80
  # Instantiates a Kazoo::Broker instance based on the Broker metadata that is stored
81
81
  # in Zookeeper under `/brokers/<id>`.
82
- # TODO: add support for endpoints in Kafka 0.9
82
+ # TODO: add support for endpoints in Kafka 0.9+
83
83
  def self.from_json(cluster, id, json)
84
84
  case json.fetch('version')
85
- when 1, 2
85
+ when 1, 2, 3
86
86
  new(cluster, id.to_i, json.fetch('host'), json.fetch('port'), jmx_port: json.fetch('jmx_port', nil))
87
87
  else
88
88
  raise Kazoo::VersionNotSupported
data/lib/kazoo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kazoo
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kazoo-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willem van Bergen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-16 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor