bridgetownrb / bridgetown-cloudinary

Embed or access images with transformations using Cloudinary and Bridgetown
MIT License
6 stars 3 forks source link

v2.1 Automation Whitespace Bug #5

Closed andrewmcodes closed 3 weeks ago

andrewmcodes commented 2 years ago

It appears that it doesn't actually break anything so this is low prio. 😄

Bug

When running the automation:

bin/bridgetown apply https://github.com/bridgetownrb/bridgetown-cloudinary

On a new Bridgetown v1.2.0.beta3 site, the following output is produced:

  init :"bridgetown-cloudinary"do
    cloud_name "andrewmcodes"
  end

instead of:

  init :"bridgetown-cloudinary" do
    cloud_name "andrewmcodes"
  end

Notice there is no space between the "" and do in the first example.

Reproduction Steps

  1. Run bin/bridgetown apply https://github.com/bridgetownrb/bridgetown-cloudinary in the root of your Bridgetown site
  2. Look at output in config/initializers.rb

Desired Solution

Ideally there would be a space between the end of the " and do here. I tried messing with it for a few minutes and couldn't get it so wanted to get an issue opened for visibility.

Versions

jaredcwhite commented 2 years ago

Yeah, that was an annoying thing I think I fixed on main but it didn't get into the beta3 release. Thanks for tracking it here so we can verify it later.