Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monkeypatch webmock's StubSocket due to a ruby 2.4.0 change in net/http
Copied from: ManageIQ/manageiq#13104 Ruby 2.4.0 removed the closed? check in the conditional in: s.close if !s.closed? Webmock was changed to add close to StubSocket along with another change.. ruby/ruby@f845a9e bblimke/webmock@8f2176a WebMock 2.3.1+ fixed the issue with ruby 2.4.0 by adding StubSocket#close.
- Loading branch information