Rakefile: Drop EOL'd property rubyforge_project

This commit is contained in:
Olle Jonsson 2019-07-14 10:27:25 +02:00 committed by GitHub
parent c6c0f4893b
commit 3a10f64c4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -30,10 +30,6 @@ def date
Date.today.to_s
end
def rubyforge_project
name
end
def gemspec_file
"#{name}.gemspec"
end
@ -200,8 +196,6 @@ task :gemspec => :validate do
replace_header(spec, :name)
replace_header(spec, :version)
replace_header(spec, :date)
#comment this out if your rubyforge_project has a different name
replace_header(spec, :rubyforge_project)
File.open(gemspec_file, 'w') { |io| io.write(spec) }
puts "Updated #{gemspec_file}"