logstash-input-pipe 0.1.2 → 0.1.3

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: 1332949289344e12ae50e86aa04bc7df7152550d
4
- data.tar.gz: 405c76a2149d3dcc2a6d610468b6544b494bcd92
3
+ metadata.gz: 7ebc5400d9f3be2ddd5ae613a3413159028c6dfb
4
+ data.tar.gz: 71af5ffdac427c4948d72d5a098c426e3fdef8fb
5
5
  SHA512:
6
- metadata.gz: df7a911026919252a737b1a4f943d13237dd8163f6418f4d7fe2fc1787ee20514bef2d857d05e00d078b1d999678613d3d699ac9560b1c87d11346e5ca311842
7
- data.tar.gz: 0615c5bbeebad4209908e30f51f1e411b9bb5e45354504776a637e51bb058a01e40fe39840746417180c00b93e730923eb96e8c20b8d6f4ef7d05982bc48ee0c
6
+ metadata.gz: 40512e34573f29cbe7d534fdb9ae4cdfd17296a2bf6142466c1b1bb0950a9b598677806d23545d3147f117a3aca6b6fd452233ae44c7fce8caec9ec81a55b0bc
7
+ data.tar.gz: d44e6eb74706411d7a653727a55f338e765f6850b458716b2d6dfb3c1c85e15943db566e62dca0d8209ea66c1d67be537f4d2cb9459b4ccb3bb88a7d0fc53d71
@@ -1,4 +1,8 @@
1
1
  # encoding: utf-8
2
+ require "logstash/environment"
3
+ if LogStash::Environment.windows?
4
+ raise Exception("This plugin does not work on Microsoft Windows.")
5
+ end
2
6
  require "logstash/inputs/base"
3
7
  require "logstash/namespace"
4
8
  require "socket" # for Socket.gethostname
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-pipe'
4
- s.version = '0.1.2'
4
+ s.version = '0.1.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Stream events from a long running command pipe"
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/plugin install gemname. This gem is not a stand-alone program"
@@ -2,8 +2,7 @@
2
2
  require "logstash/devutils/rspec/spec_helper"
3
3
  require "tempfile"
4
4
 
5
- describe "inputs/pipe" do
6
-
5
+ describe "inputs/pipe", :unix => true do
7
6
 
8
7
  describe "echo" do
9
8
  event_count = 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-pipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-27 00:00:00.000000000 Z
11
+ date: 2015-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  requirements: []
97
97
  rubyforge_project:
98
- rubygems_version: 2.1.9
98
+ rubygems_version: 2.4.5
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Stream events from a long running command pipe