logstash-output-charrington 0.3.17 → 0.3.18

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: 0cf7a7e31f60658b928c33e88623e3f9e7c00153ba01c46b95460840d76a31ed
4
- data.tar.gz: 8925549da8cc89f01a4e466b7bd9533b64d0320183f0c4b38c17601e7d6dd3cb
3
+ metadata.gz: 0b33bf8ae97b4f7e31cb319aba8dcb4e62bbfd3aa68b4f5fe5f60aa51406f4f8
4
+ data.tar.gz: d523c4011534b1d6d3146553cb5f10362cb84d0139ed19098eb3a5ab76586a38
5
5
  SHA512:
6
- metadata.gz: dbd7c7b04eb76f6a178aaff6be8ecad8442335ea8bc55eec0a18e9fde1979df7496d98cfd7cc42e14277c303a8201473cbc50b31803490247be07981a5de7367
7
- data.tar.gz: 83de0ee0c6fd4532ab24b49bde0f73a36fd66106dcaf5e78c46351724ba4dfda1373d0ba7ea8029e4b35b70072781a6f44d7a7b61645b4715650aa2e997f7f92
6
+ metadata.gz: 80958ae53c637a81aa75a6374cea49da9bd4d3301d991ef9a43028e25204a92ce5010aa1e7c19b51e2fa7350d5e13a3c79c9a6b22e918fbc6919c598a56ac6e4
7
+ data.tar.gz: fe0679c6dce797ba141dd904666a72531075285ee97e33742ec6d75c42c4262ec26d1acc31b04494d90081fb05b871ab2f291b1648bc0c8895ecd8b942c8a284
@@ -38,7 +38,7 @@ module Charrington
38
38
 
39
39
  @table_name = underscore(event_name)
40
40
 
41
- @columns = event.keys
41
+ @columns = event.keys.map{|x| underscore(x)}
42
42
  @should_retry = false
43
43
  @enable_event_as_json_keyword = opts[:enable_event_as_json_keyword]
44
44
  @event_as_json_keyword = opts[:event_as_json_keyword]
@@ -229,7 +229,7 @@ module Charrington
229
229
  downcase.
230
230
  gsub(/[^a-z0-9]+/, "_").
231
231
  gsub(/\A_+/, "").
232
- gsub(/_+\z/, "")
232
+ gsub(/_+\z/, "")[0,64]
233
233
  end
234
234
 
235
235
  ### SQL
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-charrington'
3
- s.version = '0.3.17'
3
+ s.version = '0.3.18'
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.17
4
+ version: 0.3.18
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-21 00:00:00.000000000 Z
13
+ date: 2019-08-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  requirement: !ruby/object:Gem::Requirement