pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-mechanize Updated ruby-mechanize to 0.9.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64e1b229758d
branches:  trunk
changeset: 568035:64e1b229758d
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Dec 02 14:04:22 2009 +0000

description:
Updated ruby-mechanize to 0.9.3.

Deprecations:

  * WWW::Mechanize::List is gone!
  * Use Nokogiri as the default HTML parser (you may switch to Hpricot by using WWW::Mechanize.html_parser =
Hpricot)

See full list of changes since 0.7.5:

http://mechanize.rubyforge.org/mechanize/CHANGELOG_rdoc.html

diffstat:

 www/ruby-mechanize/DESCR    |    6 +-
 www/ruby-mechanize/Makefile |   13 ++-
 www/ruby-mechanize/PLIST    |  155 +++++++++++++++++++++++++++----------------
 www/ruby-mechanize/distinfo |    8 +-
 4 files changed, 112 insertions(+), 70 deletions(-)

diffs (251 lines):

diff -r 87a632202175 -r 64e1b229758d www/ruby-mechanize/DESCR
--- a/www/ruby-mechanize/DESCR  Wed Dec 02 13:49:18 2009 +0000
+++ b/www/ruby-mechanize/DESCR  Wed Dec 02 14:04:22 2009 +0000
@@ -1,5 +1,5 @@
 The Mechanize library is used for automating interaction with
-websites.  Mechanize automatically stores and sends cookies, follows
-redirects, can follow links, and submit forms.  Form fields can be
-populated and submitted.  Mechanize also keeps track of the sites that
+websites. Mechanize automatically stores and sends cookies, follows
+redirects, can follow links, and submit forms. Form fields can be
+populated and submitted. Mechanize also keeps track of the sites that
 you have visited as a history.
diff -r 87a632202175 -r 64e1b229758d www/ruby-mechanize/Makefile
--- a/www/ruby-mechanize/Makefile       Wed Dec 02 13:49:18 2009 +0000
+++ b/www/ruby-mechanize/Makefile       Wed Dec 02 14:04:22 2009 +0000
@@ -1,15 +1,20 @@
-# $NetBSD: Makefile,v 1.2 2008/04/04 15:26:25 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2009/12/02 14:04:22 fhajny Exp $
 
-DISTNAME=      mechanize-0.7.5
+DISTNAME=      mechanize-0.9.3
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    www
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      http://mechanize.rubyforge.org/
 COMMENT=       Library to automate interaction with websites
+LICENSE=       gnu-gpl-v2
 
-DEPENDS+=      hoe>=1.5.1:../../devel/hoe
-DEPENDS+=      ${RUBY_PKGPREFIX}-hpricot>=0.6:../../textproc/ruby-hpricot
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+DEPENDS+=      hoe>=1.12.2:../../devel/hoe
+DEPENDS+=      ${RUBY_PKGPREFIX}-nokogiri>=1.2.1:../../textproc/ruby-nokogiri
+
+GEM_BUILD=     gemspec
 
 .include "../../misc/rubygems/rubygem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 87a632202175 -r 64e1b229758d www/ruby-mechanize/PLIST
--- a/www/ruby-mechanize/PLIST  Wed Dec 02 13:49:18 2009 +0000
+++ b/www/ruby-mechanize/PLIST  Wed Dec 02 14:04:22 2009 +0000
@@ -1,25 +1,41 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 22:00:34 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/12/02 14:04:22 fhajny 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}/CHANGELOG.rdoc
+${GEM_LIBDIR}/EXAMPLES.rdoc
+${GEM_LIBDIR}/FAQ.rdoc
+${GEM_LIBDIR}/GUIDE.rdoc
+${GEM_LIBDIR}/LICENSE.rdoc
 ${GEM_LIBDIR}/Manifest.txt
-${GEM_LIBDIR}/NOTES.txt
-${GEM_LIBDIR}/README.txt
+${GEM_LIBDIR}/README.rdoc
 ${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}/examples/flickr_upload.rb
+${GEM_LIBDIR}/examples/mech-dump.rb
+${GEM_LIBDIR}/examples/proxy_req.rb
+${GEM_LIBDIR}/examples/rubyforge.rb
+${GEM_LIBDIR}/examples/spider.rb
 ${GEM_LIBDIR}/lib/mechanize.rb
 ${GEM_LIBDIR}/lib/www/mechanize.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/auth_headers.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/body_decoding_handler.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/connection_resolver.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/custom_headers.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/handler.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/header_resolver.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/parameter_resolver.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/post_connect_hook.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/pre_connect_hook.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/request_resolver.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/response_body_parser.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/response_header_handler.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/response_reader.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/ssl_resolver.rb
+${GEM_LIBDIR}/lib/www/mechanize/chain/uri_resolver.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_response.rb
 ${GEM_LIBDIR}/lib/www/mechanize/file_saver.rb
 ${GEM_LIBDIR}/lib/www/mechanize/form.rb
 ${GEM_LIBDIR}/lib/www/mechanize/form/button.rb
@@ -34,7 +50,6 @@
 ${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
@@ -42,7 +57,18 @@
 ${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/redirect_limit_reached_error.rb
+${GEM_LIBDIR}/lib/www/mechanize/redirect_not_get_or_head_error.rb
 ${GEM_LIBDIR}/lib/www/mechanize/response_code_error.rb
+${GEM_LIBDIR}/lib/www/mechanize/unsupported_scheme_error.rb
+${GEM_LIBDIR}/lib/www/mechanize/util.rb
+${GEM_LIBDIR}/mechanize.gemspec
+${GEM_LIBDIR}/test/chain/test_argument_validator.rb
+${GEM_LIBDIR}/test/chain/test_custom_headers.rb
+${GEM_LIBDIR}/test/chain/test_header_resolver.rb
+${GEM_LIBDIR}/test/chain/test_parameter_resolver.rb
+${GEM_LIBDIR}/test/chain/test_request_resolver.rb
+${GEM_LIBDIR}/test/chain/test_response_reader.rb
 ${GEM_LIBDIR}/test/data/htpasswd
 ${GEM_LIBDIR}/test/data/server.crt
 ${GEM_LIBDIR}/test/data/server.csr
@@ -70,6 +96,7 @@
 ${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/meta_cookie.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
@@ -89,49 +116,59 @@
 ${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_LIBDIR}/test/test_authenticate.rb
+${GEM_LIBDIR}/test/test_bad_links.rb
+${GEM_LIBDIR}/test/test_blank_form.rb
+${GEM_LIBDIR}/test/test_checkboxes.rb
+${GEM_LIBDIR}/test/test_content_type.rb
+${GEM_LIBDIR}/test/test_cookie_class.rb
+${GEM_LIBDIR}/test/test_cookie_jar.rb
+${GEM_LIBDIR}/test/test_cookies.rb
+${GEM_LIBDIR}/test/test_encoded_links.rb
+${GEM_LIBDIR}/test/test_errors.rb
+${GEM_LIBDIR}/test/test_follow_meta.rb
+${GEM_LIBDIR}/test/test_form_action.rb
+${GEM_LIBDIR}/test/test_form_as_hash.rb
+${GEM_LIBDIR}/test/test_form_button.rb
+${GEM_LIBDIR}/test/test_form_no_inputname.rb
+${GEM_LIBDIR}/test/test_forms.rb
+${GEM_LIBDIR}/test/test_frames.rb
+${GEM_LIBDIR}/test/test_get_headers.rb
+${GEM_LIBDIR}/test/test_gzipping.rb
+${GEM_LIBDIR}/test/test_hash_api.rb
+${GEM_LIBDIR}/test/test_history.rb
+${GEM_LIBDIR}/test/test_history_added.rb
+${GEM_LIBDIR}/test/test_html_unscape_forms.rb
+${GEM_LIBDIR}/test/test_if_modified_since.rb
+${GEM_LIBDIR}/test/test_keep_alive.rb
+${GEM_LIBDIR}/test/test_links.rb
+${GEM_LIBDIR}/test/test_mech.rb
+${GEM_LIBDIR}/test/test_mechanize_file.rb
+${GEM_LIBDIR}/test/test_meta.rb
+${GEM_LIBDIR}/test/test_multi_select.rb
+${GEM_LIBDIR}/test/test_no_attributes.rb
+${GEM_LIBDIR}/test/test_option.rb
+${GEM_LIBDIR}/test/test_page.rb
+${GEM_LIBDIR}/test/test_pluggable_parser.rb
+${GEM_LIBDIR}/test/test_post_form.rb
+${GEM_LIBDIR}/test/test_pretty_print.rb
+${GEM_LIBDIR}/test/test_radiobutton.rb
+${GEM_LIBDIR}/test/test_redirect_limit_reached.rb
+${GEM_LIBDIR}/test/test_redirect_verb_handling.rb
+${GEM_LIBDIR}/test/test_referer.rb
+${GEM_LIBDIR}/test/test_relative_links.rb
+${GEM_LIBDIR}/test/test_request.rb
+${GEM_LIBDIR}/test/test_response_code.rb
+${GEM_LIBDIR}/test/test_save_file.rb
+${GEM_LIBDIR}/test/test_scheme.rb
+${GEM_LIBDIR}/test/test_select.rb
+${GEM_LIBDIR}/test/test_select_all.rb
+${GEM_LIBDIR}/test/test_select_none.rb
+${GEM_LIBDIR}/test/test_select_noopts.rb
+${GEM_LIBDIR}/test/test_set_fields.rb
+${GEM_LIBDIR}/test/test_ssl_server.rb
+${GEM_LIBDIR}/test/test_subclass.rb
+${GEM_LIBDIR}/test/test_textarea.rb
+${GEM_LIBDIR}/test/test_upload.rb
+${GEM_LIBDIR}/test/test_verbs.rb
 ${GEM_HOME}/specifications/mechanize-${PKGVERSION}.gemspec
diff -r 87a632202175 -r 64e1b229758d www/ruby-mechanize/distinfo
--- a/www/ruby-mechanize/distinfo       Wed Dec 02 13:49:18 2009 +0000
+++ b/www/ruby-mechanize/distinfo       Wed Dec 02 14:04:22 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2008/04/04 15:26:25 jlam Exp $
+$NetBSD: distinfo,v 1.3 2009/12/02 14:04:22 fhajny Exp $
 
-SHA1 (mechanize-0.7.5.gem) = 621933a700e952f8c2973bdb46dfe94ded4e647e
-RMD160 (mechanize-0.7.5.gem) = 886f9fd8454fe697c88314dc40838f4606bad824
-Size (mechanize-0.7.5.gem) = 68608 bytes
+SHA1 (mechanize-0.9.3.gem) = 1c03c5a573b7bac5b36c2eb2716c8fa6188fdfcb
+RMD160 (mechanize-0.9.3.gem) = 25639b0f7ccc3a015e97a7b47c55a777b5cc7631
+Size (mechanize-0.9.3.gem) = 83456 bytes



Home | Main Index | Thread Index | Old Index