logstash-core-event 2.2.3.snapshot2-java → 2.2.4-java

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: c05fa8650b3bc3238c1641ab15d01dd4c53ffcec
4
- data.tar.gz: 25788a4ecb8de3c763818a13636a094664733856
3
+ metadata.gz: 021c115ce630e1d2ceecbd01c62756970b87d535
4
+ data.tar.gz: 2f19ce804b24cb9f8141a50d74a33cf92c47f377
5
5
  SHA512:
6
- metadata.gz: b7f90a0cc25b3096f2e6625f0693dd879e32b53a81b4fbf4c52b4a6eb1eb320da0fe3d51cbc89da029b2ed655f24393db3f7c4af44ef1b4790e03dd93d6e0969
7
- data.tar.gz: 6828701a3af90b16fa6b5be8b08dab4d2ffe2c431d819d2a2ebec49366aed2ef2c88e331b8783c5cc1928e34776d2cf29818353ef8d9a810bfeb3a4f59b11ade
6
+ metadata.gz: 2098efe3c3ea9a1ac330e4f6afc7388142cd49037110e1c4de0fc992fdba91f902da05c745bdae5e8b9bafde4148536726865c5757c79f7ab69abb8c3addb59d
7
+ data.tar.gz: de99839e53a8a6b37e9a1ada546d3a72011203a5025e1f41563a5416466c904f03da894a43ae1b1c170f7cb3dc8673ec7df8fa883f2465cf4725db60ee5d6eec
@@ -24,7 +24,13 @@ module LogStash
24
24
  end
25
25
 
26
26
  def self.at(*args)
27
- Timestamp.new(::Time.at(*args))
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)
@@ -5,4 +5,4 @@
5
5
  # Note to authors: this should not include dashes because 'gem' barfs if
6
6
  # you include a dash in the version string.
7
7
 
8
- LOGSTASH_CORE_EVENT_VERSION = "2.2.3.snapshot2"
8
+ LOGSTASH_CORE_EVENT_VERSION = "2.2.4"
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.2.3.snapshot2
4
+ version: 2.2.4
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-25 00:00:00.000000000 Z
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: 1.3.1
48
+ version: '0'
49
49
  requirements: []
50
50
  rubyforge_project:
51
51
  rubygems_version: 2.4.8