fluent-plugin-diskusage 0.0.1 → 0.0.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 121d4248acae8b738328c4ca979b23bc55c495e8
4
- data.tar.gz: bc0548e506c224349f67f6244d52999c762d64d3
3
+ metadata.gz: 12e46bb4eec544b7ceefc2a14c94d4d30861ed3a
4
+ data.tar.gz: e8763a7141b7117277bb797acb43a134fb174f96
5
5
  SHA512:
6
- metadata.gz: 50fa08565e35ae1157b492e3ece4061a81287b52d8e6d84ceb9ecd9c83aa63dd26df7160fd0af5cdc38c62230ebafc3d44e0ec07d4c714e20059cd5ffe99838f
7
- data.tar.gz: b8cfe0b4b497a4a8ed8e32cc54e7ec6af3e1d079e69edab2aac2ed1121febc44d9daeb5b9e4ba788f9d0f627c2a52125a3e8fef464a71109aa1ca1ce08bb585f
6
+ metadata.gz: 7a960c626ecc29da47fa6437c5248dba401710edeb4141cb0364085f82eff45f3a1b4d32732f131097afa7870f9effcec86293d6cde329334c58081682e1d9fd
7
+ data.tar.gz: 71bbd01be0919b1a6f4fb1eba00c781e2e4fabec2ec1f75fa61024e6d84ded2d1295dd9dbf219c11d5550dfa46ae42f51a21ec83ab492300e4dfa919f4adabbd
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ fluent-plugin-diskusage-*.gem
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 TODO: Write your name
3
+ Copyright (c) 2015 TODO: Jason Westbrook
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -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-diskusage"
7
- spec.version = '0.0.1'
7
+ spec.version = '0.0.2'
8
8
  spec.authors = ["Jason Westbrook"]
9
9
  spec.email = ["jwestbrook@gmail.com"]
10
10
 
@@ -1,6 +1,11 @@
1
1
  class Fluent::DiskUsage < Fluent::Input
2
2
  Fluent::Plugin.register_input('diskusage',self)
3
3
 
4
+ # Define `router` method to support v0.10.57 or earlier
5
+ unless method_defined?(:router)
6
+ define_method("router") { Fluent::Engine }
7
+ end
8
+
4
9
  config_param :tag, :string
5
10
  config_param :mountpoint, :string
6
11
  config_param :label, :string
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-diskusage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Westbrook