fluent-plugin-redis-pub 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 5d04bfdcc2fb142186ecb38a240f85bcc8adb59d
4
- data.tar.gz: c371cea42081c4b3ab09eea1c08360bdb875a152
3
+ metadata.gz: 1793f663816b286ec82436075085b203cc904530
4
+ data.tar.gz: bfbc94758dfdafae8f6f94bef460211e18402533
5
5
  SHA512:
6
- metadata.gz: 8a9c09aa332791acfe60f4c75dd682fa01a07050276fdd36df7182f3eca6e0228df03d28c31b68cd6c9d7723fe30447a1ca2168486e7eb98e5a797c61314ff3a
7
- data.tar.gz: c035ec4eb6b77fc82ca4d622e175980d410a61d1c61af97b2cc779af1e8308dfb5224ff07671eaa843dceb6764d2dc043a37c2d37a3b38e5c5af1123ff83e4c6
6
+ metadata.gz: 4be5b169694000e33eadc4ce168b295ad9fe8bf08dc0d82387280729830da7af47f5335417491a80edffd0d09d25946104c10746a7ab73c95f91c76cc3a500c6
7
+ data.tar.gz: e15b690967204e41af3b040c7d1cf5749718d1b6b486a12996e826fcd357b4fc2903f7da881d24f2a671556c07371ad6889a516d4b56727b029d4c441bc74fa2
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-redis-pub"
6
- spec.version = "0.1.0"
6
+ spec.version = "0.1.1"
7
7
  spec.authors = ["John-Lin"]
8
8
  spec.email = ["linton.tw@gmail.com"]
9
9
 
@@ -72,7 +72,12 @@ module Fluent
72
72
 
73
73
  def format(tag, time, record)
74
74
  record = inject_values_to_record(tag, time, record)
75
- [tag, time, record].to_msgpack
75
+ log = {
76
+ :tag => tag,
77
+ :time => time,
78
+ :record => record
79
+ }
80
+ log.to_msgpack
76
81
  end
77
82
 
78
83
  def formatted_to_msgpack_binary
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-redis-pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John-Lin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-21 00:00:00.000000000 Z
11
+ date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,10 +79,12 @@ executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
+ - ".gitignore"
82
83
  - Gemfile
83
84
  - LICENSE
84
85
  - README.md
85
86
  - Rakefile
87
+ - fluent-plugin-redis-pub-0.1.0.gem
86
88
  - fluent-plugin-redis-pub.gemspec
87
89
  - lib/fluent/plugin/out_redis_pub.rb
88
90
  - test/helper.rb