deimos-ruby 2.0.0.pre.alpha3 → 2.0.0.pre.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deimos/ext/routing_defaults.rb +4 -0
- data/lib/deimos/logging.rb +5 -1
- data/lib/deimos/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f174004429b26dba2e066181607728000a686fcf0abf7c9ddf332db5d190e4d5
|
4
|
+
data.tar.gz: be62dcd3b9f8ceef6f1a7b4e1d5f719c9949566240e208e0fd7d2c364b6b754f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02c069c331892334501eb2c9d67a80d58cd124ab80aa4c2485c497dccc4ee8a8974964370b53b9f5c66d205eaafc21d712f4fd73c2a203dacc45b9b0a35de6fc
|
7
|
+
data.tar.gz: 2c3703d6e147bd803d69971042a2c3fb805bd75955ff5473daed2eb90e69dcc5f830deaf25e3bef0ef3d811e8d9eeb2eb3951b8706b8eb81e877f60626720601
|
data/lib/deimos/logging.rb
CHANGED
@@ -3,7 +3,11 @@ module Deimos
|
|
3
3
|
class << self
|
4
4
|
|
5
5
|
def log_add(method, msg)
|
6
|
-
Karafka.logger.tagged
|
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
|
|
data/lib/deimos/version.rb
CHANGED
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.
|
4
|
+
version: 2.0.0.pre.alpha5
|
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-
|
11
|
+
date: 2024-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro_turf
|