logstash-output-charrington 0.3.16 → 0.3.17

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: 94729829f8d0a679e21b264079ba18ded80a374afc2eedff99a063b9c40381bf
4
- data.tar.gz: 382f8290e530f6ee78a93f53ab81ce7f5c6ab27385795aeb313ca8309f5ed1bf
3
+ metadata.gz: 0cf7a7e31f60658b928c33e88623e3f9e7c00153ba01c46b95460840d76a31ed
4
+ data.tar.gz: 8925549da8cc89f01a4e466b7bd9533b64d0320183f0c4b38c17601e7d6dd3cb
5
5
  SHA512:
6
- metadata.gz: 5b9e425e3eaf61785ce59e63fea1f39db54611f1cc1176bc5fc82c5be49a730b94627a394164ee76014a2a80d4940fc0fbde0b0582cf84e3e45f673195ba041f
7
- data.tar.gz: 66f92a5bfb76cb400add4feff87409600baff3f70ede790ee98904df6bd9786831acc4a567167b64768b90f6048640d97c73cb8994c9a0e94c0b06ed4302c3ef
6
+ metadata.gz: dbd7c7b04eb76f6a178aaff6be8ecad8442335ea8bc55eec0a18e9fde1979df7496d98cfd7cc42e14277c303a8201473cbc50b31803490247be07981a5de7367
7
+ data.tar.gz: 83de0ee0c6fd4532ab24b49bde0f73a36fd66106dcaf5e78c46351724ba4dfda1373d0ba7ea8029e4b35b70072781a6f44d7a7b61645b4715650aa2e997f7f92
@@ -78,13 +78,21 @@ module Charrington
78
78
  def transform_session_stuff(hash)
79
79
  session_stuff = hash["session"] || {}
80
80
 
81
- session_stuff.each {|k, v| hash["context_#{k}"] = v }
81
+ session_stuff.each {|k, v|
82
+ next unless k.kind_of?(String)
83
+
84
+ hash["context_#{k}"] = v
85
+ }
82
86
  end
83
87
 
84
88
  def handle_meta_section(hash)
85
89
  meta_section = hash["meta"] || {}
86
90
 
87
- meta_section.each {|k, v| hash[k] = v }
91
+ meta_section.each {|k, v|
92
+ next unless k.kind_of?(String)
93
+
94
+ hash[k] = v
95
+ }
88
96
  end
89
97
 
90
98
  def check_blacklist
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-charrington'
3
- s.version = '0.3.16'
3
+ s.version = '0.3.17'
4
4
 
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.homepage = 'https://gitlab.podium.com/engineering/analytics/logstash-output-charrington'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-charrington
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - dconger
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-08-07 00:00:00.000000000 Z
13
+ date: 2019-08-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  requirement: !ruby/object:Gem::Requirement