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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31ad691ad1105cd978679de781968e92820a0a5a2ef8d79cc7edf23c78cd266a
4
- data.tar.gz: b3de0e5f08df61b4a74102a6c40db6c2592c281f254115d6c6a7d51231ee5a9c
3
+ metadata.gz: ae9ff6af54ee32569deff026cb44dd5d0447a80e53abb73cd5d27ef412ef8689
4
+ data.tar.gz: 8b6f5fcd6821062c6207502954a270aaf7eb88841f62f6590469dd51bf848dab
5
5
  SHA512:
6
- metadata.gz: ddf7b6ce9c69b202b8a4fea06e5d87b3b3f72f8a20ab68e2e9a385425078ca371265ed146f15650b5e34f8a3fd64504f70c826a288254e72246162b98374b2e1
7
- data.tar.gz: c4c4a519faf25d25749d7670f059faed87c4cae07be3514e70246a431d7809832343172a94c00e8a07224933056e57d2e504baa612abf8652c5b8a375d57c91d
6
+ metadata.gz: 50b447df513ae16442f3ce186a2e8fb1e126d1274e072e144f77259def74df76346545fe966bbc8c3b7cf929607487345569b8734e52baceea45d6cde0d4f1c4
7
+ data.tar.gz: d5c2e5b6382a6b575d940a8275184e7a07b45dbb92ab86a77cb1d8cfff9550975d98559731dcb23dccc2bc73f0ee1351a63cbfe981dbbb1db8c25b7e2367ed8d
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  .ruby-version
11
+ /vendor/bundle
@@ -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.6"
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
- Engine.emit("#{tag}", Engine.now, event)
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.6
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-10 00:00:00.000000000 Z
11
+ date: 2020-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler