fluent-plugin-light-core 0.2.8 → 0.2.9

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: 22e2c73ee443940c699e1b6b31fe39e7b167b5dc4d1a6fd7bfd1700cb2f65c5f
4
- data.tar.gz: a19289c271a1bac57f5827371269fa54f960ca185debd4cada1a420b4b4402fa
3
+ metadata.gz: 5144ababaafd02b252534db4f948037d55fb63b688eaf2f243eb085215fdd09b
4
+ data.tar.gz: 2c34efb8b2cea7ff556d5bdc21e927251fe8920b28ee6e39cb20da7afed5ea4d
5
5
  SHA512:
6
- metadata.gz: e1990d23ac038a228dd61efd25f63f2e91a0834e762126a66b661f01e753a343f0c8d169c05599996be07af093b548bfce7a67530c2eccfeaf1a826f205d658f
7
- data.tar.gz: 61904fe281cc7ef01794d7bb087821a81b6dc735e7221bb0af9df3918bd30c76a986f731db5df8f3d71ab3267665101c11cefd2764c366c6e9883736de8bf090
6
+ metadata.gz: db8615ee2d064865a3e570b1d26f58fd2cd1db6febb5bcbb745579ed3e4fab0278447cd2c3cde07c2f19b8863f34bc645a55137dccbb63667fcdb08fed9692ad
7
+ data.tar.gz: e4b9146e96aadc71f60e2040772806a84f0174a2d2d945f84708e795a547db9f3dc46aea944334adc0b5c5103b3677854b62160472c12cdd49e91bf79dae1cf3
@@ -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-light-core"
6
- spec.version = "0.2.8"
6
+ spec.version = "0.2.9"
7
7
  spec.authors = ["LIN LI"]
8
8
  spec.email = ["l.li@alphabets.cn"]
9
9
 
@@ -257,11 +257,6 @@ module Fluent
257
257
 
258
258
  if tag == 'app'
259
259
 
260
- if @app_stream && record['stream']
261
- message = 'Stream error' + record['stream']
262
- send(tag, message, record) if record['stream'] == @app_stream
263
- end
264
-
265
260
  if @app_message.length > 0 && record['message']
266
261
  @app_message.each do |pattern|
267
262
  if pattern.match(record['message'])
data/sample/README.md CHANGED
@@ -51,13 +51,15 @@ Initialized empty Git repository in /Users/lilin/developer/light/fluent-plugin-l
51
51
 
52
52
  ## 在Linxu上运行
53
53
 
54
- - 进入fluentd容器
55
- - 安装依赖
56
- yum groupinstall 'Development Tools'
57
- yum install git rubygems ruby-devel
54
+ - 进入fluentd容器, 安装依赖
55
+ $ yum groupinstall 'Development Tools'
56
+ $ yum install rubygems ruby-devel
58
57
 
59
- gem install bundler:1.17.2
60
- bundler install
58
+ - 下载代码, 安装依赖
59
+ $ git clone http://git.alphabets.cn/light/fluent-plugin-light-core.git
60
+ $ cd fluent-plugin-light-core
61
+ $ gem install bundler:1.17.2
62
+ $ bundler install
61
63
 
62
64
  - 运行代码
63
- rm -f sample/*.pos && fluentd -c sample/source.conf -p lib/fluent/plugin
65
+ $ rm -f sample/*.pos && fluentd -c sample/source.conf -p lib/fluent/plugin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-light-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - LIN LI