puma
puma copied to clipboard
Add `#on_stopped` DSL (re: discussion/3379)
Description
This change adds the #on_stopped
method to Puma's DSL, to match the functionality provided by #on_booted
. Since this DSL method is documented, its absence appears to be a simple oversight, and it seems appropriate to have.
Your checklist for this pull request
- [x] I have reviewed the guidelines for contributing to this repository.
- [x] I have added (or updated) appropriate tests if this PR fixes a bug or adds a feature.
- [x] My pull request is 100 lines added/removed or less so that it can be easily reviewed.
- [x] If this PR doesn't need tests (docs change), I added
[ci skip]
to the title of the PR. - [x] If this closes any issues, I have added "Closes
#issue
" to the PR description or my commit messages. - [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed, including Rubocop.