logstash-output-file 4.2.5 → 4.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5b2636cc1cbd103ba360c3090ba03f8d1fa7c5b242f5295e6ce13b2e71f1914
4
- data.tar.gz: 487b2d3fd9972f9e4f318766a08b170e2f575d27a296fdf1b9f57db4bff31400
3
+ metadata.gz: 29205625b42e4cdd7ada68d631596a785e865917567a3184c5be9ef70491c680
4
+ data.tar.gz: b0c1b16c4906a60b02dade44259c22dc05b7098046e3cffecffdd84fdaafea0d
5
5
  SHA512:
6
- metadata.gz: 0bba901e47d963db64d1b1ee10b97c3743a194005a50a5449e5907953ff5661e4e4b9b6ac672a3d9788ea39934962be0bef46eaffc6951f52f242d735a660995
7
- data.tar.gz: 7d599f979bddbc88bfa93cfcac7ed17917a528c5af9524d846fc9aead7a766fc8a3b968659e5e59d943562e684f9490509987fa9dd40dd575c487d1497b0b3b6
6
+ metadata.gz: 0e2614e051e202b4eefcdfd51937a4087fe0f91d63e97c7a5af1665cc3ccdae6c7b523322353357075d38abc1094dfae4aa20c70ff840ab93b93f0c651a9bd3e
7
+ data.tar.gz: 2ff9b98cec4e0df97bbfaa39956adf024f52a36121bce9d38c5300d00e6dc7bdcac90f75833f70274bf6e1667be8bbe5a635f0a06859e76b704f2e0305cf87f3
@@ -1,3 +1,6 @@
1
+ ## 4.2.6
2
+ - Removed JRuby check when using FIFOs [#75](https://github.com/logstash-plugins/logstash-output-file/pull/75)
3
+
1
4
  ## 4.2.5
2
5
  - Fix a bug introduced in v4.2.4 where events on low-volume pipelines could remain unflushed for long periods when `flush_interval` was non-zero [#70](https://github.com/logstash-plugins/logstash-output-file/pull/70)
3
6
 
@@ -276,7 +276,7 @@ class LogStash::Outputs::File < LogStash::Outputs::Base
276
276
 
277
277
  # work around a bug opening fifos (bug JRUBY-6280)
278
278
  stat = File.stat(path) rescue nil
279
- if stat && stat.ftype == "fifo" && LogStash::Environment.jruby?
279
+ if stat && stat.ftype == "fifo"
280
280
  fd = java.io.FileWriter.new(java.io.File.new(path))
281
281
  else
282
282
  if @file_mode != -1
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-file'
4
- s.version = '4.2.5'
4
+ s.version = '4.2.6'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Writes events to files on disk"
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/logstash-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-output-file
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.5
4
+ version: 4.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-28 00:00:00.000000000 Z
11
+ date: 2019-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement