banter 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/banter/rabbit_logger.rb +1 -1
- data/lib/banter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bda577f8a7d82737341a8dd05eaf7851be08d25b
|
4
|
+
data.tar.gz: 50d0cfed4dc2006a712fdff0c7fc764c0f545a22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f6a5a4aaf00909c02101dcf5e29ab06740c50229f78b214a41407f44b49e5db58d4d527204c9a35906a062b543166edad4bb9450cb20e6710c3eb4f6043c19d
|
7
|
+
data.tar.gz: 0a0b824da5b196d2b1b41677fd4e190e82cffe1833e94092ad7bce5651b549a58d1cb820cb531050b0333cd8281cacf83fdffd0929216ce2298b37a3b102c30c
|
data/lib/banter/rabbit_logger.rb
CHANGED
@@ -49,7 +49,7 @@ module Banter
|
|
49
49
|
|
50
50
|
def self.internal_log(log_level, log_type, envelope, routing_key, payload)
|
51
51
|
return unless enabled?
|
52
|
-
tags = [log_type, envelope[:ts].to_s, envelope[:pub], envelope[:v].to_s, routing_key].map{|x| utf(x)}
|
52
|
+
tags = [log_type, envelope[:ts].to_s, envelope[:pub], envelope[:v].to_s, routing_key].compact.map{|x| utf(x)}
|
53
53
|
logger.tagged(tags) { logger.send(log_level, utf(payload.to_s)) }
|
54
54
|
end
|
55
55
|
|
data/lib/banter/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: banter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Honest Company
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-10-20 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|