Merge pull request #4022 from olleolleolle/patch-1

Gemspec: Drop EOL'd property rubyforge_project
This commit is contained in:
Wesley Beary 2019-07-15 09:08:34 -05:00 committed by GitHub
commit 574246aee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 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}"

View File

@ -13,7 +13,6 @@ Gem::Specification.new do |s|
s.name = "fog"
s.version = "2.2.0"
s.date = "2019-06-18"
s.rubyforge_project = "fog"
## Make sure your summary is short. The description may be as long
## as you like.