logstash-filter-geoip 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f10f7e1320c4734347a04a3dc0ff10691c820a2c
4
- data.tar.gz: 066fe71c22d3eb69a32247518ab39839864bc4c9
3
+ metadata.gz: 1e1287908ed9b222985f2fcf7ed05fb2612a26c8
4
+ data.tar.gz: 1564729278357b711ccb73e7290840e3d754721b
5
5
  SHA512:
6
- metadata.gz: 0747036607f11afd1cb5530df5d13b8a3acea9febea8af946e8883dc1cfbdd69de93354b10c182045ce4d43c5a4d11b663d029d975779bd14c80cb2d3496ab2a
7
- data.tar.gz: f075ddb9803b6a974dfdd3fc25b9b7fcee2bc55e2a634ba365cadaf0bf0e0c73c5f3565f2547148db4a0333548ed05f47810372d697c3a78a60e9f56b94bb237
6
+ metadata.gz: 0b37eca42015946556d6329d0c3896c43b7c80bd626227595b323545bdea33682a4aa1e896ec5b8116060bfbd757472baa3b8ff1d0f62a6f872dda0de2b39efa
7
+ data.tar.gz: dc36232633fd6e98fe503bf080f61b353812aa68f169b7b4880ad993c52bf303b51e06a3ee68db1b5d80684a68cd77cac4cc81d318c4fe6fad3a66b81f714509
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 2.0.0
2
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
+ instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
4
+ - Dependency on logstash-core update to 2.0
5
+
1
6
  * 1.1.2
2
7
  - Be more defensive with threadsafety, mostly for specs
3
8
  * 1.1.1
@@ -124,7 +124,7 @@ class LogStash::Filters::GeoIP < LogStash::Filters::Base
124
124
 
125
125
  public
126
126
  def filter(event)
127
- return unless filter?(event)
127
+
128
128
  geo_data = nil
129
129
 
130
130
  geo_data = get_geo_data(event)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-geoip'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "$summary"
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/plugin install gemname. This gem is not a stand-alone program"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
23
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
24
24
 
25
25
  s.add_runtime_dependency 'geoip', ['>= 1.3.2']
26
26
  s.add_runtime_dependency 'lru_redux', "~> 1.1.0"
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-geoip
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-23 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ~>
16
+ - - '>='
17
17
  - !ruby/object:Gem::Version
18
18
  version: 2.0.0.snapshot
19
+ - - <
20
+ - !ruby/object:Gem::Version
21
+ version: 3.0.0
19
22
  name: logstash-core
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 2.0.0.snapshot
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements: