fluent-plugin-postgresql-csvlog 0.9.1 → 0.9.2

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: c4582402dc838927244010b6d94558f28277f9dc00029f884c20db64ae9ae748
4
- data.tar.gz: 8948065605ac1b2e3d143ac8c578d4e417f5ca7038b6edc8eccf7451b630e8db
3
+ metadata.gz: 5bbac50b30c3a585cf23b58ae413fa4ff40c664346680548e342c70bff796696
4
+ data.tar.gz: 25f733282fc1c10704bd8ea0ae2af563f6d569ee2d68e63e3df38b8ea31631f9
5
5
  SHA512:
6
- metadata.gz: 7aed5edb28f5a8061b5e1b38b5b79095e2bf1d4a2e051f19a697b5e336eb674c2fd300af352b58ca1834e6242efb4e391fb51dd74e00fdfb11efde68d3f67869
7
- data.tar.gz: e551e2786813a0e084e1fc8d2bacea59076edf1fb27e51b26f744d2ca6eac293a8c6f820d3476381695da2bb74fab755aacebf3ba661d1e8fd4a3dcdf0fea026
6
+ metadata.gz: aaaecacfe5ed442dfcec714c29d4e08255bc202b0672f8e4c39e5a0b71303e5ded858b4615085ec3962c7b62d11f576b7c8700758e2217aa15a43dc9a4e491b5
7
+ data.tar.gz: 3c17fef4a6f58b9203b125aece0b2d9806af8ce1589b1c4b09c44cfcd12f45fc6e3e9bbd30d0934eef7ab26567b44dd767423e87bcf75914500e9acd6aa750e0
@@ -2,7 +2,7 @@ $:.push File.expand_path('lib', __dir__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'fluent-plugin-postgresql-csvlog'
5
- s.version = '0.9.1'
5
+ s.version = '0.9.2'
6
6
  s.authors = ['stanhu']
7
7
  s.email = ['stanhu@gmail.com']
8
8
  s.homepage = 'https://gitlab.com/gitlab-org/fluent-plugins/fluent-plugin-postgresql-csvlog'
@@ -22,7 +22,7 @@ module Fluent::Plugin
22
22
  return record unless statement
23
23
 
24
24
  normalized = PgQuery.normalize(statement)
25
- record[@fingerprint_key] = PgQuery.parse(normalized).fingerprint if @fingerprint_key
25
+ record[@fingerprint_key] = PgQuery.fingerprint(normalized) if @fingerprint_key
26
26
 
27
27
  record.delete(@input_key)
28
28
  record[@output_key] = normalized
@@ -112,7 +112,7 @@ module Fluent::Plugin
112
112
  normalized = PgQuery.normalize(query)
113
113
  record['query'] = normalized
114
114
 
115
- record[@fingerprint_key] = PgQuery.parse(normalized).fingerprint if @fingerprint_key
115
+ record[@fingerprint_key] = PgQuery.fingerprint(normalized) if @fingerprint_key
116
116
 
117
117
  record
118
118
  rescue PgQuery::ParseError
@@ -73,7 +73,7 @@ module Fluent::Plugin
73
73
  normalized = PgQuery.normalize(query)
74
74
  record['query'] = normalized
75
75
 
76
- record[@fingerprint_key] = PgQuery.parse(normalized).fingerprint if @fingerprint_key
76
+ record[@fingerprint_key] = PgQuery.fingerprint(normalized) if @fingerprint_key
77
77
 
78
78
  record
79
79
  rescue PgQuery::ParseError
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-postgresql-csvlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - stanhu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-25 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd