Skip to content

Added RSpec as a runtime and development dependency for the gem #40

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 1 commit into from
Dec 11, 2021

Conversation

itay-grudev
Copy link
Contributor

If RSpec is not a runtime dependency, if the gem is included before RSpec in your Gemfile it may results in issues, because RSpec hasn't been loaded yet.

For example, in my project this causes:

undefined method `configure' for RSpec:Module (NoMethodError)

The bypass is simple, add it after gem 'rspec', but the actual cause is simply that the gem needs RSpec as a runtime dependency as well as a development dependency - hence the change.

P.S. I hope I wasn't being presumptions when filling your CHANGELOG and versions. I just wanted to save you the hassle of doing that.

@itay-grudev
Copy link
Contributor Author

If you like PR #41 I recommend you merge that first to run RSpec for this PR.

@khamusa khamusa merged commit dec50fd into khamusa:master Dec 11, 2021
@khamusa
Copy link
Owner

khamusa commented Dec 11, 2021

Thank you, @itay-grudev

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