logstash-input-stdin 3.2.1 → 3.2.2

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: c52ec9fb5c445ca64f0d824008f1e95cbc34c221
4
- data.tar.gz: c02b667e2c93e5b44ce020e8996edbd28bd6101c
3
+ metadata.gz: ca4058dd5d0e665be0be31ee9b40793fd418620b
4
+ data.tar.gz: b90587271728ffaeae7737990164079c87c07c2b
5
5
  SHA512:
6
- metadata.gz: 4c522bf580456baca929e7305b5afe07e0505e9b3cd81911d240bcab3f081c03d4805740543e0b2c2fe29a8f748de8f4100c4b8c3172db50ccff191cdc7dbb08
7
- data.tar.gz: 2e01849c025b44736f89c08d457e7da837dbdd0979e6cb2ee04c1c336ea028298047953830644bb19c6085d177164fcdd8645042da4a4e95f01e5bbf1b2dfd83
6
+ metadata.gz: 632ab247fb5c7a9e10387508b4ddbb4d2daa6fa3b7ae3446d2433ffb8d58107d8ec952251ae030331e3ebd562d2f1af291cff2e8c4433d2978ae2e668cf63adf
7
+ data.tar.gz: 7cec593ed2d28f1c6a667b68574808b403862eae11926991db216c485293615e2200dd9527e870c22b55ad1a1f1a265bce53719aefb3a56e6fc26a3aa1baca0d
@@ -1,3 +1,6 @@
1
+ ## 3.2.2
2
+ - Explicitely mark this plugin non reloadable following the changes from https://github.com/elastic/logstash/pull/6499
3
+
1
4
  ## 3.2.1
2
5
  - Docs: Remove mention of the multiline filter plugin because it's no longer supported
3
6
 
@@ -44,6 +44,12 @@ class LogStash::Inputs::Stdin < LogStash::Inputs::Base
44
44
  end
45
45
  end
46
46
 
47
+ # When a configuration is using this plugin
48
+ # We are defining a blocking pipeline which cannot be reloaded
49
+ def self.reloadable?
50
+ false
51
+ end
52
+
47
53
  private
48
54
 
49
55
  def default_stop
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-stdin'
4
- s.version = '3.2.1'
4
+ s.version = '3.2.2'
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"
@@ -4,6 +4,14 @@ require "socket"
4
4
  require "logstash/inputs/stdin"
5
5
 
6
6
  describe LogStash::Inputs::Stdin do
7
+ context ".reloadable?" do
8
+ subject { described_class }
9
+
10
+ it "returns true" do
11
+ expect(subject.reloadable?).to be_falsey
12
+ end
13
+ end
14
+
7
15
  context "codec (PR #1372)" do
8
16
  it "switches from plain to line" do
9
17
  require "logstash/codecs/plain"
@@ -12,6 +20,7 @@ describe LogStash::Inputs::Stdin do
12
20
  plugin.register
13
21
  insist { plugin.codec }.is_a?(LogStash::Codecs::Line)
14
22
  end
23
+
15
24
  it "switches from json to json_lines" do
16
25
  require "logstash/codecs/json"
17
26
  require "logstash/codecs/json_lines"
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.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-26 00:00:00.000000000 Z
11
+ date: 2017-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement