kril 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/bin/kril +2 -3
  4. data/lib/kril/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78ad85e819260343f49eaf744a1a3adc57358286
4
- data.tar.gz: 4dd49e901cd9769dff1e3a8829295f36fe7f2b5b
3
+ metadata.gz: dda6951776c4718cc0489e28c94ee95d2acddaa3
4
+ data.tar.gz: ea5316e4f7eed15c6a51a969f1cf35e4330540e8
5
5
  SHA512:
6
- metadata.gz: eeda51547bb8cf4d2a5b21194f5988b551b87a3cdf9392737b95a5b5f1476542c89db11266f982413349a9ab39e217b1df12ed3d8adaba274ae2feb0aed9115b
7
- data.tar.gz: 5be17cd3024a8eb353c7e63694bc4360568cc9d12a59940033b3fbca064c05eb6c26e59536db514395c754c5a5ceacc3b44f7e0ad74b9cb9b1fe4e66e58ed372
6
+ metadata.gz: 7ff7192cb265d7d7b24539e61b9adb336ce52f7e3a6a15f7520914cc3a83a905914185bfb644b10fa27584afbf5e9313c8cb7139744a8cc7f941e4e089815323
7
+ data.tar.gz: 9a95ed7556e1e0d4a78e3905182d79039e228a52590a7a874b9dc4171ff603b656a85adb08c9b84d4e7ec1a6e85e3acb50f274673b8f7efe7c35e16acfac7e13
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kril (0.2.3)
4
+ kril (0.2.4)
5
5
  avro_turf (~> 0.8.0)
6
6
  clamp (~> 1.2, >= 1.2.1)
7
7
  ruby-kafka (~> 0.5.3)
@@ -16,7 +16,7 @@ GEM
16
16
  excon (~> 0.45)
17
17
  clamp (1.2.1)
18
18
  diff-lcs (1.3)
19
- excon (0.61.0)
19
+ excon (0.62.0)
20
20
  httparty (0.13.7)
21
21
  json (~> 1.8)
22
22
  multi_xml (>= 0.5.2)
data/bin/kril CHANGED
@@ -91,13 +91,12 @@ Clamp do
91
91
  producer = Kril::Producer.new(kafka: kafka, avro: avro)
92
92
  name, namespace, fullname = schema_name(store)
93
93
  record_as_json = JSON.parse(record)
94
- topic ||= fullname
95
94
  producer.send(record: record_as_json,
96
95
  schema_name: name,
97
96
  namespace: namespace,
98
- topic: topic,
97
+ topic: topic || fullname,
99
98
  syncronous: synchronous?)
100
- print_record(topic, record_as_json)
99
+ print_record(topic || fullname, record_as_json)
101
100
  end
102
101
 
103
102
  def consume_records(kafka, avro)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kril
4
- VERSION = '0.2.3'
4
+ VERSION = '0.2.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kril
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Bowman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-26 00:00:00.000000000 Z
11
+ date: 2018-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf