fluent-plugin-gc 0.0.2 → 0.0.3

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: 705d9f1dfcd93cb19368ecffd3ce772c2be7ec32
4
- data.tar.gz: 685b6ce19bb570890695391a5a6892930736e713
3
+ metadata.gz: '0159d92742dfa24fcc4f4aa4e23a8551826aaa34'
4
+ data.tar.gz: f9a4558e82054b56023abd1316aed3c3650d9600
5
5
  SHA512:
6
- metadata.gz: 76a62ba40564ceb0b53a494413d0739580d3168e3508ffb78dc2689d68c1d7a3e117379184c69e2eb2bcce09ecb5ecba93a06b3a6cb0a16dc797780e3508e11a
7
- data.tar.gz: 1d62758f4a9fc4ff326d7673a5aa1a4da61b7a55439193706a724fad4f098d760e1007952a5749e2ab1dd36a5c6476cee4f8240769154650920806f53f468801
6
+ metadata.gz: 0d0a3661bf50b1a4bbc528d6cb94f5f15735f7760efb00fda96324e7485fc4a8de707fe4635022005893e334893d2645b2007cf0e861470ad109e60e7779a8a8
7
+ data.tar.gz: 52c839a2ad7fcbae1219a9e375bf5d3b34575b825a426154f7dfd40b253a1fb276e46f52c0f5050638bbaed18b39074c5ffa9af74545972a788cde29c037c984
data/.gitignore CHANGED
@@ -11,3 +11,4 @@ tmp/*
11
11
  coverage
12
12
  .yardoc
13
13
  pkg/*
14
+ .ruby-version
@@ -0,0 +1,10 @@
1
+ rvm:
2
+ - 2.1.*
3
+ - 2.2.*
4
+ - 2.3.*
5
+ gemfile:
6
+ - Gemfile
7
+ - Gemfile.v0.10
8
+ - Gemfile.v0.12
9
+ before_install:
10
+ - gem update bundler
@@ -1,3 +1,9 @@
1
+ ## 0.0.3 (2017/09/15)
2
+
3
+ Enhancement:
4
+
5
+ * Support Fluentd v0.14
6
+
1
7
  ## 0.0.2 (2014/02/04)
2
8
 
3
9
  Enhancement:
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
4
+ gem 'fluentd', '~> 0.10.0'
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
4
+ gem 'fluentd', '~> 0.12.0'
data/README.md CHANGED
@@ -10,7 +10,7 @@ Example:
10
10
  type gc
11
11
  interval 5
12
12
  disable yes
13
- </match>
13
+ </source>
14
14
 
15
15
  ## Parameters
16
16
 
data/Rakefile CHANGED
@@ -1,12 +1,13 @@
1
1
  # encoding: utf-8
2
2
  require "bundler/gem_tasks"
3
3
 
4
- require 'rspec/core'
5
- require 'rspec/core/rake_task'
6
- RSpec::Core::RakeTask.new(:spec) do |spec|
7
- spec.pattern = FileList['spec/**/*_spec.rb']
4
+ require 'rake/testtask'
5
+ Rake::TestTask.new(:test) do |test|
6
+ test.libs << 'lib' << 'test'
7
+ test.pattern = 'test/**/test_*.rb'
8
+ test.verbose = true
8
9
  end
9
- task :default => :spec
10
+ task :default => :test
10
11
 
11
12
  desc 'Open an irb session preloaded with the gem library'
12
13
  task :console do
@@ -0,0 +1,10 @@
1
+ <source>
2
+ type gc
3
+ interval 5
4
+ disable yes
5
+ debug yes
6
+ </source>
7
+
8
+ <match **>
9
+ type null
10
+ </match>
@@ -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-gc"
6
- s.version = "0.0.2"
6
+ s.version = "0.0.3"
7
7
  s.authors = ["Naotoshi Seo"]
8
8
  s.email = ["sonots@gmail.com"]
9
9
  s.homepage = "https://github.com/sonots/fluent-plugin-gc"
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_runtime_dependency "fluentd"
22
22
  s.add_development_dependency "rake"
23
- s.add_development_dependency "rspec"
23
+ s.add_development_dependency "test-unit"
24
24
  end
@@ -1,4 +1,5 @@
1
- # encoding: UTF-8
1
+ require 'fluent/input'
2
+
2
3
  class Fluent::GcInput < Fluent::Input
3
4
  Fluent::Plugin.register_input('gc', self)
4
5
 
@@ -0,0 +1,15 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+
12
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
13
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
14
+ require 'fluent/test'
15
+ require 'fluent/plugin/in_gc'
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-gc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2017-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: test-unit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Fluentd plugin to disable GC and start GC at arbitrary interval
@@ -59,15 +59,19 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
+ - ".travis.yml"
63
64
  - CHANGELOG.md
64
65
  - Gemfile
66
+ - Gemfile.v0.10
67
+ - Gemfile.v0.12
65
68
  - LICENSE
66
69
  - README.md
67
70
  - Rakefile
71
+ - example.conf
68
72
  - fluent-plugin-gc.gemspec
69
73
  - lib/fluent/plugin/in_gc.rb
70
- - spec/spec_helper.rb
74
+ - test/helper.rb
71
75
  homepage: https://github.com/sonots/fluent-plugin-gc
72
76
  licenses:
73
77
  - MIT
@@ -78,19 +82,19 @@ require_paths:
78
82
  - lib
79
83
  required_ruby_version: !ruby/object:Gem::Requirement
80
84
  requirements:
81
- - - '>='
85
+ - - ">="
82
86
  - !ruby/object:Gem::Version
83
87
  version: '0'
84
88
  required_rubygems_version: !ruby/object:Gem::Requirement
85
89
  requirements:
86
- - - '>='
90
+ - - ">="
87
91
  - !ruby/object:Gem::Version
88
92
  version: '0'
89
93
  requirements: []
90
94
  rubyforge_project: fluent-plugin-gc
91
- rubygems_version: 2.0.3
95
+ rubygems_version: 2.5.2
92
96
  signing_key:
93
97
  specification_version: 4
94
98
  summary: Fluentd plugin to disable GC and start GC at arbitrary interval
95
99
  test_files:
96
- - spec/spec_helper.rb
100
+ - test/helper.rb
@@ -1,15 +0,0 @@
1
- # encoding: UTF-8
2
- require 'rubygems'
3
- require 'bundler'
4
- Bundler.setup(:default, :test)
5
- Bundler.require(:default, :test)
6
-
7
- require 'coveralls'
8
- Coveralls.wear!
9
-
10
- require 'fluent/test'
11
- require 'rspec'
12
-
13
- $TESTING=true
14
- $:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
15
- require 'fluent/plugin/in_gc'