fluent-plugin-sendgrid-event 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/fluent-plugin-sendgrid-event.gemspec +1 -1
- data/lib/fluent/plugin/in_sendgrid_event.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae9ff6af54ee32569deff026cb44dd5d0447a80e53abb73cd5d27ef412ef8689
|
4
|
+
data.tar.gz: 8b6f5fcd6821062c6207502954a270aaf7eb88841f62f6590469dd51bf848dab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50b447df513ae16442f3ce186a2e8fb1e126d1274e072e144f77259def74df76346545fe966bbc8c3b7cf929607487345569b8734e52baceea45d6cde0d4f1c4
|
7
|
+
data.tar.gz: d5c2e5b6382a6b575d940a8275184e7a07b45dbb92ab86a77cb1d8cfff9550975d98559731dcb23dccc2bc73f0ee1351a63cbfe981dbbb1db8c25b7e2367ed8d
|
data/.gitignore
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-sendgrid-event"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.7"
|
8
8
|
spec.authors = ["Hiroaki Sano"]
|
9
9
|
spec.email = ["hiroaki.sano.9stories@gmail.com"]
|
10
10
|
|
@@ -18,6 +18,10 @@ module Fluent
|
|
18
18
|
unless method_defined?(:log)
|
19
19
|
define_method("log") { $log }
|
20
20
|
end
|
21
|
+
|
22
|
+
unless method_defined?(:router)
|
23
|
+
define_method("router") { Fluent::Engine }
|
24
|
+
end
|
21
25
|
|
22
26
|
def initialize
|
23
27
|
super
|
@@ -101,7 +105,7 @@ module Fluent
|
|
101
105
|
|
102
106
|
def emit_event(event)
|
103
107
|
log.trace "in_sendgrid_event: emit_event"
|
104
|
-
|
108
|
+
router.emit("#{tag}", Fluent::EventTime.now, event)
|
105
109
|
end
|
106
110
|
end
|
107
111
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-sendgrid-event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroaki Sano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|