Skip to content

Commit

Permalink
Revert "Fix included modules on Ruby 3.4"
Browse files Browse the repository at this point in the history
This reverts commit c228536 in #1091.

Since the CI is failing, the changes must ensure that the CI passes.
  • Loading branch information
koic committed Feb 6, 2025
1 parent e8c5129 commit 7ecd77c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/webmock/http_lib_adapters/httpclient_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,18 +230,18 @@ def clear_thread_variables
end

class WebMockHTTPClient < HTTPClient
include WebMockHTTPClients

alias_method :do_get_block_without_webmock, :do_get_block
alias_method :do_get_stream_without_webmock, :do_get_stream

include WebMockHTTPClients
end

if defined? ::JSONClient
class WebMockJSONClient < JSONClient
include WebMockHTTPClients

alias_method :do_get_block_without_webmock, :do_get_block
alias_method :do_get_stream_without_webmock, :do_get_stream

include WebMockHTTPClients
end
end

Expand Down

0 comments on commit 7ecd77c

Please sign in to comment.