logstash-filter-cleverxml 1.0.0 → 2.0.0

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: 728014a70cda22cc1fdb803c25cbdb4498c7ee9d
4
- data.tar.gz: b50591f1688faf6d1aa75ef06cca34759d86998b
3
+ metadata.gz: e533ada1c3ed655ba2e2b8510aa266da17d07d55
4
+ data.tar.gz: df308c7840810f97dddfe23aa7612089acf2de3c
5
5
  SHA512:
6
- metadata.gz: 68e0c28402a8bff7b126e784eb6e89fc2049c2c83f7a23e6c9878a761fa357c2473cab731a69c6a8cbfa3be48b111871397805016a3f0985250b2c2b1b3dfcab
7
- data.tar.gz: 239ce573efd1f24fb5149cc79bb01109d8bf39617412adb968e9a3725dceb8f839f4e63f06849b99a67d75436e4ab5bb00dc6720514aee6f4be79e53f9af604b
6
+ metadata.gz: 139e8124d97cdce02c116da3949d2b9368e9a9c3ced785010d9ad554ce86d8a637dc831962097d980fd3182714b670e9e959b78348949ae7840f4998a78802d7
7
+ data.tar.gz: bf91a7671481c78549a236ba64a09b336e91b98aaa19e011f72ce207fa1f5ac2d3b707b82b1d91dcdc31f828808f8ac999bba9c53b3fb2acc56d791086c83577
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-cleverxml'
4
- s.version = '1.0.0'
4
+ s.version = '2.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Takes a field that contains XML and expands it into an actual datastructure."
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", ">= 1.4.0", "< 2.0.0"
23
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.beta2", "< 3.0.0"
24
24
  s.add_runtime_dependency 'nokogiri'
25
25
  s.add_runtime_dependency 'xml-simple'
26
26
 
@@ -7,7 +7,7 @@ describe LogStash::Filters::Cleverxml do
7
7
  describe "parse standard xml (Deprecated checks)" do
8
8
  config <<-CONFIG
9
9
  filter {
10
- cleverxml {
10
+ xml {
11
11
  source => "raw"
12
12
  target => "data"
13
13
  }
@@ -40,7 +40,7 @@ describe LogStash::Filters::Cleverxml do
40
40
  describe "parse standard xml but do not store (Deprecated checks)" do
41
41
  config <<-CONFIG
42
42
  filter {
43
- cleverxml {
43
+ xml {
44
44
  source => "raw"
45
45
  target => "data"
46
46
  store_xml => false
@@ -57,7 +57,7 @@ describe LogStash::Filters::Cleverxml do
57
57
  describe "parse xml and store values with xpath (Deprecated checks)" do
58
58
  config <<-CONFIG
59
59
  filter {
60
- cleverxml {
60
+ xml {
61
61
  source => "raw"
62
62
  target => "data"
63
63
  xpath => [ "/foo/key/text()", "xpath_field" ]
@@ -83,7 +83,7 @@ describe LogStash::Filters::Cleverxml do
83
83
  describe "parse standard xml" do
84
84
  config <<-CONFIG
85
85
  filter {
86
- cleverxml {
86
+ xml {
87
87
  source => "xmldata"
88
88
  target => "data"
89
89
  }
@@ -116,7 +116,7 @@ describe LogStash::Filters::Cleverxml do
116
116
  describe "parse standard xml but do not store" do
117
117
  config <<-CONFIG
118
118
  filter {
119
- cleverxml {
119
+ xml {
120
120
  source => "xmldata"
121
121
  target => "data"
122
122
  store_xml => false
@@ -133,7 +133,7 @@ describe LogStash::Filters::Cleverxml do
133
133
  describe "parse xml and store values with xpath" do
134
134
  config <<-CONFIG
135
135
  filter {
136
- cleverxml {
136
+ xml {
137
137
  source => "xmldata"
138
138
  target => "data"
139
139
  xpath => [ "/foo/key/text()", "xpath_field" ]
@@ -157,7 +157,7 @@ describe LogStash::Filters::Cleverxml do
157
157
  describe "parse correctly non ascii content with xpath" do
158
158
  config <<-CONFIG
159
159
  filter {
160
- cleverxml {
160
+ xml {
161
161
  source => "xmldata"
162
162
  target => "data"
163
163
  xpath => [ "/foo/key/text()", "xpath_field" ]
@@ -175,7 +175,7 @@ describe LogStash::Filters::Cleverxml do
175
175
  describe "parse including namespaces" do
176
176
  config <<-CONFIG
177
177
  filter {
178
- cleverxml {
178
+ xml {
179
179
  source => "xmldata"
180
180
  xpath => [ "/foo/h:div", "xpath_field" ]
181
181
  remove_namespaces => false
@@ -192,7 +192,7 @@ describe LogStash::Filters::Cleverxml do
192
192
  describe "parse removing namespaces" do
193
193
  config <<-CONFIG
194
194
  filter {
195
- cleverxml {
195
+ xml {
196
196
  source => "xmldata"
197
197
  xpath => [ "/foo/div", "xpath_field" ]
198
198
  remove_namespaces => true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-cleverxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clever Age
@@ -9,70 +9,70 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-27 00:00:00.000000000 Z
12
+ date: 2015-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ name: logstash-core
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: 2.0.0.beta2
21
+ - - <
22
+ - !ruby/object:Gem::Version
23
+ version: 3.0.0
15
24
  requirement: !ruby/object:Gem::Requirement
16
25
  requirements:
17
26
  - - '>='
18
27
  - !ruby/object:Gem::Version
19
- version: 1.4.0
28
+ version: 2.0.0.beta2
20
29
  - - <
21
30
  - !ruby/object:Gem::Version
22
- version: 2.0.0
23
- name: logstash-core
31
+ version: 3.0.0
24
32
  prerelease: false
25
33
  type: :runtime
34
+ - !ruby/object:Gem::Dependency
35
+ name: nokogiri
26
36
  version_requirements: !ruby/object:Gem::Requirement
27
37
  requirements:
28
38
  - - '>='
29
39
  - !ruby/object:Gem::Version
30
- version: 1.4.0
31
- - - <
32
- - !ruby/object:Gem::Version
33
- version: 2.0.0
34
- - !ruby/object:Gem::Dependency
40
+ version: '0'
35
41
  requirement: !ruby/object:Gem::Requirement
36
42
  requirements:
37
43
  - - '>='
38
44
  - !ruby/object:Gem::Version
39
45
  version: '0'
40
- name: nokogiri
41
46
  prerelease: false
42
47
  type: :runtime
48
+ - !ruby/object:Gem::Dependency
49
+ name: xml-simple
43
50
  version_requirements: !ruby/object:Gem::Requirement
44
51
  requirements:
45
52
  - - '>='
46
53
  - !ruby/object:Gem::Version
47
54
  version: '0'
48
- - !ruby/object:Gem::Dependency
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - '>='
52
58
  - !ruby/object:Gem::Version
53
59
  version: '0'
54
- name: xml-simple
55
60
  prerelease: false
56
61
  type: :runtime
62
+ - !ruby/object:Gem::Dependency
63
+ name: logstash-devutils
57
64
  version_requirements: !ruby/object:Gem::Requirement
58
65
  requirements:
59
66
  - - '>='
60
67
  - !ruby/object:Gem::Version
61
68
  version: '0'
62
- - !ruby/object:Gem::Dependency
63
69
  requirement: !ruby/object:Gem::Requirement
64
70
  requirements:
65
71
  - - '>='
66
72
  - !ruby/object:Gem::Version
67
73
  version: '0'
68
- name: logstash-devutils
69
74
  prerelease: false
70
75
  type: :development
71
- version_requirements: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
76
  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
77
77
  email: wpottier@clever-age.com
78
78
  executables: []