Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ source 'https://rubygems.org'
gem 'bump'
gem 'bundler'
gem 'codeclimate-test-reporter', '< 1.0.0', require: false
gem 'copyright-header'
gem 'minitest', '~> 5.0' # minitest/mock was removed in minitest 6.0, so we need to use minitest 5.x for now
gem 'rake'
gem 'rubocop'
Expand Down
19 changes: 0 additions & 19 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,3 @@ Rake::TestTask.new(:base_test) do |task|
task.pattern = 'test/**/test_*.rb'
task.warning = false
end

desc 'Add copyright headers'
task :headers do
require 'rubygems'
require 'copyright_header'

args = {
license: 'Apache-2.0',
copyright_software: 'Fluentd Kubernetes Metadata Filter Plugin',
copyright_software_description: 'Enrich Fluentd events with Kubernetes metadata',
copyright_holders: ['Red Hat, Inc.'],
copyright_years: ['2015-2021'],
add_path: 'lib:test',
output_dir: '.'
}

command_line = CopyrightHeader::CommandLine.new(args)
command_line.execute
end
Loading