logstash-input-stdin 3.2.1 → 3.2.2
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/inputs/stdin.rb +6 -0
- data/logstash-input-stdin.gemspec +1 -1
- data/spec/inputs/stdin_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca4058dd5d0e665be0be31ee9b40793fd418620b
|
4
|
+
data.tar.gz: b90587271728ffaeae7737990164079c87c07c2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 632ab247fb5c7a9e10387508b4ddbb4d2daa6fa3b7ae3446d2433ffb8d58107d8ec952251ae030331e3ebd562d2f1af291cff2e8c4433d2978ae2e668cf63adf
|
7
|
+
data.tar.gz: 7cec593ed2d28f1c6a667b68574808b403862eae11926991db216c485293615e2200dd9527e870c22b55ad1a1f1a265bce53719aefb3a56e6fc26a3aa1baca0d
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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"
|
data/spec/inputs/stdin_spec.rb
CHANGED
@@ -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.
|
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:
|
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
|