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 +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +10 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.v0.10 +4 -0
- data/Gemfile.v0.12 +4 -0
- data/README.md +1 -1
- data/Rakefile +6 -5
- data/example.conf +10 -0
- data/fluent-plugin-gc.gemspec +2 -2
- data/lib/fluent/plugin/in_gc.rb +2 -1
- data/test/helper.rb +15 -0
- metadata +19 -15
- data/spec/spec_helper.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0159d92742dfa24fcc4f4aa4e23a8551826aaa34'
|
4
|
+
data.tar.gz: f9a4558e82054b56023abd1316aed3c3650d9600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d0a3661bf50b1a4bbc528d6cb94f5f15735f7760efb00fda96324e7485fc4a8de707fe4635022005893e334893d2645b2007cf0e861470ad109e60e7779a8a8
|
7
|
+
data.tar.gz: 52c839a2ad7fcbae1219a9e375bf5d3b34575b825a426154f7dfd40b253a1fb276e46f52c0f5050638bbaed18b39074c5ffa9af74545972a788cde29c037c984
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
data/Gemfile.v0.10
ADDED
data/Gemfile.v0.12
ADDED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require "bundler/gem_tasks"
|
3
3
|
|
4
|
-
require '
|
5
|
-
|
6
|
-
|
7
|
-
|
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 => :
|
10
|
+
task :default => :test
|
10
11
|
|
11
12
|
desc 'Open an irb session preloaded with the gem library'
|
12
13
|
task :console do
|
data/example.conf
ADDED
data/fluent-plugin-gc.gemspec
CHANGED
@@ -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.
|
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 "
|
23
|
+
s.add_development_dependency "test-unit"
|
24
24
|
end
|
data/lib/fluent/plugin/in_gc.rb
CHANGED
data/test/helper.rb
ADDED
@@ -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.
|
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:
|
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:
|
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
|
-
-
|
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.
|
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
|
-
-
|
100
|
+
- test/helper.rb
|
data/spec/spec_helper.rb
DELETED
@@ -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'
|