fluent-plugin-graphite 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: cdc94d66155df2d2ee2073bc42447bb0066aca22
4
- data.tar.gz: fe799ba1c48a1736605509db527ddec205772506
3
+ metadata.gz: a5d7c5c4da034f474784fdad09112ad3ba6cf9eb
4
+ data.tar.gz: be9b531f7d1d03bd37423d5bf82c52178a842864
5
5
  SHA512:
6
- metadata.gz: 584c35ff902b09b7e3c3082eefc4e97e54f4f0cafd959373d22c544f6ba39dd2fc60cfaadf6b292ccbd667010f41ed57b5b61cde8dd9d3cd1dcd8cf7adcc6171
7
- data.tar.gz: 5ea918d40a394639cd2e1928e0e5a3a922e6a5862698e4f9b717feb3fbca3d0d9a1761a35a21896297eeabbf1f915b3151d5863f9448a6937acc855b047af2a8
6
+ metadata.gz: added0ebac9ecc62fb8128e822e2cecc98b1f9a109fe697b2fc2bc889ae57b51868c1dd0a35c106d086bd58f2fb4ba1c723b53e2e9f650f367ad7b3ec8e136b8
7
+ data.tar.gz: 0e03c783a798a82193218495c82dab516e18f0b6bd97a59f3800c409650f3a7becdcc71eefb91f44a2e4a9e9c2315304ce02de3b6f2eeedb3e95b53a176f5e11
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'fluent-plugin-graphite'
6
- gem.version = '0.0.3'
6
+ gem.version = '0.0.4'
7
7
  gem.authors = ['Satoshi SUZUKI']
8
8
  gem.email = 'studio3104.com@gmail.com'
9
9
  gem.homepage = 'https://github.com/studio3104/fluent-plugin-graphite'
@@ -12,6 +12,11 @@ class Fluent::GraphiteOutput < Fluent::Output
12
12
  config_param :name_keys, :string, default: nil
13
13
  config_param :name_key_pattern, :string, default: nil
14
14
 
15
+ # Define `log` method for v0.10.42 or earlier
16
+ unless method_defined?(:log)
17
+ define_method(:log) { $log }
18
+ end
19
+
15
20
  def initialize
16
21
  super
17
22
  require 'graphite-api'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-graphite
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
  - Satoshi SUZUKI