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

Make hook scopes and runners non-configurable #1459

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

pirj
Copy link
Member

@pirj pirj commented Nov 2, 2022

Unlike other RSpec DSL elements, there is no obvious way of configuring aliases for runners, and there's no point (I know of) and no straightforward way for adding more hook scopes.

It doesn't make sense to expose them in the configuration file, as those won't ever be configured by users.

Originated from


Before submitting the PR make sure the following are checked:

  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • [-] Added tests.
  • [-] Updated documentation.
  • Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
  • The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

@pirj pirj self-assigned this Nov 2, 2022
@pirj pirj force-pushed the make-runners-and-hook-scopes-non-configurable branch from 0cc339e to b50fa4d Compare November 2, 2022 21:18
As opposed to other RSpec DSL elements, there is no obvious way of
configuring aliases for them.

It doesn't make sense to expose them in the configuration file, as those
won't ever be configured by users.
@pirj pirj force-pushed the make-runners-and-hook-scopes-non-configurable branch from b50fa4d to 744918d Compare November 2, 2022 21:20
@pirj pirj requested review from Darhazer and bquorning November 2, 2022 21:20
@pirj pirj merged commit 6e50e06 into master Nov 3, 2022
@pirj pirj deleted the make-runners-and-hook-scopes-non-configurable branch November 3, 2022 10:45
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.

3 participants