Package: ruby-mechanize / 2.7.2-2

Metadata

Package Version Patches format
ruby-mechanize 2.7.2-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
dont_require_rubygems | (download)

lib/mechanize/test_case.rb | 9 6 + 3 - 0 !
1 file changed, 6 insertions(+), 3 deletions(-)

 remove the 'rubygems' call
 Debian's pkg-ruby-extras policy disallows Rubygems to be called from
 within packages

set_path_for_test | (download)

lib/mechanize/test_case.rb | 4 3 + 1 - 0 !
lib/mechanize/test_case/gzip_servlet.rb | 4 3 + 1 - 0 !
2 files changed, 6 insertions(+), 2 deletions(-)

 fix the provided path for te tests
 lib/mechanize/test_case.rb assumes the tests are run inside a
 Gems-installed system, and fails to find the tests' data. Fix it by
 setting the right path for our build environment.