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

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: 78560957e1493d4868ec357a218c517d6477ccd59b5edb0b2bd50f3dbde91a24
4
- data.tar.gz: 0ea590bca094fdf2514f3f9e15bc7b076fb10402091b1006e14c9e3bb39fff02
3
+ metadata.gz: 13ff4c1182fe82aa5e41b6981480e463588c64803b060d1ea68aeeded001b945
4
+ data.tar.gz: 3cd1ff2eac1aa981aeef0c15d399850ffbfb13a71a3315476f62494eaea16f09
5
5
  SHA512:
6
- metadata.gz: ff82889fd33ab1de8a1d862e17d22b6dd649fbd0427c58f2ea8bc419b875e2b0468e76ef1b37a1c584ce672468d1a760aad9e73a867910814adac2c5f8e52c31
7
- data.tar.gz: 483d54246596bf3f5c0d9a91880ede39826319eb821f26ac100aa5875975e353a380de72a34d2f0b2d3407610fd334ae1b5b221d005be99295ad55135727d6e8
6
+ metadata.gz: '0389849fa59d727f6b44d850874e4b6a694e856b9dbfa1624282b77f6113ae31a208f3f41dae677b4563add662b7232462575059b05867298fd40440255d5e3d'
7
+ data.tar.gz: f03cd3234d22da82ae55976478023b90353823cceea9440aa805cc8994a527867ca1af074c6df2eb99a96f9a0efaa14a8da5bd10a00f5d0bf01c0bf746687333
@@ -3,7 +3,11 @@ module Deimos
3
3
  class << self
4
4
 
5
5
  def log_add(method, msg)
6
- Karafka.logger.tagged('Deimos') do |logger|
6
+ if Karafka.logger.respond_to?(:tagged)
7
+ Karafka.logger.tagged('Deimos') do |logger|
8
+ logger.send(method, msg.to_json)
9
+ end
10
+ else
7
11
  logger.send(method, msg.to_json)
8
12
  end
9
13
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '2.0.0-alpha3'
4
+ VERSION = '2.0.0-alpha4'
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.alpha3
4
+ version: 2.0.0.pre.alpha4
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-05 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf