Package: ruby-mechanize / 2.10.1-1.1

Metadata

Package Version Patches format
ruby-mechanize 2.10.1-1.1 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.


disable net test.patch | (download)

test/test_mechanize_http_agent.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable test that wants internet. sigh.
avoid git.patch | (download)

mechanize.gemspec | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove usage of `git` during build.
0001 test update test documents to remove markup from fra.patch | (download)

test/htdocs/frame_test.html | 14 8 + 6 - 0 !
test/htdocs/relative/tc_relative_links.html | 2 1 + 1 - 0 !
2 files changed, 9 insertions(+), 7 deletions(-)

 test: update test documents to remove markup from frames/noframes

In HTML5, frames/noframes content is raw text, not PCDATA; and libxml2
has implemented this behavior in v2.14.