fluent-plugin-formatter-protobuf 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9374cea63efb10a3b21003f7743b9b717f300641e57727429e913aec97466e3f
4
- data.tar.gz: ff69ffcebe0607a539f495d493dd3d342ebeff97fb6d268de874ff413538e001
3
+ metadata.gz: 5522a7376f600ab04c25874fed66cf1e3fa80488aff7917a0b4a20f2ae23e5a7
4
+ data.tar.gz: 56ff168034323c60b1c6482aa9be5d33540d6e1cdf58e8cb22f92cea5bfd8a6c
5
5
  SHA512:
6
- metadata.gz: be0103c9b42723a26486a7ba2f13178e53e0d813f2f9011a48ee70bb666285cae006bbb17811fc17ba022047ecb0b7f5fa6cdeaa9ee3b25d789c389ea4ddb661
7
- data.tar.gz: f2e748e277448caf53c3838d9445ba22e78028f0c30e264267c4fccc048fb0421ba5bf4a0b4726a35b4da2bcb939d8d815195fedb1d89bb98999da1ac2fb5a1a
6
+ metadata.gz: ef2e9c5998ed03fb9d24e5107185107cc37d9b5a803b1ab7fb2cedd624d55db04d62f32a55b4c80fb3422617f427ad48d168788b43891e6883ac908bbc9d90f5
7
+ data.tar.gz: 46e42467e1df6ec0c4c9fb45312141882da3a23c181cf408be0eb314edea2eff6708d89629210b41ff3f5d979070f083dd2018cddf45bd2e332d2b8b8d3eb428
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-formatter-protobuf (0.0.2)
4
+ fluent-plugin-formatter-protobuf (0.0.3)
5
5
  fluentd (>= 1.0, < 2)
6
6
  google-protobuf (~> 3.18)
7
7
 
@@ -48,6 +48,10 @@ module Fluent
48
48
  @protobuf_class = message_lookup.msgclass
49
49
  end
50
50
 
51
+ def formatter_type
52
+ :binary
53
+ end
54
+
51
55
  def format(_tag, _time, record)
52
56
  protobuf_msg = @protobuf_class.new(record)
53
57
  @protobuf_class.encode(protobuf_msg)
@@ -3,7 +3,7 @@
3
3
  module Fluent
4
4
  module Plugin
5
5
  module ProtobufFormatter
6
- VERSION = '0.0.2'
6
+ VERSION = '0.0.3'
7
7
  end
8
8
  end
9
9
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluent-plugin-formatter-protobuf",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Protobuf formatter for Fluentd",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:raytung/fluent-plugin-formatter-protobuf.git",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-formatter-protobuf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Tung