fluent-plugin-gelf-hs 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Fluentd GELF output and formatter plugins
2
- This is a fork of the fluent-plugin-gelf (https://github.com/emsearcy/fluent-plugin-gelf) created in order to publish a gem with the changes contained in pull request #34.
2
+ This is a fork of the fluent-plugin-gelf (https://github.com/emsearcy/fluent-plugin-gelf) created in order to publish a gem with the changes contained in pull request #34. The original pull request #34 will not be used, due to some problems discovered, and will be replaced by three smaller PRs which will implement the same change set, albeit in smaller chunks.
3
3
 
4
4
  ## Overview
5
5
  Fluentd GELF output and formatter plugins.
6
6
 
7
7
  ## Installation
8
8
  ```bash
9
- gem install fluent-plugin-gelf
9
+ gem install fluent-plugin-gelf-hs
10
10
  ```
11
11
 
12
12
  ## Output plugin configuration
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fluent-plugin-gelf-hs"
6
- s.version = "1.0.0"
6
+ s.version = "1.0.1"
7
7
  s.authors = ["Alex Yamauchi", "Eric Searcy"]
8
8
  s.email = ["oss@hotschedules.com"]
9
9
  s.homepage = "https://github.com/bodhi-space/fluent-plugin-gelf-hs"
@@ -1,6 +1,8 @@
1
1
  module Fluent
2
2
  module GelfUtil
3
3
 
4
+ require 'gelf'
5
+
4
6
  def make_gelfentry(tag,time,record, conf = {})
5
7
  gelfentry = { '_tag' => tag }
6
8
  if defined? Fluent::EventTime and time.is_a? Fluent::EventTime then
@@ -14,7 +14,6 @@ module Fluent
14
14
 
15
15
  def configure(conf)
16
16
  super(conf)
17
- require 'gelf'
18
17
  end
19
18
 
20
19
  def format(tag, time, record)
@@ -73,11 +73,6 @@ module Fluent
73
73
  def formatted_to_msgpack_binary
74
74
  true
75
75
  end
76
-
77
- def formatted_to_msgpack_binary
78
- true
79
- end
80
-
81
76
  end
82
77
 
83
78
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-gelf-hs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Yamauchi
@@ -42,7 +42,7 @@ cert_chain:
42
42
  2Zk648Ep9HVPKmwoVuB75+xEQw==
43
43
  -----END CERTIFICATE-----
44
44
 
45
- date: 2017-03-14 00:00:00 Z
45
+ date: 2017-03-17 00:00:00 Z
46
46
  dependencies:
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: fluentd
metadata.gz.sig CHANGED
Binary file