This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ webmock (~> 1.4 → ~> 3.19) · Repo · Changelog
Release Notes
3.19.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 42 commits:
Version 3.19.0
Merge pull request #1033 from technicalpickles/frozen-string-literal
Merge pull request #1029 from baweaver/baweaver/performance/normalize_headers_optimization
Merge pull request #1030 from Yuki-Inoue/master
Merge pull request #1012 from inkstak/feature-to_return_json_accepts_array_body
Merge pull request #1026 from baweaver/patch-2
Merge pull request #1006 from marcrohloff/fix-version-checking
Merge branch 'master' into fix-version-checking
Merge pull request #1024 from romanstrazanec/fix-version-check-for-max-major-version
Merge pull request #1023 from henrik/patch-2
Updated gemspec to not include test files.
Updated gemspec since Webmock doesn't support Ruby < 2.5
Added specs to make sure hash_excluding matcher works in test/unit tests and rspec tests.
Merge pull request #1013 from lucasarnaud/fix-matching-stubs-with-HashExcludingMatcher
Allow some specs to be retried when making real requests and receiving connection error.
em_http_requests raises RuntimeError on timeout
Retry refused real requests when running webmock specs.
Removed unused badges from Readme.
Retry timed out real requests when running webmock specs.
Don't require any async-http dependencies if we are on JRuby
Do not have async-http as development dependency on jruby since we don't support it on jruby anyway.
Don't support Ruby 2.5. Added list of supported versions to Readme.
Don't continue on error
Use latest available bundler on CI, since 2.4 is not available on Ruby 2.5
It's Minitest now, not MiniTest
Use actions/checkout@v3 on CI
Use latest rubygems on CI
Do not alter real (non-stubbed) request headers when handling em-http-request requests.
Use frozen string literals
Use 'rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment' to add frozen string literals
add "[::1]" for localhost determination
Optimizes `normalize_headers` for performance
Json-ify procs in #to_return_json
Add #to_return_json to README
Json-ify any non-string object in #to_return_json
README.md Spacing Fixes
Fix version check when major version is less than the max version
Update README.md
Fix matching stubs with HashExcludingMatcher
Version checker fails under some conditions
Merge pull request #1000 from akmhmgc/refactor
Refactor WebMock::Util::HashCounter
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands