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:
parent
ae3b012597
commit
9eef9585e1
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue