fluentd-tcp-capturer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluentd-tcp-capturer.gemspec +1 -1
- data/lib/capture.rb +1 -1
- 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: 8a21c5d21e7038e1363a16fc5eba40ddbdc1920c
|
4
|
+
data.tar.gz: 2deb9a0f99071f019e423846b9ca1dd52805256c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0051bcf04cc9983d57971f1036286daa40f1ac3ff2c0a72dc07a02e756515b827300d1d99590435639fad37bcdfb0d54430a044907d1406e9fda7757143bd82b
|
7
|
+
data.tar.gz: 01dc8c0c7dcc72ed3821fd0417fe2380115f55d9a55949ca87eb2af0532508b901a76b8a2ad06397f607771017b813fa9cc6863b71527e102ae827279f6124b0
|
data/lib/capture.rb
CHANGED
@@ -41,7 +41,7 @@ module Capturing
|
|
41
41
|
super e
|
42
42
|
@writer = writer
|
43
43
|
@unpacker = Fluent::Engine.msgpack_factory.unpacker
|
44
|
-
@time_formatter = Fluent::TimeFormatter.new("%Y-%m-%d %H:%M:%S %z",
|
44
|
+
@time_formatter = Fluent::TimeFormatter.new("%Y-%m-%d %H:%M:%S %z", true, nil) # TODO support format
|
45
45
|
end
|
46
46
|
|
47
47
|
def on_packet(data)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluentd-tcp-capturer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- takumakanari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-pcap
|