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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd2dfa466f501c97c8cf3702abe02ca15013084f
4
- data.tar.gz: c0f17e5e0729ad21abf1c9cafe5a6f3e3484b684
3
+ metadata.gz: bda577f8a7d82737341a8dd05eaf7851be08d25b
4
+ data.tar.gz: 50d0cfed4dc2006a712fdff0c7fc764c0f545a22
5
5
  SHA512:
6
- metadata.gz: a2e50ccdab095c293ec03406428849bb34069024ceab1c421e19e36f6779e4484fa994fe0c52fa16c87ab60db9214ba27af32c23547b04206132e0be85234913
7
- data.tar.gz: 2ff1ad572c1fb1388792eb3ae3c2944c221e8623c2990d44eb480192d3aa8c9e9e8393d5eddba29b6462e22eded18e58480627b6229134baf01758a30b924bda
6
+ metadata.gz: 9f6a5a4aaf00909c02101dcf5e29ab06740c50229f78b214a41407f44b49e5db58d4d527204c9a35906a062b543166edad4bb9450cb20e6710c3eb4f6043c19d
7
+ data.tar.gz: 0a0b824da5b196d2b1b41677fd4e190e82cffe1833e94092ad7bce5651b549a58d1cb820cb531050b0333cd8281cacf83fdffd0929216ce2298b37a3b102c30c
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Banter
2
- VERSION = "2.2.2"
2
+ VERSION = "2.2.3"
3
3
  end
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.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-09-16 00:00:00.000000000 Z
14
+ date: 2016-10-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler