fluent-plugin-syslog_rfc5424 0.7.1.alpha2 → 0.7.1.alpha3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14d84a83fec0f7c39f8213b1dfe17b224a2a9309
|
4
|
+
data.tar.gz: 0a0256831665792a0538efe5b7d32a7d7d7a8b29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6da267a06038b4abfb7135c92621807be206aac975a7cb7a12619a8358a914689210c4a7a9439b43907fd58c1c275fa40104ead6deda3b46e66f45b66eb1fc0
|
7
|
+
data.tar.gz: 51a173a2cc161888cd1dd7fc0e46aef3c8c10a7149465cb9f1a78fb17cb82f773c558bc0d030a605a931a95006b1217d46029b2bc91fb73af1b90ce226970654
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-syslog_rfc5424"
|
7
|
-
spec.version = "0.7.1.
|
7
|
+
spec.version = "0.7.1.alpha3"
|
8
8
|
spec.authors = ["Pivotal"]
|
9
9
|
spec.email = %w(cf-loggregator@pivotal.io)
|
10
10
|
spec.homepage = "https://github.com/cloudfoundry/fluent-plugin-syslog_rfc5424"
|
@@ -31,7 +31,7 @@ class OutSyslogRFC5424Test < Test::Unit::TestCase
|
|
31
31
|
)
|
32
32
|
|
33
33
|
socket = Minitest::Mock.new
|
34
|
-
mock(socket).
|
34
|
+
mock(socket).write(@formatted_log)
|
35
35
|
stub(socket).close
|
36
36
|
|
37
37
|
any_instance_of(Fluent::Plugin::OutSyslogRFC5424) do |fluent_plugin|
|
@@ -51,14 +51,14 @@ class OutSyslogRFC5424Test < Test::Unit::TestCase
|
|
51
51
|
)
|
52
52
|
|
53
53
|
bad_socket = Minitest::Mock.new
|
54
|
-
mock(bad_socket).
|
54
|
+
mock(bad_socket).write(@formatted_log) {
|
55
55
|
raise StandardError
|
56
56
|
}
|
57
57
|
stub(bad_socket).close
|
58
58
|
|
59
59
|
|
60
60
|
good_socket = Minitest::Mock.new
|
61
|
-
mock(good_socket).
|
61
|
+
mock(good_socket).write(@formatted_log)
|
62
62
|
stub(good_socket).close
|
63
63
|
|
64
64
|
any_instance_of(Fluent::Plugin::OutSyslogRFC5424) do |fluent_plugin|
|
@@ -80,7 +80,7 @@ class OutSyslogRFC5424Test < Test::Unit::TestCase
|
|
80
80
|
)
|
81
81
|
|
82
82
|
socket = Minitest::Mock.new
|
83
|
-
mock(socket).
|
83
|
+
mock(socket).write(@formatted_log)
|
84
84
|
stub(socket).close
|
85
85
|
|
86
86
|
any_instance_of(Fluent::Plugin::OutSyslogRFC5424) do |fluent_plugin|
|
@@ -102,7 +102,7 @@ class OutSyslogRFC5424Test < Test::Unit::TestCase
|
|
102
102
|
)
|
103
103
|
|
104
104
|
socket = Minitest::Mock.new
|
105
|
-
mock(socket).
|
105
|
+
mock(socket).write(@formatted_log)
|
106
106
|
stub(socket).close
|
107
107
|
|
108
108
|
any_instance_of(Fluent::Plugin::OutSyslogRFC5424) do |fluent_plugin|
|
@@ -124,7 +124,7 @@ class OutSyslogRFC5424Test < Test::Unit::TestCase
|
|
124
124
|
)
|
125
125
|
|
126
126
|
socket = Minitest::Mock.new
|
127
|
-
mock(socket).
|
127
|
+
mock(socket).write(@formatted_log)
|
128
128
|
stub(socket).close
|
129
129
|
|
130
130
|
any_instance_of(Fluent::Plugin::OutSyslogRFC5424) do |fluent_plugin|
|
@@ -144,7 +144,7 @@ class OutSyslogRFC5424Test < Test::Unit::TestCase
|
|
144
144
|
)
|
145
145
|
|
146
146
|
socket = Minitest::Mock.new
|
147
|
-
stub(socket).
|
147
|
+
stub(socket).write(@formatted_log)
|
148
148
|
|
149
149
|
any_instance_of(Fluent::Plugin::OutSyslogRFC5424) do |fluent_plugin|
|
150
150
|
mock(fluent_plugin).socket_create(:tls, "example.com", 123, {:insecure=>false, :verify_fqdn=>true, :cert_paths=>nil}).returns(socket)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-syslog_rfc5424
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.1.
|
4
|
+
version: 0.7.1.alpha3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|