Skip to content

Commit 8c7321f

Browse files
committed
Remove copyright-headers
This is EOL, and broken on modern Rubies due to bad syntax, and needs replacement with something else.
1 parent c0f29fb commit 8c7321f

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ source 'https://rubygems.org'
33

44
gemspec
55

6-
gem "copyright-header", "1.0.22", :platform => :mri, :group => :copyright
7-
86
# vim: syntax=Ruby

Rakefile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,4 @@ task :specs do
3939
Dir['spec/**/*_spec.rb'].each { |f| require f.sub(/spec\//, '') }
4040
end
4141

42-
task :headers do
43-
require 'copyright_header'
44-
45-
s = Gem::Specification.load( Dir["*gemspec"].first )
46-
47-
args = {
48-
:license => s.license,
49-
:copyright_software => s.name,
50-
:copyright_software_description => s.description,
51-
:copyright_holders => s.authors,
52-
:copyright_years => [Time.now.year],
53-
:add_path => "lib:src",
54-
:output_dir => './'
55-
}
56-
57-
command_line = CopyrightHeader::CommandLine.new( args )
58-
command_line.execute
59-
end
60-
6142
# vim: syntax=Ruby

0 commit comments

Comments
 (0)