pkgsrc/www/ruby-mechanize/PLIST

202 lines
9.3 KiB
Text
Raw Normal View History

@comment $NetBSD: PLIST,v 1.9 2012/06/02 01:18:05 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
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 02:29:32 +02:00
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/CHANGELOG.rdoc
${GEM_LIBDIR}/EXAMPLES.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
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/examples/wikipedia_links_to_philosophy.rb
${GEM_LIBDIR}/lib/mechanize.rb
${GEM_LIBDIR}/lib/mechanize/chunked_termination_error.rb
${GEM_LIBDIR}/lib/mechanize/content_type_error.rb
${GEM_LIBDIR}/lib/mechanize/cookie.rb
${GEM_LIBDIR}/lib/mechanize/cookie_jar.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/directory_saver.rb
${GEM_LIBDIR}/lib/mechanize/download.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/lib/mechanize/element_matcher.rb
${GEM_LIBDIR}/lib/mechanize/file.rb
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 02:29:32 +02:00
${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
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/form/hidden.rb
${GEM_LIBDIR}/lib/mechanize/form/image_button.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/form/keygen.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
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/form/reset.rb
${GEM_LIBDIR}/lib/mechanize/form/select_list.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/form/submit.rb
${GEM_LIBDIR}/lib/mechanize/form/text.rb
${GEM_LIBDIR}/lib/mechanize/form/textarea.rb
${GEM_LIBDIR}/lib/mechanize/headers.rb
${GEM_LIBDIR}/lib/mechanize/history.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/lib/mechanize/http.rb
${GEM_LIBDIR}/lib/mechanize/http/agent.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/http/auth_challenge.rb
${GEM_LIBDIR}/lib/mechanize/http/auth_realm.rb
${GEM_LIBDIR}/lib/mechanize/http/auth_store.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/http/content_disposition_parser.rb
${GEM_LIBDIR}/lib/mechanize/http/www_authenticate_parser.rb
${GEM_LIBDIR}/lib/mechanize/image.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
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 02:29:32 +02:00
${GEM_LIBDIR}/lib/mechanize/page/meta_refresh.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/parser.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
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 02:29:32 +02:00
${GEM_LIBDIR}/lib/mechanize/response_read_error.rb
${GEM_LIBDIR}/lib/mechanize/robots_disallowed_error.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/test_case.rb
${GEM_LIBDIR}/lib/mechanize/test_case/.document
${GEM_LIBDIR}/lib/mechanize/test_case/bad_chunking_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/basic_auth_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/content_type_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/digest_auth_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/file_upload_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/form_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/gzip_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/header_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/http_refresh_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/infinite_redirect_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/infinite_refresh_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/many_cookies_as_string_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/many_cookies_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/modified_since_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/ntlm_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/one_cookie_no_spaces_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/one_cookie_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/quoted_value_cookie_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/redirect_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/referer_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/refresh_with_empty_url.rb
${GEM_LIBDIR}/lib/mechanize/test_case/refresh_without_url.rb
${GEM_LIBDIR}/lib/mechanize/test_case/response_code_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/send_cookies_servlet.rb
${GEM_LIBDIR}/lib/mechanize/test_case/server.rb
${GEM_LIBDIR}/lib/mechanize/test_case/servlets.rb
${GEM_LIBDIR}/lib/mechanize/test_case/verb_servlet.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/lib/mechanize/unauthorized_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/htdocs/alt_text.html
${GEM_LIBDIR}/test/htdocs/bad_form_test.html
${GEM_LIBDIR}/test/htdocs/button.jpg
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 02:29:32 +02:00
${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
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/htdocs/form_order_test.html
${GEM_LIBDIR}/test/htdocs/form_select.html
${GEM_LIBDIR}/test/htdocs/form_set_fields.html
${GEM_LIBDIR}/test/htdocs/form_test.html
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 02:29:32 +02:00
${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/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
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 02:29:32 +02:00
${GEM_LIBDIR}/test/htdocs/noindex.html
${GEM_LIBDIR}/test/htdocs/rails_3_encoding_hack_form_test.html
${GEM_LIBDIR}/test/htdocs/relative/tc_relative_links.html
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 02:29:32 +02:00
${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_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_links.html
${GEM_LIBDIR}/test/htdocs/tc_meta_in_body.html
${GEM_LIBDIR}/test/htdocs/tc_pretty_print.html
${GEM_LIBDIR}/test/htdocs/tc_referer.html
${GEM_LIBDIR}/test/htdocs/tc_relative_links.html
${GEM_LIBDIR}/test/htdocs/tc_textarea.html
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 02:29:32 +02:00
${GEM_LIBDIR}/test/htdocs/test_click.html
${GEM_LIBDIR}/test/htdocs/unusual______.html
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize.rb
${GEM_LIBDIR}/test/test_mechanize_cookie.rb
${GEM_LIBDIR}/test/test_mechanize_cookie_jar.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_directory_saver.rb
${GEM_LIBDIR}/test/test_mechanize_download.rb
${GEM_LIBDIR}/test/test_mechanize_file.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_file_connection.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_file_request.rb
${GEM_LIBDIR}/test/test_mechanize_file_response.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_file_saver.rb
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 02:29:32 +02:00
${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
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_form_file_upload.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_form_image_button.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_form_keygen.rb
${GEM_LIBDIR}/test/test_mechanize_form_multi_select_list.rb
${GEM_LIBDIR}/test/test_mechanize_form_option.rb
${GEM_LIBDIR}/test/test_mechanize_form_radio_button.rb
${GEM_LIBDIR}/test/test_mechanize_form_select_list.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_form_textarea.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_headers.rb
${GEM_LIBDIR}/test/test_mechanize_history.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_http_agent.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_http_auth_challenge.rb
${GEM_LIBDIR}/test/test_mechanize_http_auth_realm.rb
${GEM_LIBDIR}/test/test_mechanize_http_auth_store.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_http_content_disposition_parser.rb
${GEM_LIBDIR}/test/test_mechanize_http_www_authenticate_parser.rb
${GEM_LIBDIR}/test/test_mechanize_image.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_link.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_page.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_page_encoding.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_page_frame.rb
${GEM_LIBDIR}/test/test_mechanize_page_image.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_page_link.rb
${GEM_LIBDIR}/test/test_mechanize_page_meta_refresh.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_parser.rb
${GEM_LIBDIR}/test/test_mechanize_pluggable_parser.rb
${GEM_LIBDIR}/test/test_mechanize_redirect_limit_reached_error.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_redirect_not_get_or_head_error.rb
Update ruby-mechanize to 2.3. Changes: * Add support for the Max-Age attribute in the Set-Cookie header. * Added Mechanize::Download#body for compatibility with Mechanize::File when using Mechanize#get_file with Mechanize::Image or other Download-based pluggable parser. Issue #202 by angas * Mechanize#max_file_buffer may be set to nil to disable creation of Tempfiles. * MetaRefresh#href is not normalized to an absolute URL, but set to the original value and resolved later. It is even set to nil when the Refresh URL is unspecified or empty. * Expose ssl_version from net-http-persistent. Patch by astera. * SSL parameters and proxy may now be set at any time. Issue #194 by dsisnero. * Improved Mechanize::Page with #image_with and #images_with and Mechanize::Page::Image various img element attribute accessors, #caption, #extname, #mime_type and #fetch. Pull request #173 by kitamomonga * Added MIME type parsing for content-types in Mechanize::PluggableParser for fine-grained parser choices. Parsers will be chosen based on exact match, simplified type or media type in that order. See Mechanize::PluggableParser#[]=. * Added Mechanize#download which downloads a response body to an IO-like or filename. * Added Mechanize::DirectorySaver which saves responses in a single directory. Issue #187 by yoshie902a. * Added Mechanize::Page::Link#noreferrer? * The documentation for Mechanize::Page#search and #at now show that both XPath and CSS expressions are allowed. Issue #199 by Shane Becker. * Mechanize now depends on net-http-persistent 2.3+. This new version brings idle timeouts to help with the dreaded "too many connection resets" issue when POSTing to a closed connection. Issue #123 * SSL connections will be verified against the system certificate store by default. * Added Mechanize#retry_change_requests to allow mechanize to retry POST and other non-idempotent requests when you know it is safe to do so. Issue #123 * Mechanize can now stream files directly to disk without loading them into memory first through Mechanize::Download, a pluggable parser for downloading files. * Bug fixes.
2012-03-01 02:24:48 +01:00
${GEM_LIBDIR}/test/test_mechanize_response_read_error.rb
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 02:29:32 +02:00
${GEM_LIBDIR}/test/test_mechanize_subclass.rb
${GEM_LIBDIR}/test/test_mechanize_util.rb
${GEM_LIBDIR}/test/test_multi_select.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec