logstash-filter-geoip 5.0.1-java → 5.0.5-java

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
- SHA1:
3
- metadata.gz: d84768df5158ea1a9ac319f43dbbf142de35b0c2
4
- data.tar.gz: 9ca3d0a9a6f5965a666b0ffd4acb326e4aa62963
2
+ SHA256:
3
+ metadata.gz: b4001fcb4f99720f82469a008684c8c0705635c0535be052057d0d06b55046af
4
+ data.tar.gz: c9cbc91bc27a23b19ba8036ebc21194564c38b396b40d82a4a138fefc06cda61
5
5
  SHA512:
6
- metadata.gz: 9afc0212be14e5e2e680db9325b53f618fd4fb7f22f284b3f6ca9e8f166439716c364f9d3c3d8b5a94704a5f86b3bab4d341239b7fbfc0848bf047a909ac148f
7
- data.tar.gz: b8a22abc9496dcbc147316484f558b4ea15e54a2c6876e5cbb31070afe253edccaf51cc489a7fac6314ff39f2102ab8bd3c8433d68e3f422f4cda655e41dbbb3
6
+ metadata.gz: 06fdcfddcc38344374edacb89d165c34e2abe285a10834db592cab28c01fa727017988672f0619d70e1c0c3cceec9f901ebc0d7e97e80392b69287510b658d2a
7
+ data.tar.gz: a38a23bd612aa75d0f4ba49d33e6afbbcf9ce8afead27f7083b8660dda1370640eb45ad5261f20e74e5550414d638c94fa5f6392e9627525059fdb3d7958aecf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 5.0.5
2
+ - Update log4j dependency to 2.17.1
3
+
4
+ ## 5.0.4
5
+ - Updated Log4j dependency to 2.17.0
6
+
7
+ ## 5.0.3
8
+ - Skip lookup operation if source field contains an empty string
9
+ - Update of the GeoIP2 DB
10
+
11
+ ## 5.0.2
12
+ - Update gemspec summary
13
+
1
14
  ## 5.0.1
2
15
  - Fix some documentation issues
3
16
 
@@ -3,4 +3,4 @@
3
3
  require 'jar_dependencies'
4
4
  require_jar('com.maxmind.geoip2', 'geoip2', '2.9.0')
5
5
  require_jar('com.maxmind.db', 'maxmind-db', '1.2.2')
6
- require_jar('org.logstash.filters', 'logstash-filter-geoip', '4.2.0')
6
+ require_jar('org.logstash.filters', 'logstash-filter-geoip', '5.0.5')
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-geoip'
4
- s.version = '5.0.1'
4
+ s.version = '5.0.5'
5
5
  s.licenses = ['Apache License (2.0)']
6
- s.summary = "$summary"
6
+ s.summary = "Adds geographical information about an IP address"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
8
8
  s.authors = ["Elastic"]
9
9
  s.email = 'info@elastic.co'
@@ -93,7 +93,7 @@ describe LogStash::Filters::GeoIP do
93
93
 
94
94
  it "should set other subfields of 'target' properly" do
95
95
  expect(event.get("target").to_hash.keys.sort).to eq(["city_name", "ip", "region_name"])
96
- expect(event.get("[target][city_name]")).to eq("Worcester")
96
+ expect(event.get("[target][city_name]")).to eq("Watertown")
97
97
  expect(event.get("[target][region_name]")).to eq("Massachusetts")
98
98
  end
99
99
 
@@ -183,6 +183,14 @@ describe LogStash::Filters::GeoIP do
183
183
  sample("ip" => "~") do
184
184
  expect{ subject }.to_not raise_error
185
185
  end
186
+
187
+ sample("ip" => "") do
188
+ expect{ subject }.to_not raise_error
189
+ end
190
+
191
+ sample("ip" => " ") do
192
+ expect{ subject }.to_not raise_error
193
+ end
186
194
  end
187
195
 
188
196
  describe "filter method outcomes" do
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-geoip
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.5
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-16 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -58,7 +58,9 @@ dependencies:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
- description: This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program
61
+ description: This gem is a Logstash plugin required to be installed on top of the
62
+ Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
63
+ gem is not a stand-alone program
62
64
  email: info@elastic.co
63
65
  executables: []
64
66
  extensions: []
@@ -82,7 +84,8 @@ files:
82
84
  - vendor/LICENSE.txt
83
85
  - vendor/jar-dependencies/com/maxmind/db/maxmind-db/1.2.2/maxmind-db-1.2.2.jar
84
86
  - vendor/jar-dependencies/com/maxmind/geoip2/geoip2/2.9.0/geoip2-2.9.0.jar
85
- - vendor/jar-dependencies/org/logstash/filters/logstash-filter-geoip/4.2.0/logstash-filter-geoip-4.2.0.jar
87
+ - vendor/jar-dependencies/org/logstash/filters/logstash-filter-geoip/5.0.4/logstash-filter-geoip-5.0.4.jar
88
+ - vendor/jar-dependencies/org/logstash/filters/logstash-filter-geoip/5.0.5/logstash-filter-geoip-5.0.5.jar
86
89
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
87
90
  licenses:
88
91
  - Apache License (2.0)
@@ -105,10 +108,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
108
  - !ruby/object:Gem::Version
106
109
  version: '0'
107
110
  requirements: []
108
- rubyforge_project:
109
- rubygems_version: 2.4.8
111
+ rubygems_version: 3.1.6
110
112
  signing_key:
111
113
  specification_version: 4
112
- summary: "$summary"
114
+ summary: Adds geographical information about an IP address
113
115
  test_files:
114
116
  - spec/filters/geoip_spec.rb