Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from onet-git/master
Extend SSL support and add compatibility with fluentd 1.x
- Loading branch information
Showing
12 changed files
with
260 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
language: ruby | ||
rvm: | ||
- 2.1 | ||
- 2.2 | ||
- 2.3 | ||
- 2.5 | ||
- 2.6 | ||
- 2.7 | ||
gemfile: | ||
- Gemfile | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
require "bundler/gem_tasks" | ||
require "rake/testtask" | ||
Rake::TestTask.new(:test) do |test| | ||
test.libs << 'lib' << 'test' | ||
require 'bundler/gem_tasks' | ||
require 'rake/testtask' | ||
Rake::TestTask.new do |test| | ||
test.libs << 'test' | ||
test.pattern = 'test/**/test_*.rb' | ||
test.verbose = true | ||
end | ||
|
||
task :default => :test | ||
|
||
task default: :test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
# -*- encoding: utf-8 -*- | ||
lib = File.expand_path('../lib', __FILE__) | ||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'fluent/plugin/relp/version' | ||
|
||
Gem::Specification.new do |gem| | ||
gem.name = 'fluent-plugin-relp' | ||
gem.version = Fluent::RelpPlugin::VERSION | ||
gem.author = "Jiří Vymazal" | ||
gem.version = Fluent::RelpPlugin::VERSION | ||
gem.author = 'Jiří Vymazal' | ||
gem.email = ['jvymazal@redhat.com'] | ||
gem.summary = "Fluent plugin to receive messages via RELP" | ||
gem.description = "Plugin allowing recieving log messages via RELP protocol from e.g. syslog" | ||
gem.summary = 'Fluent plugin to receive messages via RELP' | ||
gem.description = 'Plugin allowing recieving log messages via RELP protocol from e.g. syslog' | ||
gem.homepage = 'https://github.com/ViaQ/fluent-plugin-relp' | ||
gem.license = "MIT" | ||
gem.license = 'MIT' | ||
|
||
gem.files = Dir['{lib,bin,test}/**/*'] + ['LICENSE.txt', 'README.md', 'Rakefile', 'CHANGELOG.md'] | ||
gem.test_files = Dir['{test}/**/*'] | ||
gem.require_paths = ["lib"] | ||
gem.require_paths = ['lib'] | ||
|
||
gem.required_ruby_version = '>= 2.0.0' | ||
gem.required_ruby_version = '>= 2.5' | ||
|
||
gem.add_development_dependency 'rake', '~> 0' | ||
gem.add_development_dependency 'test-unit', '~> 3.1' | ||
gem.add_development_dependency 'simplecov', '~> 0' | ||
gem.add_development_dependency 'coveralls', '~> 0' | ||
gem.add_runtime_dependency 'fluentd', '~> 0.12.0' | ||
gem.add_development_dependency 'rake', '>= 10' | ||
gem.add_development_dependency 'simplecov', '~> 0' | ||
gem.add_development_dependency 'test-unit', '~> 3.1' | ||
gem.add_runtime_dependency 'fluentd', '~> 1' | ||
gem.add_runtime_dependency 'relp', '~> 0.2' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Fluent | ||
module RelpPlugin | ||
VERSION = '0.2.0'.freeze | ||
VERSION = '0.3.0'.freeze | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDgTCCAmmgAwIBAgIJAM/qMx/Jus/wMA0GCSqGSIb3DQEBCwUAMFcxCzAJBgNV | ||
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX | ||
aWRnaXRzIFB0eSBMdGQxEDAOBgNVBAsMB0NBIENlcnQwHhcNMTkxMjMxMTgxMTA0 | ||
WhcNMjkxMjI4MTgxMTA0WjBXMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1T | ||
dGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRAwDgYDVQQL | ||
DAdDQSBDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsgb1/heu | ||
RNpxibN3OL44CfYiwotJx91QRMVHs+FUsOLbKOcrulUJqqLsiIqn2bj8id3++95a | ||
t3sasCVyo6gT/EMMC7yeHsMohSEjLMz1DFGmvKggZ61MEzu8nJ5rfGip3UrdGkGW | ||
v2b4vS8wdBUqCZQQHP0EG7HbPGaGW9nFKdYrLnPCjk5jx70mAR0Wt8PtYWxjECtR | ||
uILQxn+V2unZuh2UPGZbPguNHhMmTUr2xo2Q3DCE5vKhPgZwIACCp7IMZa3FnufB | ||
M4eRCHUNEGU5cQoCTRwXqI258mYvLDfgX4VkybFtID0Q3ojAQ9Y/LI8WIlnPgb5f | ||
Lf6cN1R2ER2CVwIDAQABo1AwTjAdBgNVHQ4EFgQUTgDOQ//ngoeN2AVhdfACYPxJ | ||
+nUwHwYDVR0jBBgwFoAUTgDOQ//ngoeN2AVhdfACYPxJ+nUwDAYDVR0TBAUwAwEB | ||
/zANBgkqhkiG9w0BAQsFAAOCAQEARwPfIKgyMjiNknc/Rjoicoz7t+BkSuCGsMcj | ||
KIvfpMDKlPHCnkg8OsEalc9O5P9PpfIWpokSfj++EY2yMsZq0IEtK+1m+NKL8W/o | ||
5dGEMxpmQcaj1soJdHUmYRlyPXEMKADup6EFr7oaELad7MKRwBwxLhDTmqciMvJs | ||
As0tqC6uSp6uSSGQblmgMlB7FM3UmatzAGxvYB3eiRttCK3r5w6rMVjbIaxYiXJ2 | ||
qQThzuI+nj40w4dHmU0qKFrOQibvyCndVUGsNfjDD7qPO7ucVme4xU4Wp4Zn0M8D | ||
M7p27zUXpj/ZRJte9Q3nIYhi4l3MW1hM2C9OP/qQJUity6VR9w== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
# IMPORTANT: for code coverage testing to work, the 4 below lines MUST | ||
# IMPORTANT: for code coverage testing to work, these lines MUST | ||
# stay right on top (before anything else) | ||
require 'simplecov' | ||
SimpleCov.start | ||
require 'coveralls' | ||
Coveralls.wear! | ||
|
||
# Use both simplecov local and coveralls remote coverage reports. | ||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ | ||
SimpleCov::Formatter::HTMLFormatter, | ||
Coveralls::SimpleCov::Formatter | ||
]) | ||
SimpleCov.start | ||
|
||
# rest can continue below | ||
############################################################################### | ||
require 'bundler/setup' | ||
require 'test/unit' | ||
|
||
$LOAD_PATH.unshift(File.join(__dir__, '..', 'lib')) | ||
$LOAD_PATH.unshift(__dir__) | ||
require 'fluent/test' |
Oops, something went wrong.