1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

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

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}"