When using customize_gemfiles as described on the repo 2 newline chars are inserted after the block comment. It should only be 1.
# frozen_string_literal: true
customize_gemfiles do
{
single_quotes: true,
heading: <<~HEADING
frozen_string_literal: true
File has been generated by Appraisal, do NOT modify it directly!
To modify the individual gemfiles. Modify the Appraisals file in the TLD
HEADING
}
end
appraise 'rails_5_2' do
gem 'activerecord'
....
end
Produces
# frozen_string_literal: true
# File has been generated by Appraisal, do NOT modify it directly!
# To modify the individual gemfiles. Modify the Appraisals file in the TLD
source 'https://rubygems.org'
gem 'activerecord'
....
When using customize_gemfiles as described on the repo 2 newline chars are inserted after the block comment. It should only be 1.
Produces