logstash-output-charrington 0.3.25 → 0.3.26

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: bbc89a196e03294552a4b25fef760461874c3eb8fad194845e127cc517d1a53f
4
- data.tar.gz: a330a0c2c09a9d4c8746244e3320e76ce121bfee85e97304ddebf87deccf9b31
3
+ metadata.gz: 9e1dc7c6c92672c4d42224e9a9e617e3a2cd3599e2ec65d03822b1b095c23714
4
+ data.tar.gz: '06886089b25d6ff468a6741f82f70be806f5d11a56d63f0709c1796b32ddbee4'
5
5
  SHA512:
6
- metadata.gz: e206bed7a803e0f999931fdddc0f95769cab0ed47ac9813ae27934decf695de7f1a5d38f95f01168c3d8ae6eede046c5b247a31a1efb8a6919ec34cc32da6905
7
- data.tar.gz: d94bcd0d15c6fe32bcaa937f3a78231f592e2dffd90217e8a8635faaef3747c121989e8552ae66d5a019be9cf3e5ba066c375922608f25a332dcaf596e5efa20
6
+ metadata.gz: 0c28fb16d1494ac30c28d05102367475b094bee1160b5d42688da24ad9e1a0511a0533c338b661cdaa6e89b1c1bdc7a4d7cb4a049544b8d8d37524c6bf308ebc
7
+ data.tar.gz: f2fb7a4ea94a0e401d324452826c936dddf0b5624cedd4ec30f81ef85bb0ffc178547307ef4888fa822a3378b8c9e371f00a75c3c61b81e968295022408d1030
@@ -227,7 +227,7 @@ module Charrington
227
227
  end
228
228
 
229
229
  def clearable(obj)
230
- obj.is_a? Hash or obj.is_a? Array
230
+ obj.is_a?(Hash) || obj.is_a?(Array)
231
231
  end
232
232
 
233
233
  def underscore(str)
@@ -71,7 +71,7 @@ module Charrington
71
71
  end
72
72
 
73
73
  def clearable(obj)
74
- obj.is_a? Hash or obj.is_a? Array
74
+ obj.is_a?(Hash) || obj.is_a?(Array)
75
75
  end
76
76
  end
77
77
  end
@@ -5,7 +5,7 @@ require 'logstash/namespace'
5
5
  require 'concurrent'
6
6
  require 'stud/interval'
7
7
  require 'java'
8
- require 'logstash-output-charrington_jars'
8
+ require 'logstash_output_charrington_jars'
9
9
  require 'json'
10
10
  require 'bigdecimal'
11
11
  require File.join(File.dirname(__FILE__), 'charrington/process')
@@ -1,6 +1,18 @@
1
- # frozen_string_literal: true
1
+ # this is a generated file, to avoid over-writing it just delete this comment
2
+ begin
3
+ require 'jar_dependencies'
4
+ rescue LoadError
5
+ require 'com/zaxxer/HikariCP/2.7.2/HikariCP-2.7.2.jar'
6
+ require 'org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar'
7
+ require 'org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar'
8
+ require 'org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar'
9
+ require 'org/apache/logging/log4j/log4j-slf4j-impl/2.17.0/log4j-slf4j-impl-2.17.0.jar'
10
+ end
2
11
 
3
- require 'logstash/environment'
4
-
5
- root_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
6
- LogStash::Environment.load_runtime_jars! File.join(root_dir, 'vendor')
12
+ if defined? Jars
13
+ require_jar 'com.zaxxer', 'HikariCP', '2.7.2'
14
+ require_jar 'org.slf4j', 'slf4j-api', '1.7.25'
15
+ require_jar 'org.apache.logging.log4j', 'log4j-api', '2.17.0'
16
+ require_jar 'org.apache.logging.log4j', 'log4j-core', '2.17.0'
17
+ require_jar 'org.apache.logging.log4j', 'log4j-slf4j-impl', '2.17.0'
18
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'logstash/environment'
4
+
5
+ root_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
6
+ LogStash::Environment.load_runtime_jars! File.join(root_dir, 'vendor')
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'logstash-output-charrington'
5
- s.version = '0.3.25'
5
+ s.version = '0.3.26'
6
6
 
7
7
  s.licenses = ['Apache-2.0']
8
8
  s.homepage = 'https://gitlab.podium.com/engineering/analytics/logstash-output-charrington'
@@ -26,11 +26,11 @@ Gem::Specification.new do |s|
26
26
  # The 'install_jars' rake task will download these jars from Maven and put them into the vendor directory
27
27
  # See jar-dependencies gem's wiki - https://github.com/mkristian/jar-dependencies/wiki/declare-jars-inside-gemspec
28
28
  s.requirements << "jar 'com.zaxxer:HikariCP', '2.7.2'"
29
- s.requirements << "jar 'org.apache.logging.log4j:log4j-slf4j-impl', '2.16.0'"
29
+ s.requirements << "jar 'org.apache.logging.log4j:log4j-slf4j-impl', '2.17.0'"
30
30
 
31
31
  s.add_development_dependency 'jar-dependencies', '~> 0.4.1'
32
32
  s.add_development_dependency 'logstash-codec-json', '~> 3.0', '>= 3.0.5'
33
33
  s.add_development_dependency 'logstash-devutils', '~> 1.3', '>= 1.3.1'
34
34
  s.add_development_dependency 'logstash-input-generator', '~> 3.0', '>= 3.0.6'
35
- s.add_development_dependency 'rubocop', '0.41.2'
35
+ s.add_development_dependency 'rubocop', '1.0.0'
36
36
  end
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.25
4
+ version: 0.3.26
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: 2021-12-16 00:00:00.000000000 Z
13
+ date: 2021-12-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  requirement: !ruby/object:Gem::Requirement
@@ -131,7 +131,7 @@ dependencies:
131
131
  requirements:
132
132
  - - '='
133
133
  - !ruby/object:Gem::Version
134
- version: 0.41.2
134
+ version: 1.0.0
135
135
  name: rubocop
136
136
  prerelease: false
137
137
  type: :development
@@ -139,7 +139,7 @@ dependencies:
139
139
  requirements:
140
140
  - - '='
141
141
  - !ruby/object:Gem::Version
142
- version: 0.41.2
142
+ version: 1.0.0
143
143
  description: This gem is a logstash plugin required to be installed on top of the
144
144
  Logstash core pipeline using $LS_HOME/bin/logstash-plugin install 'logstash-output-charrington'.
145
145
  This gem is not a stand-alone program
@@ -161,9 +161,10 @@ files:
161
161
  - lib/logstash/outputs/charrington/service.rb
162
162
  - lib/logstash/outputs/charrington/transform_postgres.rb
163
163
  - lib/logstash/outputs/charrington/transform_redshift.rb
164
- - lib/org/apache/logging/log4j/log4j-api/2.16.0/log4j-api-2.16.0.jar
165
- - lib/org/apache/logging/log4j/log4j-core/2.16.0/log4j-core-2.16.0.jar
166
- - lib/org/apache/logging/log4j/log4j-slf4j-impl/2.16.0/log4j-slf4j-impl-2.16.0.jar
164
+ - lib/logstash_output_charrington_jars.rb
165
+ - lib/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar
166
+ - lib/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar
167
+ - lib/org/apache/logging/log4j/log4j-slf4j-impl/2.17.0/log4j-slf4j-impl-2.17.0.jar
167
168
  - lib/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
168
169
  - logstash-output-charrington.gemspec
169
170
  - spec/charrington_spec_helper.rb
@@ -172,9 +173,9 @@ files:
172
173
  - spec/outputs/charrington_postgres_spec.rb
173
174
  - spec/outputs/charrington_spec.rb
174
175
  - vendor/jar-dependencies/runtime-jars/HikariCP-2.7.2.jar
175
- - vendor/jar-dependencies/runtime-jars/log4j-api-2.16.0.jar
176
- - vendor/jar-dependencies/runtime-jars/log4j-core-2.16.0.jar
177
- - vendor/jar-dependencies/runtime-jars/log4j-slf4j-impl-2.16.0.jar
176
+ - vendor/jar-dependencies/runtime-jars/log4j-api-2.17.0.jar
177
+ - vendor/jar-dependencies/runtime-jars/log4j-core-2.17.0.jar
178
+ - vendor/jar-dependencies/runtime-jars/log4j-slf4j-impl-2.17.0.jar
178
179
  - vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.25.jar
179
180
  homepage: https://gitlab.podium.com/engineering/analytics/logstash-output-charrington
180
181
  licenses:
@@ -198,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
199
  version: '0'
199
200
  requirements:
200
201
  - jar 'com.zaxxer:HikariCP', '2.7.2'
201
- - jar 'org.apache.logging.log4j:log4j-slf4j-impl', '2.16.0'
202
+ - jar 'org.apache.logging.log4j:log4j-slf4j-impl', '2.17.0'
202
203
  rubyforge_project:
203
204
  rubygems_version: 2.7.6
204
205
  signing_key: