pkgsrc/www/ruby-mechanize/PLIST
taca 0cfe45c50b Update www/ruby-mechanize package to 2.0.1.
=== 2.0.1 / 2011-06-28

Mechanize now uses minitest to avoid 1.9 vs 1.8 assertion availability in
test/unit

* Bug Fixes
  * Restored Mechanize#set_proxy.  Issue #117, #118, #119
  * Mechanize::CookieJar#load now lazy-loads YAML.  Issue #118
  * Mechanize#keep_alive_time no longer crashes but does nothing as
    net-http-persistent does not support HTTP/1.0 keep-alive extensions.

=== 2.0 / 2011-06-27

Mechanize is now under the MIT license

* API changes
  * WWW::Mechanize has been removed.  Use Mechanize.
  * Pre connect hooks are now called with the agent and the request.  See
    Mechanize#pre_connect_hooks.
  * Post connect hooks are now called with the agent and the response.  See
    Mechanize#post_connect_hooks.
  * Mechanize::Chain is gone, as an internal API this should cause no problems.
  * Mechanize#fetch_page no longer accepts an options Hash.
  * Mechanize#put now accepts headers instead of an options Hash as the last
    argument
  * Mechanize#delete now accepts headers instead of an options Hash as the
    last argument
  * Mechanize#request_with_entity now accepts headers instead of an options
    Hash as the last argument
  * Mechanize no longer raises RuntimeError directly, Mechanize::Error or
    ArgumentError are raised instead.
  * The User-Agent header has changed.  It no longer includes the WWW- prefix
    and now includes the ruby version.  The URL has been updated as well.
  * Mechanize now requires ruby 1.8.7 or newer.
  * Hpricot support has been removed as webrobots requires nokogiri.
  * Mechanize#get no longer accepts the referer as the second argument.
  * Mechanize#get no longer allows the HTTP method to be changed (:verb
    option).
  * Mechanize::Page::Meta is now Mechanize::Page::MetaRefresh to accurately
    depict its responsibilities.
  * Mechanize::Page#meta is now Mechanize::Page#meta_refresh as it only
    contains meta elements with http-equiv of "refresh"
  * Mechanize::Page#charset is now Mechanize::Page::charset.  GH #112, patch
    by Godfrey Chan.

* Deprecations
  * Mechanize#get with an options hash is deprecated and will be removed after
    October, 2011.
  * Mechanize::Util::to_native_charset is deprecated as it is no longer used
    by Mechanize.

* New Features

  * Add header reference methods to Mechanize::File so that a reponse
    object gets compatible with Net::HTTPResponse.
  * Mechanize#click accepts a regexp or string to click a button/link in the
    current page. It works as expected when not passed a string or regexp.
  * Provide a way to only follow permanent redirects (301)
    automatically: <tt>agent.redirect_ok = :permanent</tt>  GH #73
  * Mechanize now supports HTML5 meta charset.  GH #113
  * Documented various Mechanize accessors.  GH #66
  * Mechanize now uses net-http-digest_auth.  GH #31
  * Mechanize now implements session cookies.  GH #78
  * Mechanize now implements deflate decoding.  GH #40
  * Mechanize now allows a certificate and key to be passed directly.  GH #71
  * Mechanize::Form::MultiSelectList now implements #option_with and
    #options_with.  GH #42
  * Add Mechanize::Page::Link#rel and #rel?(kind) to read and test the rel
    attribute.
  * Add Mechanize::Page#canonical_uri to read a </tt><link
    rel="canonical"></tt> tag.
  * Add support for Robots Exclusion Protocol (i.e. robots.txt) and
    nofollow/noindex in meta tags and the rel attribute.  Automatic
    exclusion can be turned on by setting:
      agent.robots = true
  * Manual robots.txt test can be performed with
    Mechanize#robots_allowed? and #robots_disallowed?.
  * Mechanize::Form now supports the accept-charset attribute.  GH #96
  * Mechanize::ResponseReadError is raised if there is an exception while
    reading the response body.  This allows recovery from broken HTTP servers
    (or connections).  GH #90
  * Mechanize#follow_meta_refresh set to :anywhere will follow meta refresh
    found outside of a document's head.  GH #99
  * Add support for HTML5's rel="noreferrer" attribute which indicates
    no "Referer" information should be sent when following the link.
  * A frame will now load its content when #content is called.  GH #111
  * Added Mechanize#default_encoding to provide a default for pages with no
    encoding specified.  GH #104
  * Added Mechanize#force_default_encoding which only uses
    Mechanize#default_encoding for parsing HTML.  GH #104

* Bug Fixes:

  * Fixed a bug where Referer is not sent when accessing a relative
    URI starting with "http".
  * Fix handling of Meta Refresh with relative paths.  GH #39
  * Mechanize::CookieJar now supports RFC 2109 correctly.  GH #85
  * Fixed typo in EXAMPLES.rdoc.  GH #74
  * The base element is now handled correctly for images.  GH #72
  * Image buttons with no name attribute are now included in the form's button
    list.  GH#56
  * Improved handling of non ASCII-7bit compatible characters in links (only
    an issue on ruby 1.8).  GH #36, GH #75
  * Loading cookies.txt is faster.  GH #38
  * Mechanize no longer sends cookies for a.b.example to axb.example.  GH #41
  * Mechanize no longer sends the button name as a form field for image
    buttons.  GH #45
  * Blank cookie values are now skipped.  GH #80
  * Mechanize now adds a '.' to cookie domains if no '.' was sent.  This is
    not allowed by RFC 2109 but does appear in RFC 2965.  GH #86
  * file URIs are now read in binary mode.  GH #83
  * Content-Encoding: x-gzip is now treated like gzip per RFC 2616.
  * Mechanize now unescapes URIs for meta refresh.  GH #68
  * Mechanize now has more robust HTML charset detection.  GH #43
  * Mechanize::Form::Textarea is now created from a textarea element.  GH #94
  * A meta content-type now overrides the HTTP content type.  GH #114
  * Mechanize::Page::Link#uri now handles both escaped and unescaped hrefs.
    GH #107
2011-08-13 00:29:32 +00:00

176 lines
7.3 KiB
Text

@comment $NetBSD: PLIST,v 1.6 2011/08/13 00:29:32 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/.gemtest
${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}/README.rdoc
${GEM_LIBDIR}/Rakefile
${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/mechanize/content_type_error.rb
${GEM_LIBDIR}/lib/mechanize/cookie.rb
${GEM_LIBDIR}/lib/mechanize/cookie_jar.rb
${GEM_LIBDIR}/lib/mechanize/element_matcher.rb
${GEM_LIBDIR}/lib/mechanize/file.rb
${GEM_LIBDIR}/lib/mechanize/file_connection.rb
${GEM_LIBDIR}/lib/mechanize/file_request.rb
${GEM_LIBDIR}/lib/mechanize/file_response.rb
${GEM_LIBDIR}/lib/mechanize/file_saver.rb
${GEM_LIBDIR}/lib/mechanize/form.rb
${GEM_LIBDIR}/lib/mechanize/form/button.rb
${GEM_LIBDIR}/lib/mechanize/form/check_box.rb
${GEM_LIBDIR}/lib/mechanize/form/field.rb
${GEM_LIBDIR}/lib/mechanize/form/file_upload.rb
${GEM_LIBDIR}/lib/mechanize/form/image_button.rb
${GEM_LIBDIR}/lib/mechanize/form/multi_select_list.rb
${GEM_LIBDIR}/lib/mechanize/form/option.rb
${GEM_LIBDIR}/lib/mechanize/form/radio_button.rb
${GEM_LIBDIR}/lib/mechanize/form/select_list.rb
${GEM_LIBDIR}/lib/mechanize/headers.rb
${GEM_LIBDIR}/lib/mechanize/history.rb
${GEM_LIBDIR}/lib/mechanize/http.rb
${GEM_LIBDIR}/lib/mechanize/http/agent.rb
${GEM_LIBDIR}/lib/mechanize/inspect.rb
${GEM_LIBDIR}/lib/mechanize/monkey_patch.rb
${GEM_LIBDIR}/lib/mechanize/page.rb
${GEM_LIBDIR}/lib/mechanize/page/base.rb
${GEM_LIBDIR}/lib/mechanize/page/frame.rb
${GEM_LIBDIR}/lib/mechanize/page/image.rb
${GEM_LIBDIR}/lib/mechanize/page/label.rb
${GEM_LIBDIR}/lib/mechanize/page/link.rb
${GEM_LIBDIR}/lib/mechanize/page/meta_refresh.rb
${GEM_LIBDIR}/lib/mechanize/pluggable_parsers.rb
${GEM_LIBDIR}/lib/mechanize/redirect_limit_reached_error.rb
${GEM_LIBDIR}/lib/mechanize/redirect_not_get_or_head_error.rb
${GEM_LIBDIR}/lib/mechanize/response_code_error.rb
${GEM_LIBDIR}/lib/mechanize/response_read_error.rb
${GEM_LIBDIR}/lib/mechanize/robots_disallowed_error.rb
${GEM_LIBDIR}/lib/mechanize/unsupported_scheme_error.rb
${GEM_LIBDIR}/lib/mechanize/util.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/canonical_uri.html
${GEM_LIBDIR}/test/htdocs/dir with spaces/foo.html
${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_referer_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/meta_cookie.html
${GEM_LIBDIR}/test/htdocs/no_title_test.html
${GEM_LIBDIR}/test/htdocs/nofollow.html
${GEM_LIBDIR}/test/htdocs/noindex.html
${GEM_LIBDIR}/test/htdocs/norobots.html
${GEM_LIBDIR}/test/htdocs/rails_3_encoding_hack_form_test.html
${GEM_LIBDIR}/test/htdocs/rel_nofollow.html
${GEM_LIBDIR}/test/htdocs/relative/tc_relative_links.html
${GEM_LIBDIR}/test/htdocs/robots.html
${GEM_LIBDIR}/test/htdocs/robots.txt
${GEM_LIBDIR}/test/htdocs/tc_bad_charset.html
${GEM_LIBDIR}/test/htdocs/tc_bad_links.html
${GEM_LIBDIR}/test/htdocs/tc_base_images.html
${GEM_LIBDIR}/test/htdocs/tc_base_link.html
${GEM_LIBDIR}/test/htdocs/tc_blank_form.html
${GEM_LIBDIR}/test/htdocs/tc_charset.html
${GEM_LIBDIR}/test/htdocs/tc_checkboxes.html
${GEM_LIBDIR}/test/htdocs/tc_encoded_links.html
${GEM_LIBDIR}/test/htdocs/tc_field_precedence.html
${GEM_LIBDIR}/test/htdocs/tc_follow_meta.html
${GEM_LIBDIR}/test/htdocs/tc_form_action.html
${GEM_LIBDIR}/test/htdocs/tc_images.html
${GEM_LIBDIR}/test/htdocs/tc_links.html
${GEM_LIBDIR}/test/htdocs/tc_meta_in_body.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/test_bad_encoding.html
${GEM_LIBDIR}/test/htdocs/test_click.html
${GEM_LIBDIR}/test/htdocs/unusual______.html
${GEM_LIBDIR}/test/servlets.rb
${GEM_LIBDIR}/test/ssl_server.rb
${GEM_LIBDIR}/test/test_cookies.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_frames.rb
${GEM_LIBDIR}/test/test_headers.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_images.rb
${GEM_LIBDIR}/test/test_mechanize.rb
${GEM_LIBDIR}/test/test_mechanize_cookie.rb
${GEM_LIBDIR}/test/test_mechanize_cookie_jar.rb
${GEM_LIBDIR}/test/test_mechanize_file.rb
${GEM_LIBDIR}/test/test_mechanize_file_request.rb
${GEM_LIBDIR}/test/test_mechanize_file_response.rb
${GEM_LIBDIR}/test/test_mechanize_form.rb
${GEM_LIBDIR}/test/test_mechanize_form_check_box.rb
${GEM_LIBDIR}/test/test_mechanize_form_encoding.rb
${GEM_LIBDIR}/test/test_mechanize_form_field.rb
${GEM_LIBDIR}/test/test_mechanize_form_image_button.rb
${GEM_LIBDIR}/test/test_mechanize_form_textarea.rb
${GEM_LIBDIR}/test/test_mechanize_http_agent.rb
${GEM_LIBDIR}/test/test_mechanize_link.rb
${GEM_LIBDIR}/test/test_mechanize_page_encoding.rb
${GEM_LIBDIR}/test/test_mechanize_page_link.rb
${GEM_LIBDIR}/test/test_mechanize_page_meta_refresh.rb
${GEM_LIBDIR}/test/test_mechanize_redirect_not_get_or_head_error.rb
${GEM_LIBDIR}/test/test_mechanize_subclass.rb
${GEM_LIBDIR}/test/test_mechanize_util.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_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_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_robots.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_HOME}/specifications/${GEM_NAME}.gemspec