Skip to content

Add condition to check RSpec availability in install generator #63

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

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

dineshpanda
Copy link
Contributor

There could be cases where the graphiti:install generator can be executed but RSpec might not be installed in that environment.
With this change it will not stop the generator with a message like The file /../../spec/rails_helper.rb does not appear to exist.

@jkeen jkeen merged commit 13895d9 into graphiti-api:master Mar 17, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request Mar 21, 2025
## [0.4.1](v0.4.0...v0.4.1) (2025-03-21)

### Bug Fixes

* `register_parameter_parser` overiding custom config ([#109](#109)) ([a135bfa](a135bfa))
* Add basic column type conversion. ([#83](#83)) ([e5bbc92](e5bbc92))
* Add condition to check RSpec availability in install generator ([#63](#63)) ([13895d9](13895d9))
* rspec double was leaking across tests ([#105](#105)) ([b38faf2](b38faf2))
* Stringify path if Rails version > 7 ([#107](#107)) ([47d356c](47d356c))
Copy link

🎉 This PR is included in version 0.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants