Permalink
Browse files

removing the unused "current_version" variable

  • Loading branch information...
1 parent 4b7c589 commit d5871f5be3f9d7c87cf9169cfbf5c5f4f947d3fc @tenderlove tenderlove committed Jul 9, 2010
Showing with 0 additions and 3 deletions.
  1. +0 −1 lib/rubygems/specification.rb
  2. +0 −2 test/test_gem_specification.rb
@@ -765,7 +765,6 @@ def to_ruby
result << nil
result << " if s.respond_to? :specification_version then"
- result << " current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION"
result << " s.specification_version = #{specification_version}"
result << nil
@@ -777,7 +777,6 @@ def test_to_ruby
s.summary = %q{this is a summary}
if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = #{Gem::Specification::CURRENT_SPECIFICATION_VERSION}
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -832,7 +831,6 @@ def test_to_ruby_fancy
s.test_files = [\"test/suite.rb\"]
if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then

0 comments on commit d5871f5

Please sign in to comment.