logstash-input-stdin 3.1.1 → 3.2.0

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
  SHA1:
3
- metadata.gz: 63ecd7507aed4e298b4693b2112c49f83f64a625
4
- data.tar.gz: 4804a50d37cf9d92ea25fea644346ad308eeaf46
3
+ metadata.gz: e94eecb76efb775edf2d8e8b0939fbde8323b1ab
4
+ data.tar.gz: 9169678d769f57d3278286595696b047f5622b16
5
5
  SHA512:
6
- metadata.gz: 3154fd63774cbba2f403b60dd9062ca860ad9f54b5d63e6f703116b27754f841baf349e53348b05ff0a4122794ecb2acfe1602c4ea887db107a9fa0531f3d461
7
- data.tar.gz: 702b33171e58abd39c7a6d3234ebb7eb2a8f28dcac0eb94c41091a9cda02b1246d717c5c77db525e207a4a0b2c82f700d1594716d6ebd173fed8a6a241675ebd
6
+ metadata.gz: f5ae6ed03bb3a8ba1014eba2c00bc253023442d5ba5f618f2c46c0f131f83d09e500dec7dcf8bac9f73e743ace844af2c6f1aac9d7f7d70e2a7cd242f71bab2b
7
+ data.tar.gz: ad63963d1b97389547811d783fb3e75e05bd0922a8e86871f343fc9c2000a7dd9c4d111df827b49a65129b279d50056288bb04b76b2ddb5ed8066123715a93bb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.2.0
2
+ - Add a startup message if logstash is started on a terminal
3
+
1
4
  ## 3.1.1
2
5
  - Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
3
6
 
@@ -32,6 +32,7 @@ class LogStash::Inputs::Stdin < LogStash::Inputs::Base
32
32
  end
33
33
 
34
34
  def run(queue)
35
+ puts "The stdin plugin is now waiting for input:" if $stdin.tty?
35
36
  while !stop?
36
37
  if data = stdin_read
37
38
  @codec.decode(data) do |event|
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-stdin'
4
- s.version = '3.1.1'
4
+ s.version = '3.2.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read events from standard input"
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-input-stdin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.6.3
168
+ rubygems_version: 2.4.8
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Read events from standard input