logstash-filter-anonymize 2.0.0 → 2.0.1

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
  SHA1:
3
- metadata.gz: 9d61af78380b787e45487ccbabac1553fb550e30
4
- data.tar.gz: 3effdd7bfc620aec93c2de75890ee8674438f6b5
3
+ metadata.gz: 85faef6df23af92018c3f76e4f8b71180d5ab870
4
+ data.tar.gz: 34fd3d91368f37379a5fd8c33a3c85b20b3887df
5
5
  SHA512:
6
- metadata.gz: 5022a70b6cefbc57c7a8bddfce3c984f5cd106af469fd7ac39b0d0baaa26e40d25ecfbcf6a422270cab7923fc7cb97f365b8411275a4177d8e13fb7ab222ed2a
7
- data.tar.gz: bc24a7498b5d2b52a111ab6d37a14d8a79c223260d77dd1f824913390d20fb714b4ff8f3a67d02f86869aa116a23ff4c1c65b43d8086bd91d850b97e4d667d9a
6
+ metadata.gz: fa0cdd22911da640e617fdced9af1c13ee34a79928d534597890375cc060355418153597d6a9fde34291ea4b4838cbf221745cf5afaa0ca980ad98950cb6f1ff
7
+ data.tar.gz: 093a755dd203df2fa815fb2601fd33714826664850e351bf6352d04f567c02018fdd98f4c63fd535c97e13ff8a27e986b8ed38f6f44813ffbb032283663d2541
data/CHANGELOG.md CHANGED
@@ -0,0 +1,5 @@
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
+
@@ -35,7 +35,7 @@ class LogStash::Filters::Anonymize < LogStash::Filters::Base
35
35
 
36
36
  public
37
37
  def filter(event)
38
- return unless filter?(event)
38
+
39
39
  @fields.each do |field|
40
40
  next unless event.include?(field)
41
41
  if event[field].is_a?(Array)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-anonymize'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Anonymize fields using by replacing values with a consistent hash"
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 'murmurhash3'
26
26
  s.add_development_dependency 'logstash-devutils'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-anonymize
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: