rdkafka 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01adede5b7a59df41ef9b5fb023300acd4040fbe
4
- data.tar.gz: c38a35bb30662ded72241c358723e31468a6aa07
3
+ metadata.gz: 51ed7eebad223105fec15dadf53e133d90a57064
4
+ data.tar.gz: 56112be8287c2be5bd5a5b6d9e92308e78ddbdce
5
5
  SHA512:
6
- metadata.gz: 1bb19505024ea43457df9d902d0accb09fb9f2c5efa9dfc16c2d831024b5cc3b0390177cd605ce5816c11332d4b77a78b697099cd91715acfc37c220e1f3d396
7
- data.tar.gz: cba5c1abc24f563f6958dffdb0402e00c58790ffb36ca4dffe2d8f8b7d19883afe59a05f3f37920ec47d4c05d68c5a695fd5602826f45d12c738702e184987b3
6
+ metadata.gz: 48c97055bcef83b22669f8fdff05f29b425ae784bbf9d3efdc1d1e050d2f12fd805a30eca495c0ed9d665e0186f3672fac012874d0c73b403932c9e2b3435fb5
7
+ data.tar.gz: 6ffcae7c68b5f27ff30230939049965d619b6ae044bbb713862d30f53ed3a3711b5a561fe4ec656be16b1f547fb513ed99aacb978f9716518d0c312499813c1a
@@ -13,7 +13,7 @@ rvm:
13
13
  - 2.4
14
14
 
15
15
  before_install:
16
- - wget http://www.us.apache.org/dist/kafka/0.11.0.1/kafka_2.12-0.11.0.1.tgz -O kafka.tgz
16
+ - wget http://www.us.apache.org/dist/kafka/1.0.0/kafka_2.12-1.0.0.tgz -O kafka.tgz
17
17
  - mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-components 1
18
18
  - nohup bash -c "cd kafka && bin/zookeeper-server-start.sh config/zookeeper.properties &"
19
19
  - nohup bash -c "cd kafka && bin/kafka-server-start.sh config/server.properties &"
@@ -1,3 +1,6 @@
1
+ # 0.3.4
2
+ * Bump librdkafka to 0.11.3
3
+
1
4
  # 0.3.3
2
5
  * Fix bug that prevent display of `RdkafkaError` message
3
6
 
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Rdkafka
2
2
 
3
- [![Build Status](https://travis-ci.org/thijsc/rdkafka-ruby.svg?branch=master)](https://travis-ci.org/thijsc/rdkafka-ruby)
3
+ [![Build Status](https://travis-ci.org/appsignal/rdkafka-ruby.svg?branch=master)](https://travis-ci.org/appsignal/rdkafka-ruby)
4
4
  [![Gem Version](https://badge.fury.io/rb/rdkafka.svg)](https://badge.fury.io/rb/rdkafka)
5
- [![Maintainability](https://api.codeclimate.com/v1/badges/362d93880c1b6b6f48c6/maintainability)](https://codeclimate.com/github/thijsc/rdkafka-ruby/maintainability)
6
- [![Test Coverage](https://api.codeclimate.com/v1/badges/362d93880c1b6b6f48c6/test_coverage)](https://codeclimate.com/github/thijsc/rdkafka-ruby/test_coverage)
5
+ [![Maintainability](https://api.codeclimate.com/v1/badges/ecb1765f81571cccdb0e/maintainability)](https://codeclimate.com/github/appsignal/rdkafka-ruby/maintainability)
6
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/ecb1765f81571cccdb0e/test_coverage)](https://codeclimate.com/github/appsignal/rdkafka-ruby/test_coverage)
7
7
 
8
8
  The `rdkafka` gem is a modern Kafka client library for Ruby based on
9
9
  [librdkafka](https://github.com/edenhill/librdkafka/).
@@ -190,7 +190,7 @@ module Rdkafka
190
190
  end
191
191
  ensure
192
192
  # Clean up rdkafka message if there is one
193
- unless message_ptr.null?
193
+ if !message_ptr.nil? && !message_ptr.null?
194
194
  Rdkafka::Bindings.rd_kafka_message_destroy(message_ptr)
195
195
  end
196
196
  end
@@ -1,4 +1,4 @@
1
1
  module Rdkafka
2
- VERSION = "0.3.3"
3
- LIBRDKAFKA_VERSION = "0.11.1"
2
+ VERSION = "0.3.4"
3
+ LIBRDKAFKA_VERSION = "0.11.3"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdkafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thijs Cadier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-27 00:00:00.000000000 Z
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi