md-logstasher 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstasher/device.rb +2 -0
- data/lib/logstasher/version.rb +1 -1
- data/spec/lib/logstasher/device_spec.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6d718c5b30fe09e6735c5da021eda006340fdef09dc6a5b251ab6d8a273429b
|
4
|
+
data.tar.gz: 35bf7d80f1ce2d8d736de8d47bdd8f00e2ea3579992f057e10e651d9290e1f28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7e667ea8187888cc4c7662b6868584a1d829ef878f9c0a949e716cf59093141a9f8f29bd659a933ee1c6ce69f422142f351125515be264cfb32de33e9164994
|
7
|
+
data.tar.gz: e167c08b5eaef0ea61e63df8e666974617684ea6a938fb13f44e62aafd9a5d157de4e1d2f3b05568e1186aa4be5160130a479fa0449a6169ffec98ea7bad905e
|
data/lib/logstasher/device.rb
CHANGED
data/lib/logstasher/version.rb
CHANGED
@@ -58,6 +58,10 @@ describe LogStasher::Device do
|
|
58
58
|
expect(device).to be_a_kind_of(::LogStasher::Device::UDP)
|
59
59
|
end
|
60
60
|
|
61
|
+
it "can create stdout devices" do
|
62
|
+
device = ::LogStasher::Device.factory(:type => "stdout")
|
63
|
+
expect(device).to eq $stdout
|
64
|
+
end
|
61
65
|
|
62
66
|
it "fails to create unknown devices" do
|
63
67
|
expect {
|