1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

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

View file

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