diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-22 09:53:04 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-23 07:14:52 +0200 |
commit | 50b5ef985fbf6d73e8b8d5743901d73d75da4e5e (patch) | |
tree | 68d0f3c786b240f42c48a58b3fce8e17a6c587d9 /dev-ruby/excon | |
parent | dev-ruby/rantly: enable ruby31 and disable ruby25 (diff) | |
download | gentoo-50b5ef985fbf6d73e8b8d5743901d73d75da4e5e.tar.gz gentoo-50b5ef985fbf6d73e8b8d5743901d73d75da4e5e.tar.bz2 gentoo-50b5ef985fbf6d73e8b8d5743901d73d75da4e5e.zip |
dev-ruby/excon: avoid dependency on eventmachine for tests
The test servers using eventmachine were using the eselected ruby
version rather than the version being tested, hiding their dependency on
eventmachine. All tests and specs using eventmachine are now ignored.
Closes: https://bugs.gentoo.org/838946
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/excon')
-rw-r--r-- | dev-ruby/excon/excon-0.92.2.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-ruby/excon/excon-0.92.2.ebuild b/dev-ruby/excon/excon-0.92.2.ebuild index 0333f8aa7a9c..2f63356225e4 100644 --- a/dev-ruby/excon/excon-0.92.2.ebuild +++ b/dev-ruby/excon/excon-0.92.2.ebuild @@ -36,4 +36,10 @@ all_ruby_prepare() { # test that need network rm -f spec/excon/test/server_spec.rb || die + + # tests that depend on eventmachine which is broken and no longer maintained + rm -f tests/{bad,error,pipeline,response,request}_tests.rb \ + tests/{batch-requests,complete_responses}.rb \ + tests/middlewares/{decompress,mock}_tests.rb || die + rm -f spec/requests/eof_requests_spec.rb spec/excon/error_spec.rb || die } |