logstash-filter-environment 2.0.1 → 2.0.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
  SHA1:
3
- metadata.gz: e18db4701bc094d9aebd4fd92dbf1cac0ddbfde6
4
- data.tar.gz: 36fd9fd8b5b6250fc19de93b4a15524362b2fdb9
3
+ metadata.gz: 36de481844ac818fc17102c9bcf39ea33458a427
4
+ data.tar.gz: 478f9a4956c114a812ce536e5a8fbd2531999976
5
5
  SHA512:
6
- metadata.gz: da82518c7b001758e8651eec04434eb4a8bc0f61f396239a96cd8bb8dba2b12675296e2cf5d5b9d29b121c801058828f87f5c4dea8b5cf1fb6425bd348463137
7
- data.tar.gz: e48ffc5db95774c7d8852865e19e62c509b4ac2534f9345e2fdef46539629ea7a574f4713c4fe7bcc9faf05defc20bf582034c942c92e9d5e528d05afce9c53c
6
+ metadata.gz: b68e71a5dc390e64a488b923dfbfa908ee6b09beb6a70d3f05a39c1aa6c5bf64da9909adf84fa9c4426f3993cb32253b2b636dba5dc72cd03eed8a7913c8c41a
7
+ data.tar.gz: 8c22821aaf6f4317cf88d1e6debe8c3713fa8ac4191d8a260c285a0fa7bc3759c4ce05a2a196eb7149955a87a623ccbcf827d3c4f8298a7dbacac72737ebdb03
@@ -1,3 +1,5 @@
1
+ ## 2.0.2
2
+ - Filtering using `tags` or `type` option is now deprecated, please use conditionals Ref: https://github.com/elastic/logstash/pull/4011
1
3
  ## 2.0.0
2
4
  - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
5
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-environment'
4
- s.version = '2.0.1'
4
+ s.version = '2.0.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Set fields from environment variables"
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"
@@ -21,23 +21,4 @@ describe LogStash::Filters::Environment do
21
21
  insist { subject["@metadata"]["newfield"] } == "hello world"
22
22
  end
23
23
  end
24
-
25
- describe "does nothing on non-matching events" do
26
- # The logstash config goes here.
27
- # At this time, only filters are supported.
28
- config <<-CONFIG
29
- filter {
30
- environment {
31
- type => "foo"
32
- add_metadata_from_env => [ "newfield", "MY_ENV_VAR" ]
33
- }
34
- }
35
- CONFIG
36
-
37
- ENV["MY_ENV_VAR"] = "hello world"
38
-
39
- sample("type" => "bar", "message" => "fizz") do
40
- insist { subject["@metadata"]["newfield"] }.nil?
41
- end
42
- end
43
24
  end
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-environment
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-08 00:00:00.000000000 Z
11
+ date: 2015-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- requirement: !ruby/object:Gem::Requirement
14
+ name: logstash-core
15
+ version_requirements: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - '>='
17
18
  - !ruby/object:Gem::Version
@@ -19,10 +20,7 @@ dependencies:
19
20
  - - <
20
21
  - !ruby/object:Gem::Version
21
22
  version: 3.0.0
22
- name: logstash-core
23
- prerelease: false
24
- type: :runtime
25
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
25
  - - '>='
28
26
  - !ruby/object:Gem::Version
@@ -30,35 +28,37 @@ dependencies:
30
28
  - - <
31
29
  - !ruby/object:Gem::Version
32
30
  version: 3.0.0
31
+ prerelease: false
32
+ type: :runtime
33
33
  - !ruby/object:Gem::Dependency
34
- requirement: !ruby/object:Gem::Requirement
34
+ name: logstash-devutils
35
+ version_requirements: !ruby/object:Gem::Requirement
35
36
  requirements:
36
37
  - - '>='
37
38
  - !ruby/object:Gem::Version
38
39
  version: '0'
39
- name: logstash-devutils
40
- prerelease: false
41
- type: :development
42
- version_requirements: !ruby/object:Gem::Requirement
40
+ requirement: !ruby/object:Gem::Requirement
43
41
  requirements:
44
42
  - - '>='
45
43
  - !ruby/object:Gem::Version
46
44
  version: '0'
45
+ prerelease: false
46
+ type: :development
47
47
  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
48
48
  email: info@elastic.co
49
49
  executables: []
50
50
  extensions: []
51
51
  extra_rdoc_files: []
52
52
  files:
53
+ - lib/logstash/filters/environment.rb
54
+ - spec/filters/environment_spec.rb
55
+ - logstash-filter-environment.gemspec
56
+ - README.md
53
57
  - CHANGELOG.md
54
58
  - CONTRIBUTORS
55
59
  - Gemfile
56
60
  - LICENSE
57
61
  - NOTICE.TXT
58
- - README.md
59
- - lib/logstash/filters/environment.rb
60
- - logstash-filter-environment.gemspec
61
- - spec/filters/environment_spec.rb
62
62
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
63
63
  licenses:
64
64
  - Apache License (2.0)
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.4.8
84
+ rubygems_version: 2.1.9
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Set fields from environment variables