b7f8b9e7a4
=== 2.7.4 * New Features * Accept array-like and hash-like values as query/parameter value. A new utility method Mechanize::Util.each_parameter is added, and Mechanize::Util.build_query_string is enhanced for this feature. * Allow passing a `Form::FileUpload` instance to `#post`. #350 by Sam Rawlins. * Capture link when scheme is unsupported. #362 by Jon Rowe. * Pre-defined User-Agent stings are updated to those of more recent versions, and new aliases for IE 10/11 and Edge are added. * Support for mime-types 1.x is restored while keeping compatible with mime-types 2.x and adding support for 3.0. * Mechanize::Page now responds to #xpath, #css, #at_xpath, #at_css, and #%. * element(s)_with methods now accept :xpath and :css options for doing xpath/css selector searching. * Pass URI information to Nokogiri where applicable. #405 @lulalala * Bug fix * Don't raise an exception if a connection has set a {read,open}_timeout and a `file://` request is made. (#397) * Fix whitespace bug in WWW-Authenticate. #451, #450, by Rasmus Bergholdt * Don't allow redirect from a non-file URL to a file URL for security reasons. (#455)
21 lines
941 B
Makefile
21 lines
941 B
Makefile
# $NetBSD: Makefile,v 1.17 2016/01/03 08:45:14 taca Exp $
|
|
|
|
DISTNAME= mechanize-2.7.4
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://github.com/sparklemotion/mechanize
|
|
COMMENT= Library to automate interaction with websites
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-net-http-digest_auth>=1.1.1:../../www/ruby-net-http-digest_auth
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-net-http-persistent>=2.5.2:../../www/ruby-net-http-persistent
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-mime-types2>=2.0<3:../../mail/ruby-mime-types2
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-domain_name>=0.5<1:../../net/ruby-domain_name
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-http-cookie>=1.0<2:../../www/ruby-http-cookie
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.6<2:../../textproc/ruby-nokogiri
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-ntlm-http>=0.1<1:../../www/ruby-ntlm-http
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-webrobots>=0.0<0.2:../../www/ruby-webrobots
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|