hermann 0.23.0.242 → 0.23.0.244
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 +8 -8
- data/ext/hermann/hermann_lib.c +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTJiMTVkMTU5ZTE5ZjM2OGIwNTYxYjlmNDY2ZTA2OWI3MGUwZmI1NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWE3ZThmZTAyZDhlMDQwZjczZjY3ZjA1ZTJlM2E0NGI1MmQ2OWViMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTllNjBkNTlmZmI0M2Q5YzE3YTNjOWU4OTBmZDAyNzAyNmRjOGRjYmIzYWQw
|
10
|
+
ZWU4MmVhMDVhZjkzYzJiNzMyZDI0NDg5NjVlMDBlYWY0OTUxNTI1NWY2YjM2
|
11
|
+
MGI3NDI1YTZhYjdkNzZlODYzM2RkNjYyYzJlNDFiODc3MmNlOGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmQwZWNlOGJkY2UyMGRhYzUwM2UxODk3MzE0MTA2ZGIwNjVjMDY5ZjdmM2Qx
|
14
|
+
YWE5NmFmYjM5ZGNkZDc4NjI5YjZiZDNmMTk2MDRlODAyZDY2OGIyNjM4ZDAx
|
15
|
+
Y2VjOTAwNzJkNWE2ZTU3MDNhNjQ2MTQ0MmVhZWE2NzBhOGU1OWM=
|
data/ext/hermann/hermann_lib.c
CHANGED
@@ -762,6 +762,9 @@ static void consumer_free(void *p) {
|
|
762
762
|
rd_kafka_destroy(config->rk);
|
763
763
|
}
|
764
764
|
|
765
|
+
free(config->topic);
|
766
|
+
free(config->brokers);
|
767
|
+
|
765
768
|
// clean up the struct
|
766
769
|
free(config);
|
767
770
|
}
|
@@ -837,8 +840,8 @@ static VALUE consumer_initialize(VALUE self,
|
|
837
840
|
partitionNo = FIX2INT(partition);
|
838
841
|
Data_Get_Struct(self, HermannInstanceConfig, consumerConfig);
|
839
842
|
|
840
|
-
consumerConfig->topic = topicPtr;
|
841
|
-
consumerConfig->brokers = brokersPtr;
|
843
|
+
consumerConfig->topic = strdup(topicPtr);
|
844
|
+
consumerConfig->brokers = strdup(brokersPtr);
|
842
845
|
consumerConfig->partition = partitionNo;
|
843
846
|
consumerConfig->run = 1;
|
844
847
|
consumerConfig->exit_eof = 0;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hermann
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.0.
|
4
|
+
version: 0.23.0.244
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- R. Tyler Croy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-04-
|
13
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: concurrent-ruby
|