remove version string replacement at updating .gemspec.

This commit is contained in:
Masahiro Fujiwara 2013-03-27 17:47:03 +09:00
parent ae3b012597
commit 9eef9585e1
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ task 'sinatra-contrib.gemspec' do
content.sub!(/ s\.#{field} = \[\n( .*\n)* \]/, updated) content.sub!(/ s\.#{field} = \[\n( .*\n)* \]/, updated)
end end
content.sub! /(s\.version.*=\s+).*/, "\\1\"#{Sinatra::Contrib::VERSION}\""
File.open('sinatra-contrib.gemspec', 'w') { |f| f << content } File.open('sinatra-contrib.gemspec', 'w') { |f| f << content }
end end