middleware icon indicating copy to clipboard operation
middleware copied to clipboard

Generalized middleware implementation for Ruby.

Results 10 middleware issues
Sort by recently updated
recently updated
newest added

In Ruby 3, keyword arguments has to be splat into its own using double splat. See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/ This fixes the following error: ```log in `initialize': wrong number of arguments (given...

Using travis-ci.org as a CI service is not possible now. We can migrate to travis-ci.com or GitHub Actions, so it's an attempt to use GitHub Actions as a CI service....

Would be good to push a new version to rubygems if & when the outstanding pull requests have been accepted.

middleware depends on redcarpet 2.x. From middleware.gemspec: ``` gem.add_development_dependency "redcarpet", "~> 2.1.0" ``` This version of redcarpet is very old and is vulnerable to cross-site scripting, as described in this...

I have a project where I would like to setup a reference stack and then make a few different stacks that differ in only a small way from the reference...

...gument This should provide a fix #7 whilst being backwards compatible with existing style builder definitions

What is the correct way to raise an error partway through the stack and detect it in the previous calls to undo things as needed? I could wrap each @app.call(env)...

enhancement

Slightly different implementation to #3, feels a bit more explicit and obvious as to what's going on when reading the source. Also has tests.

I'm not sure exactly what this issue is (or what to do about it), but for some reason building a stack with a parameter out of a hash dies. ```...