Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmetic cleanup of generated Gemfile #9955

Merged
merged 2 commits into from
Mar 27, 2013
Merged

Cosmetic cleanup of generated Gemfile #9955

merged 2 commits into from
Mar 27, 2013

Conversation

rubys
Copy link
Contributor

@rubys rubys commented Mar 27, 2013

  • Remove obsolete/misleading comment about assets only being used production
  • Remove unnecessary group :assets
  • Eliminate blank lines if options[:skip_javascript] is not specified

GEMFILE
end

if options[:skip_javascript]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be unless

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be clear, the lines it is replacing are:

#{coffee_gemfile_entry if options[:skip_javascript]}
#{javascript_runtime_gemfile_entry(2) if options[:skip_javascript]}

Are you suggesting that those lines are buggy?

- Remove obsolete/misleading comment about assets only being used production
- Remove unnecessary group :assets
- Eliminate blank lines if options[:skip_javascript] is not specified
rafaelfranca added a commit that referenced this pull request Mar 27, 2013
Cosmetic cleanup of generated Gemfile
@rafaelfranca rafaelfranca merged commit d684de4 into rails:master Mar 27, 2013
jrafanie added a commit to jrafanie/manageiq that referenced this pull request May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.