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

Add gemfile variables #223

Merged
merged 10 commits into from
May 16, 2024
Merged

Conversation

joe-sharp
Copy link
Contributor

@joe-sharp joe-sharp commented Feb 29, 2024

Raised in #191 (comment), it seems desirable to be able to use variables in customize_gemfiles so that custom instructions can be provided. I have added the most likely used options, but I am open to additional ideas.

I also wanted to rewrite the specs to make them a bit easier to troubleshoot if they fail. I added a spec to cover the issue fixed in #222 and coverage for the new variables feature added here.

@joe-sharp joe-sharp marked this pull request as draft February 29, 2024 07:21
@joe-sharp joe-sharp force-pushed the add_gemfile_variables branch from e5d2cec to 86db4b8 Compare February 29, 2024 08:14
@joe-sharp
Copy link
Contributor Author

This PR contains the commit from #222 but is otherwise ready for review

@joe-sharp joe-sharp marked this pull request as ready for review February 29, 2024 08:18
@joe-sharp joe-sharp force-pushed the add_gemfile_variables branch 3 times, most recently from 3281de5 to 66dc1de Compare March 2, 2024 07:40
@nickcharlton
Copy link
Member

Nice! Thanks for doing this. Could you add a line to the README mentioning it?

@joe-sharp
Copy link
Contributor Author

@nickcharlton , done and I added a few more useful variables as well. All documented and covered by specs! 😁

Copy link
Member

@nickcharlton nickcharlton left a comment

Choose a reason for hiding this comment

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

Nice, thanks for doing this!

README.md Show resolved Hide resolved
@joe-sharp joe-sharp requested a review from nickcharlton April 9, 2024 18:35
@joe-sharp
Copy link
Contributor Author

@nickcharlton I believe this is ready to merge. Thanks!

@nickcharlton nickcharlton merged commit be4fa01 into thoughtbot:main May 16, 2024
1 check passed
@joe-sharp joe-sharp deleted the add_gemfile_variables branch June 4, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants