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 rack.response_finished to Rack::Lint. #1952

Merged
merged 2 commits into from Aug 26, 2022
Merged

Commits on Aug 26, 2022

  1. Add rack.response_finished to Rack::Lint

    This updates Rack::Lint to validate that `rack.response_finished` is an
    array of callables when present in the `env`. e.g. procs, lambdas, or
    objects that respond to `call`.
    
    This validates that:
    
    * `rack.response_finished` is an array
    * The contents of the array all respond to `call`
    BlakeWilliams authored and ioquatix committed Aug 26, 2022
    Copy the full SHA
    d804915 View commit details
    Browse the repository at this point in the history
  2. Clarified more behaviour.

    ioquatix committed Aug 26, 2022
    Copy the full SHA
    4098c4b View commit details
    Browse the repository at this point in the history