Skip to content

Commit

Permalink
use OriginalNetHTTP when WebMock replaced Net::HTTP constant with a mock
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Jun 19, 2024
1 parent 84230be commit c803e4b
Show file tree
Hide file tree
Showing 229 changed files with 1,799 additions and 249 deletions.
13 changes: 9 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,31 @@ source "https://rubygems.org"
# Specify your gem's dependencies in datadog-ci.gemspec
gemspec

# dev experience
gem "pry"
gem "rake"
gem "os"
gem "standard", "~> 1.31"

# To compile native extensions
# native extensions
gem "rake-compiler"

# testing
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "webmock"
# platform helpers
gem "os"

gem "standard", "~> 1.31"

# docs and release
gem "yard"
gem "redcarpet" if RUBY_PLATFORM != "java"
gem "webrick"
gem "pimpmychangelog", ">= 0.1.2"

# coverage
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"

Expand Down
1 change: 1 addition & 0 deletions Steepfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ target :lib do
library "selenium-webdriver"
library "capybara"
library "timecop"
library "webmock"
end
5 changes: 3 additions & 2 deletions gemfiles/jruby_9.4_activesupport_4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ source "https://rubygems.org"

gem "pry"
gem "rake"
gem "os"
gem "standard", "~> 1.31"
gem "rake-compiler"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "standard", "~> 1.31"
gem "webmock"
gem "os"
gem "yard"
gem "webrick"
gem "pimpmychangelog", ">= 0.1.2"
Expand Down
12 changes: 12 additions & 0 deletions gemfiles/jruby_9.4_activesupport_4.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ GEM
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
appraisal (2.5.0)
bundler
rake
Expand All @@ -22,6 +24,9 @@ GEM
climate_control (1.2.0)
coderay (1.1.3)
concurrent-ruby (1.2.3)
crack (1.0.0)
bigdecimal
rexml
datadog (2.0.0)
debase-ruby_core_source (= 3.3.1)
libdatadog (~> 9.0.0.1.0)
Expand All @@ -31,6 +36,7 @@ GEM
diff-lcs (1.5.1)
docile (1.4.0)
ffi (1.16.3-java)
hashdiff (1.1.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
json (2.7.2-java)
Expand All @@ -52,6 +58,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
public_suffix (5.1.1)
racc (1.8.0-java)
rainbow (3.1.1)
rake (13.2.1)
Expand Down Expand Up @@ -123,6 +130,10 @@ GEM
tzinfo (1.2.11)
thread_safe (~> 0.1)
unicode-display_width (2.5.0)
webmock (3.23.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.1)
yard (0.9.36)

Expand All @@ -146,6 +157,7 @@ DEPENDENCIES
simplecov
simplecov-cobertura (~> 2.1.0)
standard (~> 1.31)
webmock
webrick
yard

Expand Down
5 changes: 3 additions & 2 deletions gemfiles/jruby_9.4_activesupport_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ source "https://rubygems.org"

gem "pry"
gem "rake"
gem "os"
gem "standard", "~> 1.31"
gem "rake-compiler"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "standard", "~> 1.31"
gem "webmock"
gem "os"
gem "yard"
gem "webrick"
gem "pimpmychangelog", ">= 0.1.2"
Expand Down
12 changes: 12 additions & 0 deletions gemfiles/jruby_9.4_activesupport_5.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ GEM
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
appraisal (2.5.0)
bundler
rake
Expand All @@ -22,6 +24,9 @@ GEM
climate_control (1.2.0)
coderay (1.1.3)
concurrent-ruby (1.2.3)
crack (1.0.0)
bigdecimal
rexml
datadog (2.0.0)
debase-ruby_core_source (= 3.3.1)
libdatadog (~> 9.0.0.1.0)
Expand All @@ -31,6 +36,7 @@ GEM
diff-lcs (1.5.1)
docile (1.4.0)
ffi (1.16.3-java)
hashdiff (1.1.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2-java)
Expand All @@ -52,6 +58,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
public_suffix (5.1.1)
racc (1.8.0-java)
rainbow (3.1.1)
rake (13.2.1)
Expand Down Expand Up @@ -123,6 +130,10 @@ GEM
tzinfo (1.2.11)
thread_safe (~> 0.1)
unicode-display_width (2.5.0)
webmock (3.23.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.1)
yard (0.9.36)

Expand All @@ -146,6 +157,7 @@ DEPENDENCIES
simplecov
simplecov-cobertura (~> 2.1.0)
standard (~> 1.31)
webmock
webrick
yard

Expand Down
5 changes: 3 additions & 2 deletions gemfiles/jruby_9.4_activesupport_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ source "https://rubygems.org"

gem "pry"
gem "rake"
gem "os"
gem "standard", "~> 1.31"
gem "rake-compiler"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "standard", "~> 1.31"
gem "webmock"
gem "os"
gem "yard"
gem "webrick"
gem "pimpmychangelog", ">= 0.1.2"
Expand Down
12 changes: 12 additions & 0 deletions gemfiles/jruby_9.4_activesupport_6.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ GEM
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
appraisal (2.5.0)
bundler
rake
Expand All @@ -23,6 +25,9 @@ GEM
climate_control (1.2.0)
coderay (1.1.3)
concurrent-ruby (1.2.3)
crack (1.0.0)
bigdecimal
rexml
datadog (2.0.0)
debase-ruby_core_source (= 3.3.1)
libdatadog (~> 9.0.0.1.0)
Expand All @@ -32,6 +37,7 @@ GEM
diff-lcs (1.5.1)
docile (1.4.0)
ffi (1.16.3-java)
hashdiff (1.1.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2-java)
Expand All @@ -53,6 +59,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
public_suffix (5.1.1)
racc (1.8.0-java)
rainbow (3.1.1)
rake (13.2.1)
Expand Down Expand Up @@ -123,6 +130,10 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
webmock (3.23.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.1)
yard (0.9.36)
zeitwerk (2.6.14)
Expand All @@ -147,6 +158,7 @@ DEPENDENCIES
simplecov
simplecov-cobertura (~> 2.1.0)
standard (~> 1.31)
webmock
webrick
yard

Expand Down
5 changes: 3 additions & 2 deletions gemfiles/jruby_9.4_activesupport_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ source "https://rubygems.org"

gem "pry"
gem "rake"
gem "os"
gem "standard", "~> 1.31"
gem "rake-compiler"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "standard", "~> 1.31"
gem "webmock"
gem "os"
gem "yard"
gem "webrick"
gem "pimpmychangelog", ">= 0.1.2"
Expand Down
12 changes: 12 additions & 0 deletions gemfiles/jruby_9.4_activesupport_7.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
appraisal (2.5.0)
bundler
rake
Expand All @@ -29,6 +31,9 @@ GEM
coderay (1.1.3)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
crack (1.0.0)
bigdecimal
rexml
datadog (2.0.0)
debase-ruby_core_source (= 3.3.1)
libdatadog (~> 9.0.0.1.0)
Expand All @@ -39,6 +44,7 @@ GEM
docile (1.4.0)
drb (2.2.1)
ffi (1.16.3-java)
hashdiff (1.1.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2-java)
Expand All @@ -61,6 +67,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
public_suffix (5.1.1)
racc (1.8.0-java)
rainbow (3.1.1)
rake (13.2.1)
Expand Down Expand Up @@ -131,6 +138,10 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
webmock (3.23.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.1)
yard (0.9.36)

Expand All @@ -154,6 +165,7 @@ DEPENDENCIES
simplecov
simplecov-cobertura (~> 2.1.0)
standard (~> 1.31)
webmock
webrick
yard

Expand Down
5 changes: 3 additions & 2 deletions gemfiles/jruby_9.4_ci_queue_0_minitest_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ source "https://rubygems.org"

gem "pry"
gem "rake"
gem "os"
gem "standard", "~> 1.31"
gem "rake-compiler"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "standard", "~> 1.31"
gem "webmock"
gem "os"
gem "yard"
gem "webrick"
gem "pimpmychangelog", ">= 0.1.2"
Expand Down
Loading

0 comments on commit c803e4b

Please sign in to comment.