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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd898f801a66f3435c73cf33f3baa908af3ee312
4
- data.tar.gz: d8990000f7ce007e1fd0a61288d3056bf6874f74
3
+ metadata.gz: 3e9e8975e0ea089232b2cd357568125d3484aa11
4
+ data.tar.gz: fc45fceb28856087ddee4cd6943d0a3571bdaa77
5
5
  SHA512:
6
- metadata.gz: e62c610ec9c9a375c282d78c626999a366b2bef1e62c614f7a23176e48a21a6f63aca31110718f6dc9c06eb9d1beb01cbf75be2b654dce9d926940567f59753e
7
- data.tar.gz: 61600e18ab78f7f8fde764c30506d6a10ec78e6a41059dcaf5415054a355ae161cd27964175d8a5d2e1c7c1f5682de3dda97ecfd6faf38525e7780aab18c8fd9
6
+ metadata.gz: 2c6cb29d480f166f82fab034308fec69081d4e4fbfaf8afa0c23b1e994ec205a9c211c16b4ab76cf8e20fe8a1ae58b8b73afce0f33f1a332bf97e88a23b94d11
7
+ data.tar.gz: 4b421b386b6ec52da6670457e9aca4c81972238c058c8404da33dc2ca2912b16a87bedcd38f0483206da262bce6cdb506df422da4b464ec135456a2990b8f29c
data/.gitignore CHANGED
@@ -33,3 +33,9 @@ build/
33
33
 
34
34
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
35
35
  .rvmrc
36
+
37
+ # vim
38
+ *.swp
39
+
40
+ # intellij
41
+ .idea
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- logstash-input-sttxml1 (0.0.4)
4
+ logstash-input-sttxml1 (0.0.6)
5
5
  filewatcher (~> 0.5.2)
6
6
  logstash-codec-plain
7
7
  logstash-core (>= 1.4.0, < 2.0.0)
@@ -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.5'
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.5
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-07-28 00:00:00.000000000 Z
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