deimos-ruby 2.0.0.pre.alpha4 → 2.0.0.pre.alpha6

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
  SHA256:
3
- metadata.gz: 13ff4c1182fe82aa5e41b6981480e463588c64803b060d1ea68aeeded001b945
4
- data.tar.gz: 3cd1ff2eac1aa981aeef0c15d399850ffbfb13a71a3315476f62494eaea16f09
3
+ metadata.gz: b6318df2cd977604adf4ca47936a32963f388b53ba2dbd493f93b75f43bdb451
4
+ data.tar.gz: b7f506393529e41a6e2df0f3bf4b7e4162bdf1b79a51e04a261e664c3ea26c3f
5
5
  SHA512:
6
- metadata.gz: '0389849fa59d727f6b44d850874e4b6a694e856b9dbfa1624282b77f6113ae31a208f3f41dae677b4563add662b7232462575059b05867298fd40440255d5e3d'
7
- data.tar.gz: f03cd3234d22da82ae55976478023b90353823cceea9440aa805cc8994a527867ca1af074c6df2eb99a96f9a0efaa14a8da5bd10a00f5d0bf01c0bf746687333
6
+ metadata.gz: 4e899c5e27829e78cb61fb51b1d7de28330109969e6f37555f9b591bee17b7da6f49496384bce87a960c005d24c44925f52ba3e4a281bad9c9bd6563f594472d
7
+ data.tar.gz: 718ba56a1c9a1c2ec1ce681e751b6fa0258c85f95debca251cb6c2854f220500bb3e1fa053cf9203153203c96a8f94a9ed087b022147da08fc8b0e18d0f3150d
@@ -13,6 +13,10 @@ class Matcher
13
13
 
14
14
  def replay_on(topic_node)
15
15
  @applications.each do |method, kwargs|
16
+ if method == :kafka
17
+ topic_node.kafka = kwargs
18
+ next
19
+ end
16
20
  if kwargs.is_a?(Hash)
17
21
  ref = topic_node.public_send(method)
18
22
 
@@ -8,9 +8,8 @@ module Deimos
8
8
  logger.send(method, msg.to_json)
9
9
  end
10
10
  else
11
- logger.send(method, msg.to_json)
11
+ Karafka.logger.send(method, msg.to_json)
12
12
  end
13
-
14
13
  end
15
14
 
16
15
  def log_info(*args)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '2.0.0-alpha4'
4
+ VERSION = '2.0.0-alpha6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.alpha4
4
+ version: 2.0.0.pre.alpha6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf