diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-04 15:26:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-04 15:26:25 +0000 |
commit | b8705b6edae472a52417a1526e340c14c1d3f895 (patch) | |
tree | 6a949c2538ba31c79dbc569ae03cbf5e5d74be4a /www/ruby-mechanize | |
parent | 4ca0571052f5b97f0ec73614fbf4ee1ec502f636 (diff) | |
download | pkgsrc-b8705b6edae472a52417a1526e340c14c1d3f895.tar.gz |
Update ruby-mechanize to version 0.7.5. Changes from version 0.6.8
include:
+ Install as a Ruby gem.
* Fixed a bug when fetching files and not pages.
* WWW::Mechanize#get now takes hash arguments for uri parameters.
* Handling gzipped responses with no Content-Length header
* Fixed a bug with EOF errors in net/http. [#17570]
* Handling 0 length gzipped responses. [#17471]
* Changed parser to lazily parse links
* Lazily parsing document
* Updating UTF-8 support for urls
* Adding AREA tags to the links list.
* WWW::Mechanize#follow_meta_refresh will allow you to automatically follow
meta refresh tags. [#10032]
* Adding x-gzip to accepted content-encoding.
* Added Digest Authentication support.
* Many bug fixes.
Diffstat (limited to 'www/ruby-mechanize')
-rw-r--r-- | www/ruby-mechanize/Makefile | 16 | ||||
-rw-r--r-- | www/ruby-mechanize/PLIST | 170 | ||||
-rw-r--r-- | www/ruby-mechanize/distinfo | 8 |
3 files changed, 158 insertions, 36 deletions
diff --git a/www/ruby-mechanize/Makefile b/www/ruby-mechanize/Makefile index 10154734f31..2d384f8243f 100644 --- a/www/ruby-mechanize/Makefile +++ b/www/ruby-mechanize/Makefile @@ -1,19 +1,15 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/05/26 01:46:51 minskim Exp $ +# $NetBSD: Makefile,v 1.2 2008/04/04 15:26:25 jlam Exp $ -DISTNAME= mechanize-0.6.8 +DISTNAME= mechanize-0.7.5 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -CATEGORIES= www ruby -MASTER_SITES= http://rubyforge.org/frs/download.php/19657/ -EXTRACT_SUFX= .tgz +CATEGORIES= www MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://mechanize.rubyforge.org/ COMMENT= Library to automate interaction with websites -DEPENDS+= ${RUBY_PKGPREFIX}-hpricot-[0-9]*:../../textproc/ruby-hpricot +DEPENDS+= hoe>=1.5.1:../../devel/hoe +DEPENDS+= ${RUBY_PKGPREFIX}-hpricot>=0.6:../../textproc/ruby-hpricot -USE_LANGUAGES= # none -USE_RUBY_SETUP= yes - -.include "../../lang/ruby/modules.mk" +.include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-mechanize/PLIST b/www/ruby-mechanize/PLIST index f60834122d3..08070c07b7c 100644 --- a/www/ruby-mechanize/PLIST +++ b/www/ruby-mechanize/PLIST @@ -1,22 +1,148 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/26 01:46:51 minskim Exp $ -${RUBY_SITELIBDIR}/mechanize.rb -${RUBY_SITELIBDIR}/mechanize/cookie.rb -${RUBY_SITELIBDIR}/mechanize/errors.rb -${RUBY_SITELIBDIR}/mechanize/form.rb -${RUBY_SITELIBDIR}/mechanize/form_elements.rb -${RUBY_SITELIBDIR}/mechanize/history.rb -${RUBY_SITELIBDIR}/mechanize/inspect.rb -${RUBY_SITELIBDIR}/mechanize/list.rb -${RUBY_SITELIBDIR}/mechanize/monkey_patch.rb -${RUBY_SITELIBDIR}/mechanize/net-overrides/net/http.rb -${RUBY_SITELIBDIR}/mechanize/net-overrides/net/https.rb -${RUBY_SITELIBDIR}/mechanize/net-overrides/net/protocol.rb -${RUBY_SITELIBDIR}/mechanize/page.rb -${RUBY_SITELIBDIR}/mechanize/page_elements.rb -${RUBY_SITELIBDIR}/mechanize/parsers/rexml_page.rb -${RUBY_SITELIBDIR}/mechanize/pluggable_parsers.rb -${RUBY_SITELIBDIR}/mechanize/rexml.rb -@dirrm ${RUBY_SITELIBDIR}/mechanize/parsers -@dirrm ${RUBY_SITELIBDIR}/mechanize/net-overrides/net -@dirrm ${RUBY_SITELIBDIR}/mechanize/net-overrides -@dirrm ${RUBY_SITELIBDIR}/mechanize +@comment $NetBSD: PLIST,v 1.2 2008/04/04 15:26:25 jlam Exp $ +${GEM_HOME}/cache/mechanize-${PKGVERSION}.gem +${GEM_LIBDIR}/CHANGELOG.txt +${GEM_LIBDIR}/EXAMPLES.txt +${GEM_LIBDIR}/FAQ.txt +${GEM_LIBDIR}/GUIDE.txt +${GEM_LIBDIR}/LICENSE.txt +${GEM_LIBDIR}/Manifest.txt +${GEM_LIBDIR}/NOTES.txt +${GEM_LIBDIR}/README.txt +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/eg/flickr_upload.rb +${GEM_LIBDIR}/eg/mech-dump.rb +${GEM_LIBDIR}/eg/proxy_req.rb +${GEM_LIBDIR}/eg/rubyforge.rb +${GEM_LIBDIR}/eg/spider.rb +${GEM_LIBDIR}/lib/mechanize.rb +${GEM_LIBDIR}/lib/www/mechanize.rb +${GEM_LIBDIR}/lib/www/mechanize/content_type_error.rb +${GEM_LIBDIR}/lib/www/mechanize/cookie.rb +${GEM_LIBDIR}/lib/www/mechanize/cookie_jar.rb +${GEM_LIBDIR}/lib/www/mechanize/file.rb +${GEM_LIBDIR}/lib/www/mechanize/file_saver.rb +${GEM_LIBDIR}/lib/www/mechanize/form.rb +${GEM_LIBDIR}/lib/www/mechanize/form/button.rb +${GEM_LIBDIR}/lib/www/mechanize/form/check_box.rb +${GEM_LIBDIR}/lib/www/mechanize/form/field.rb +${GEM_LIBDIR}/lib/www/mechanize/form/file_upload.rb +${GEM_LIBDIR}/lib/www/mechanize/form/image_button.rb +${GEM_LIBDIR}/lib/www/mechanize/form/multi_select_list.rb +${GEM_LIBDIR}/lib/www/mechanize/form/option.rb +${GEM_LIBDIR}/lib/www/mechanize/form/radio_button.rb +${GEM_LIBDIR}/lib/www/mechanize/form/select_list.rb +${GEM_LIBDIR}/lib/www/mechanize/headers.rb +${GEM_LIBDIR}/lib/www/mechanize/history.rb +${GEM_LIBDIR}/lib/www/mechanize/inspect.rb +${GEM_LIBDIR}/lib/www/mechanize/list.rb +${GEM_LIBDIR}/lib/www/mechanize/monkey_patch.rb +${GEM_LIBDIR}/lib/www/mechanize/page.rb +${GEM_LIBDIR}/lib/www/mechanize/page/base.rb +${GEM_LIBDIR}/lib/www/mechanize/page/frame.rb +${GEM_LIBDIR}/lib/www/mechanize/page/link.rb +${GEM_LIBDIR}/lib/www/mechanize/page/meta.rb +${GEM_LIBDIR}/lib/www/mechanize/pluggable_parsers.rb +${GEM_LIBDIR}/lib/www/mechanize/response_code_error.rb +${GEM_LIBDIR}/test/data/htpasswd +${GEM_LIBDIR}/test/data/server.crt +${GEM_LIBDIR}/test/data/server.csr +${GEM_LIBDIR}/test/data/server.key +${GEM_LIBDIR}/test/data/server.pem +${GEM_LIBDIR}/test/helper.rb +${GEM_LIBDIR}/test/htdocs/alt_text.html +${GEM_LIBDIR}/test/htdocs/bad_form_test.html +${GEM_LIBDIR}/test/htdocs/button.jpg +${GEM_LIBDIR}/test/htdocs/empty_form.html +${GEM_LIBDIR}/test/htdocs/file_upload.html +${GEM_LIBDIR}/test/htdocs/find_link.html +${GEM_LIBDIR}/test/htdocs/form_multi_select.html +${GEM_LIBDIR}/test/htdocs/form_multival.html +${GEM_LIBDIR}/test/htdocs/form_no_action.html +${GEM_LIBDIR}/test/htdocs/form_no_input_name.html +${GEM_LIBDIR}/test/htdocs/form_select.html +${GEM_LIBDIR}/test/htdocs/form_select_all.html +${GEM_LIBDIR}/test/htdocs/form_select_none.html +${GEM_LIBDIR}/test/htdocs/form_select_noopts.html +${GEM_LIBDIR}/test/htdocs/form_set_fields.html +${GEM_LIBDIR}/test/htdocs/form_test.html +${GEM_LIBDIR}/test/htdocs/frame_test.html +${GEM_LIBDIR}/test/htdocs/google.html +${GEM_LIBDIR}/test/htdocs/iframe_test.html +${GEM_LIBDIR}/test/htdocs/index.html +${GEM_LIBDIR}/test/htdocs/link with space.html +${GEM_LIBDIR}/test/htdocs/no_title_test.html +${GEM_LIBDIR}/test/htdocs/relative/tc_relative_links.html +${GEM_LIBDIR}/test/htdocs/tc_bad_links.html +${GEM_LIBDIR}/test/htdocs/tc_base_link.html +${GEM_LIBDIR}/test/htdocs/tc_blank_form.html +${GEM_LIBDIR}/test/htdocs/tc_checkboxes.html +${GEM_LIBDIR}/test/htdocs/tc_encoded_links.html +${GEM_LIBDIR}/test/htdocs/tc_follow_meta.html +${GEM_LIBDIR}/test/htdocs/tc_form_action.html +${GEM_LIBDIR}/test/htdocs/tc_links.html +${GEM_LIBDIR}/test/htdocs/tc_no_attributes.html +${GEM_LIBDIR}/test/htdocs/tc_pretty_print.html +${GEM_LIBDIR}/test/htdocs/tc_radiobuttons.html +${GEM_LIBDIR}/test/htdocs/tc_referer.html +${GEM_LIBDIR}/test/htdocs/tc_relative_links.html +${GEM_LIBDIR}/test/htdocs/tc_textarea.html +${GEM_LIBDIR}/test/htdocs/unusual______.html +${GEM_LIBDIR}/test/servlets.rb +${GEM_LIBDIR}/test/ssl_server.rb +${GEM_LIBDIR}/test/tc_authenticate.rb +${GEM_LIBDIR}/test/tc_bad_links.rb +${GEM_LIBDIR}/test/tc_blank_form.rb +${GEM_LIBDIR}/test/tc_checkboxes.rb +${GEM_LIBDIR}/test/tc_cookie_class.rb +${GEM_LIBDIR}/test/tc_cookie_jar.rb +${GEM_LIBDIR}/test/tc_cookies.rb +${GEM_LIBDIR}/test/tc_encoded_links.rb +${GEM_LIBDIR}/test/tc_errors.rb +${GEM_LIBDIR}/test/tc_follow_meta.rb +${GEM_LIBDIR}/test/tc_form_action.rb +${GEM_LIBDIR}/test/tc_form_as_hash.rb +${GEM_LIBDIR}/test/tc_form_button.rb +${GEM_LIBDIR}/test/tc_form_no_inputname.rb +${GEM_LIBDIR}/test/tc_forms.rb +${GEM_LIBDIR}/test/tc_frames.rb +${GEM_LIBDIR}/test/tc_gzipping.rb +${GEM_LIBDIR}/test/tc_history.rb +${GEM_LIBDIR}/test/tc_html_unscape_forms.rb +${GEM_LIBDIR}/test/tc_if_modified_since.rb +${GEM_LIBDIR}/test/tc_keep_alive.rb +${GEM_LIBDIR}/test/tc_links.rb +${GEM_LIBDIR}/test/tc_mech.rb +${GEM_LIBDIR}/test/tc_mechanize_file.rb +${GEM_LIBDIR}/test/tc_multi_select.rb +${GEM_LIBDIR}/test/tc_no_attributes.rb +${GEM_LIBDIR}/test/tc_page.rb +${GEM_LIBDIR}/test/tc_pluggable_parser.rb +${GEM_LIBDIR}/test/tc_post_form.rb +${GEM_LIBDIR}/test/tc_pretty_print.rb +${GEM_LIBDIR}/test/tc_radiobutton.rb +${GEM_LIBDIR}/test/tc_referer.rb +${GEM_LIBDIR}/test/tc_relative_links.rb +${GEM_LIBDIR}/test/tc_response_code.rb +${GEM_LIBDIR}/test/tc_save_file.rb +${GEM_LIBDIR}/test/tc_select.rb +${GEM_LIBDIR}/test/tc_select_all.rb +${GEM_LIBDIR}/test/tc_select_none.rb +${GEM_LIBDIR}/test/tc_select_noopts.rb +${GEM_LIBDIR}/test/tc_set_fields.rb +${GEM_LIBDIR}/test/tc_ssl_server.rb +${GEM_LIBDIR}/test/tc_subclass.rb +${GEM_LIBDIR}/test/tc_textarea.rb +${GEM_LIBDIR}/test/tc_upload.rb +${GEM_LIBDIR}/test/test_all.rb +${GEM_HOME}/specifications/mechanize-${PKGVERSION}.gemspec +@dirrm ${GEM_LIBDIR}/test/htdocs/relative +@dirrm ${GEM_LIBDIR}/test/htdocs +@dirrm ${GEM_LIBDIR}/test/data +@dirrm ${GEM_LIBDIR}/test +@dirrm ${GEM_LIBDIR}/lib/www/mechanize/page +@dirrm ${GEM_LIBDIR}/lib/www/mechanize/form +@dirrm ${GEM_LIBDIR}/lib/www/mechanize +@dirrm ${GEM_LIBDIR}/lib/www +@dirrm ${GEM_LIBDIR}/lib +@dirrm ${GEM_LIBDIR}/eg +@dirrm ${GEM_LIBDIR} diff --git a/www/ruby-mechanize/distinfo b/www/ruby-mechanize/distinfo index b7fb154ec0b..f15187e500c 100644 --- a/www/ruby-mechanize/distinfo +++ b/www/ruby-mechanize/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/05/26 01:46:51 minskim Exp $ +$NetBSD: distinfo,v 1.2 2008/04/04 15:26:25 jlam Exp $ -SHA1 (mechanize-0.6.8.tgz) = 2cacc5246ba37be054e88992306625da2763e13f -RMD160 (mechanize-0.6.8.tgz) = e3b6527dd819567eedf38d7770c249a88d67d4bd -Size (mechanize-0.6.8.tgz) = 90678 bytes +SHA1 (mechanize-0.7.5.gem) = 621933a700e952f8c2973bdb46dfe94ded4e647e +RMD160 (mechanize-0.7.5.gem) = 886f9fd8454fe697c88314dc40838f4606bad824 +Size (mechanize-0.7.5.gem) = 68608 bytes |