fluent-plugin-pushover 0.0.3 → 0.0.4

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmIzMDhhODJlODg3MDRhYjU3YWY2MzVjNjRjMGZhMjBlZTBhN2E0ZQ==
4
+ NGJjNjViOGJjNDhhM2FmNWFjYzk0YWMyYjQ1NWU4ZmM2NmYxMjBlNA==
5
5
  data.tar.gz: !binary |-
6
- ZDJhMGFjMDliNjI3MzQzN2FkZmNhNTIwNzljNDliMmRmNGM3ZWM4Ng==
6
+ MDBlZmUxOTQ1ZGVhYTlhYTIwMTAxMzE1NDA4YTgwMWE2OGRiYzlmMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODFiZjI4M2EyMzZiYTIxZGI2ZjIyOWViMmYyMjcyZmFkMmIwYmI1NDVlZDQx
10
- ZmJhNTVhNTFkMDZhZGM5NGUwMzIwZDNjZWM4MTA1ODVkYWVjN2RjYjhjODhh
11
- YWU1MDYyN2RjYTY2YjYxYThlOThhMmM4Yzg3ZTVjMTJmMzAwMzI=
9
+ YWU0MDdmMzUyNjAzOWU1OGY0NDE0ZmEzMTFjNDBmOTE1MWRlN2VlM2JhNTNl
10
+ OGIxMDZlMDQ5NmIxNGU0Y2I4MDJlZjgyMzIyYjk4OGU0ZDQ4N2Q5MWYzNTc2
11
+ ZmRiMThiZGUxYWM3NmJmOTI2ZDllYWE3OTE3MWMxOGYyYTdjODQ=
12
12
  data.tar.gz: !binary |-
13
- MGVlYzAxYjg5YWRiZjg5MDVhNDcyM2Y0ZDFkODQ5NWRkODgwZjQ1YjFhNzU0
14
- MzE3ZmRlZTQ5ZTM0MzQ4ZDlmNTYzOGQ4MDI4YWI4NmViMGIyMzZkYWU4MWU1
15
- MWY5ZjgxYThiMmUyZDUxYmQ3MTExZTU5MzU1MjRiMzc4OTY1ZDQ=
13
+ MWQwN2NkOGM1NGNhMDM2ZjEyMGJkZjRiZmVkODkwMGRhYmQzMWE5ZjZlOGZl
14
+ MTZlYTg2NzM2MjdmOTFlODk5YTY2MWYxOWY5MjJhOWUyNWJiNjlhN2FmOGI3
15
+ N2MwYzZmYzg3ZTE5YjFkN2ZjZmQxMjZlMWZiOGNjY2FkMGY0OTI=
@@ -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-pushover"
6
- s.version = "0.0.3"
6
+ s.version = "0.0.4"
7
7
  s.authors = ["Jan Karásek"]
8
8
  s.email = ["devel@hkar.eu"]
9
9
  s.homepage = "https://github.com/hkar/fluent-plugin-pushover"
@@ -13,8 +13,8 @@ class Fluent::PushoverOutput < Fluent::Output
13
13
 
14
14
  def initialize
15
15
  super
16
- require 'net/http'
17
16
  require 'uri'
17
+ require 'net/http'
18
18
  end
19
19
 
20
20
  def configure(conf)
@@ -24,7 +24,7 @@ class Fluent::PushoverOutput < Fluent::Output
24
24
 
25
25
  def emit(tag, es, chain)
26
26
  es.each do |time, record|
27
- send(record['message'])
27
+ send(record)
28
28
  end
29
29
 
30
30
  chain.next
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-pushover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Karásek