logstash-core-event 2.3.0.snapshot5-java → 2.3.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash-core-event/version.rb +1 -1
- data/lib/logstash/timestamp.rb +7 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc01fbe0bed4740be1f32e75a39a91cb10c49edb
|
4
|
+
data.tar.gz: 74eabdc266efb30b6fb76677a88c02034e6e9328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 218ba4c182f5897764d8ba8a1299a2d880ebf289fab15604df2a946a323a80b1e8e6c1e6e6a15bf41ea68f88316c3ba2d0288988a589e81089be355895728b69
|
7
|
+
data.tar.gz: 49a27acedf2e8a3096e85ec9d14609e775f552905d31728a71a4fec04d5ba3ac080329d9b10481fc7a37793639c318154ab434daa7a6020747b145bda22f191f
|
data/lib/logstash/timestamp.rb
CHANGED
@@ -24,7 +24,13 @@ module LogStash
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def self.at(*args)
|
27
|
-
|
27
|
+
epoch = args.first
|
28
|
+
if epoch.is_a?(BigDecimal)
|
29
|
+
# bug in JRuby prevents correcly parsing a BigDecimal fractional part, see https://github.com/elastic/logstash/issues/4565
|
30
|
+
Timestamp.new(::Time.at(epoch.to_i, epoch.frac.to_f * 1000000))
|
31
|
+
else
|
32
|
+
Timestamp.new(::Time.at(*args))
|
33
|
+
end
|
28
34
|
end
|
29
35
|
|
30
36
|
def self.parse(*args)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core-event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: The core event component of logstash, the scalable log and event management tool
|
14
14
|
email:
|
@@ -38,14 +38,14 @@ require_paths:
|
|
38
38
|
- lib
|
39
39
|
required_ruby_version: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
44
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: '0'
|
49
49
|
requirements: []
|
50
50
|
rubyforge_project:
|
51
51
|
rubygems_version: 2.4.8
|