Use strip_heredoc where possible
Use strip_heredoc where possible

Following up on an observation by @rafaelfranca

https://github.com/rails/rails/pull/10170/files#r3753963

Reduce the number of gsub calls to the two cases where inputs are concatenated
from various sources and with inconsistent indentation.

Also zap extraneous spacing from the sass-rails line... presumably this is a
holdover from a previous time where this aligned the version string with an
adjacent line.

voray/rails,mechanicles/rails,gfvcastro/rails,MichaelSp/rails,Vasfed/rails,kachick/rails,utilum/rails,aditya-kapoor/rails,ngpestelos/rails,MSP-Greg/rails,printercu/rails,voray/rails,gfvcastro/rails,kenta-s/rails,rbhitchcock/rails,gavingmiller/rails,Spin42/rails,rafaelfranca/omg-rails,lucasmazza/rails,travisofthenorth/rails,Envek/rails,coreyward/rails,ttanimichi/rails,illacceptanything/illacceptanything,yhirano55/rails,lcreid/rails,starknx/rails,Edouard-chin/rails,kddeisz/rails,illacceptanything/illacceptanything,baerjam/rails,kmayer/rails,lucasmazza/rails,matrinox/rails,illacceptanything/illacceptanything,yhirano55/rails,yalab/rails,printercu/rails,kenta-s/rails,BlakeWilliams/rails,assain/rails,repinel/rails,stefanmb/rails,brchristian/rails,bogdanvlviv/rails,illacceptanything/illacceptanything,xlymian/rails,88rabbit/newRails,Sen-Zhang/rails,rossta/rails,yhirano55/rails,deraru/rails,jeremy/rails,Envek/rails,tgxworld/rails,yawboakye/rails,notapatch/rails,tjschuck/rails,gavingmiller/rails,lcreid/rails,notapatch/rails,esparta/rails,bradleypriest/rails,esparta/rails,matrinox/rails,richseviora/rails,printercu/rails,odedniv/rails,voray/rails,mijoharas/rails,arunagw/rails,kenta-s/rails,gauravtiwari/rails,arjes/rails,pvalena/rails,mtsmfm/rails,odedniv/rails,mechanicles/rails,shioyama/rails,Spin42/rails,vassilevsky/rails,kmcphillips/rails,Sen-Zhang/rails,Stellenticket/rails,mohitnatoo/rails,starknx/rails,ngpestelos/rails,sealocal/rails,kmayer/rails,samphilipd/rails,Envek/rails,mathieujobin/reduced-rails-for-travis,amoody2108/TechForJustice,Edouard-chin/rails,BlakeWilliams/rails,eileencodes/rails,vipulnsward/rails,mtsmfm/railstest,gauravtiwari/rails,prathamesh-sonpatki/rails,Vasfed/rails,marklocklear/rails,ledestin/rails,shioyama/rails,illacceptanything/illacceptanything,schuetzm/rails,gauravtiwari/rails,illacceptanything/illacceptanything,rafaelfranca/omg-rails,koic/rails,samphilipd/rails,tjschuck/rails,joonyou/rails,yasslab/railsguides.jp,repinel/rails,rails/rails,illacceptanything/illacceptanything,EmmaB/rails-1,arjes/rails,yahonda/rails,Erol/rails,rails/rails,betesh/rails,pvalena/rails,brchristian/rails,BlakeWilliams/rails,utilum/rails,jeremy/rails,tijwelch/rails,ttanimichi/rails,kddeisz/rails,esparta/rails,palkan/rails,ttanimichi/rails,yahonda/rails,tijwelch/rails,MichaelSp/rails,ledestin/rails,88rabbit/newRails,MSP-Greg/rails,shioyama/rails,gavingmiller/rails,travisofthenorth/rails,rossta/rails,palkan/rails,flanger001/rails,mtsmfm/railstest,xlymian/rails,sealocal/rails,elfassy/rails,tgxworld/rails,hanystudy/rails,aditya-kapoor/rails,MichaelSp/rails,kachick/rails,tjschuck/rails,ledestin/rails,yasslab/railsguides.jp,notapatch/rails,illacceptanything/illacceptanything,bolek/rails,fabianoleittes/rails,xlymian/rails,Sen-Zhang/rails,gfvcastro/rails,sergey-alekseev/rails,mohitnatoo/rails,EmmaB/rails-1,vipulnsward/rails,schuetzm/rails,stefanmb/rails,eileencodes/rails,deraru/rails,joonyou/rails,betesh/rails,iainbeeston/rails,untidy-hair/rails,Stellenticket/rails,pschambacher/rails,assain/rails,arunagw/rails,amoody2108/TechForJustice,riseshia/railsguides.kr,yalab/rails,georgeclaghorn/rails,gcourtemanche/rails,tjschuck/rails,bolek/rails,iainbeeston/rails,illacceptanything/illacceptanything,schuetzm/rails,yawboakye/rails,richseviora/rails,coreyward/rails,eileencodes/rails,arjes/rails,mechanicles/rails,vassilevsky/rails,vipulnsward/rails,illacceptanything/illacceptanything,MSP-Greg/rails,riseshia/railsguides.kr,assain/rails,illacceptanything/illacceptanything,deraru/rails,koic/rails,Envek/rails,tgxworld/rails,brchristian/rails,kaspth/rails,utilum/rails,Vasfed/rails,alecspopa/rails,alecspopa/rails,illacceptanything/illacceptanything,flanger001/rails,alecspopa/rails,untidy-hair/rails,kmayer/rails,starknx/rails,lcreid/rails,gcourtemanche/rails,matrinox/rails,pschambacher/rails,notapatch/rails,aditya-kapoor/rails,amoody2108/TechForJustice,mathieujobin/reduced-rails-for-travis,kamipo/rails,mtsmfm/rails,eileencodes/rails,pvalena/rails,kachick/rails,yalab/rails,Stellenticket/rails,Erol/rails,rbhitchcock/rails,hanystudy/rails,iainbeeston/rails,arunagw/rails,baerjam/rails,iainbeeston/rails,bogdanvlviv/rails,untidy-hair/rails,tgxworld/rails,assain/rails,Edouard-chin/rails,jeremy/rails,felipecvo/rails,marklocklear/rails,maicher/rails,mechanicles/rails,Stellenticket/rails,prathamesh-sonpatki/rails,sergey-alekseev/rails,printercu/rails,gcourtemanche/rails,kirs/rails-1,maicher/rails,felipecvo/rails,schuetzm/rails,ngpestelos/rails,repinel/rails,88rabbit/newRails,elfassy/rails,coreyward/rails,fabianoleittes/rails,shioyama/rails,mohitnatoo/rails,esparta/rails,mijoharas/rails,BlakeWilliams/rails,yasslab/railsguides.jp,riseshia/railsguides.kr,betesh/rails,tijwelch/rails,Spin42/rails,kaspth/rails,felipecvo/rails,vassilevsky/rails,baerjam/rails,travisofthenorth/rails,kddeisz/rails,aditya-kapoor/rails,richseviora/rails,koic/rails,illacceptanything/illacceptanything,kddeisz/rails,rails/rails,lcreid/rails,flanger001/rails,riseshia/railsguides.kr,maicher/rails,kaspth/rails,Erol/rails,deraru/rails,bogdanvlviv/rails,travisofthenorth/rails,pvalena/rails,kirs/rails-1,georgeclaghorn/rails,kmcphillips/rails,pschambacher/rails,georgeclaghorn/rails,yawboakye/rails,joonyou/rails,kamipo/rails,elfassy/rails,yalab/rails,rails/rails,baerjam/rails,illacceptanything/illacceptanything,utilum/rails,yhirano55/rails,palkan/rails,MSP-Greg/rails,palkan/rails,Vasfed/rails,fabianoleittes/rails,yasslab/railsguides.jp,georgeclaghorn/rails,untidy-hair/rails,mtsmfm/railstest,illacceptanything/illacceptanything,mtsmfm/rails,samphilipd/rails,rbhitchcock/rails,hanystudy/rails,kmcphillips/rails,Erol/rails,sealocal/rails,prathamesh-sonpatki/rails,mathieujobin/reduced-rails-for-travis,lucasmazza/rails,fabianoleittes/rails,prathamesh-sonpatki/rails,flanger001/rails,kamipo/rails,bradleypriest/rails,jeremy/rails,betesh/rails,arunagw/rails,kmcphillips/rails,bogdanvlviv/rails,vipulnsward/rails,Edouard-chin/rails,mijoharas/rails,marklocklear/rails,rafaelfranca/omg-rails,yahonda/rails,bradleypriest/rails,yawboakye/rails,kirs/rails-1,stefanmb/rails,mohitnatoo/rails,sergey-alekseev/rails,bolek/rails,joonyou/rails,gfvcastro/rails,yahonda/rails,odedniv/rails,rossta/rails,EmmaB/rails-1,repinel/rails