logstash-input-sttxml1 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -0
- data/Gemfile.lock +1 -1
- data/lib/logstash/inputs/sttxml1.rb +1 -1
- data/logstash-input-sttxml1.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e9e8975e0ea089232b2cd357568125d3484aa11
|
4
|
+
data.tar.gz: fc45fceb28856087ddee4cd6943d0a3571bdaa77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c6cb29d480f166f82fab034308fec69081d4e4fbfaf8afa0c23b1e994ec205a9c211c16b4ab76cf8e20fe8a1ae58b8b73afce0f33f1a332bf97e88a23b94d11
|
7
|
+
data.tar.gz: 4b421b386b6ec52da6670457e9aca4c81972238c058c8404da33dc2ca2912b16a87bedcd38f0483206da262bce6cdb506df422da4b464ec135456a2990b8f29c
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -70,7 +70,7 @@ class LogStash::Inputs::Sttxml1 < LogStash::Inputs::Base
|
|
70
70
|
party = parties[who]
|
71
71
|
event[party] = ''
|
72
72
|
link.child.children.each do |item|
|
73
|
-
begin_time, end_time, content = item.attribute('Begin').content.to_i, item.attribute('End').content.to_i, item.child.text
|
73
|
+
begin_time, end_time, content = item.attribute('Begin').content.to_i, item.attribute('End').content.to_i, item.child.text.to_s.gsub(/\s+/, '')
|
74
74
|
event[party] += "#{party}-#{begin_time} #{content}\n"
|
75
75
|
clauses << [ who, party, begin_time, end_time, content ]
|
76
76
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-sttxml1'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.7'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "This example input streams a string at a definable interval."
|
6
6
|
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"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-sttxml1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- henry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|