Skip to content

Releases: globaldev/webmock-net-http-pipeline

Use `Module.prepend` instead of `Module.include`

31 Jul 10:15
Compare
Choose a tag to compare

Use Module.prepend instead of Module.include when mixing in this module.

This fixes any load-ordering issues with webmock and net-http-pipeline by ensuring that Webmock::NetHTTPPipeline#pipeline is at the front of the call stack.

Important note: this change means the library is now only compatible with Ruby versions >= 2.0.0.