Skip to content

Commit

Permalink
Merge pull request #1095 from koic/revert_1091
Browse files Browse the repository at this point in the history
Revert "Fix included modules on Ruby 3.4"
  • Loading branch information
koic authored Feb 6, 2025
2 parents e8c5129 + 7ecd77c commit d66d1cd
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 d66d1cd

Please sign in to comment.