summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-06-02 15:05:11 +0000
committertaca <taca@pkgsrc.org>2021-06-02 15:05:11 +0000
commit6b07f1ffa1d2e3a21dc182de78bb9a9928edbcc7 (patch)
tree2fdb41141a5fae3667969e0465cddfcbdda3aefd /www
parent92af0238c0c0df3c338f39ce8ee76bb6ac756a4a (diff)
downloadpkgsrc-6b07f1ffa1d2e3a21dc182de78bb9a9928edbcc7.tar.gz
www/ruby-mechanize: update to 2.8.1
2.8.1 (2021-05-09) Fix * Gracefully handle parsing errors that contain an invalid byte sequence. Previously, if libxml2 registered a parsing error that itself contained invalid encoding, an exception might be raised. (#553) 2.8.0 (2021-04-01) Requirements * Mechanize now requires Ruby 2.5 or newer. * Move from ntlm-http to rubyntlm gem. (#495, #574) New Features * Page::Link#uri now handles non-ASCII hrefs. (#569) @terryyin * FileConnection supports Windows drive letters (#483) * Credential headers 'Authorization' and 'Cookie' are deleted on cross-origin redirects. (#538) @kyoshidajp * ContentDispositionParser handles ISO8601 date headers, to be robust with websites that ignore RFC2183. (#554) @reitermarkus Bug fix * POST headers 'Content-Length', 'Content-MD5', and 'Content-Type' are deleted in a case-insensitive manner on redirects. Previously these headers were treated as case-sensitive.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-mechanize/Makefile19
-rw-r--r--www/ruby-mechanize/PLIST9
-rw-r--r--www/ruby-mechanize/distinfo10
3 files changed, 20 insertions, 18 deletions
diff --git a/www/ruby-mechanize/Makefile b/www/ruby-mechanize/Makefile
index cc44638adc4..14e0360c9c4 100644
--- a/www/ruby-mechanize/Makefile
+++ b/www/ruby-mechanize/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2021/02/03 15:44:35 taca Exp $
+# $NetBSD: Makefile,v 1.21 2021/06/02 15:05:11 taca Exp $
-DISTNAME= mechanize-2.7.7
+DISTNAME= mechanize-2.8.1
CATEGORIES= www
MAINTAINER= minskim@NetBSD.org
@@ -8,15 +8,16 @@ 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-types>=1.17.2:../../mail/ruby-mime-types
+DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.7<3:../../net/ruby-addressable
DEPENDS+= ${RUBY_PKGPREFIX}-domain_name>=0.5.1<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
-DEPENDS+= ${RUBY_PKGPREFIX}-webrick>=1.7<2:../../www/ruby-webrick
+DEPENDS+= ${RUBY_PKGPREFIX}-mime-types>=3.0<4:../../mail/ruby-mime-types
+DEPENDS+= ${RUBY_PKGPREFIX}-net-http-digest_auth>=1.4<2:../../www/ruby-net-http-digest_auth
+DEPENDS+= ${RUBY_PKGPREFIX}-net-http-persistent>=2.5.2:../../www/ruby-net-http-persistent
+DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.11<2:../../textproc/ruby-nokogiri
+DEPENDS+= ${RUBY_PKGPREFIX}-rubyntlm>=0.6<1:../../security/ruby-rubyntlm
+#DEPENDS+= ${RUBY_PKGPREFIX}-webrick>=1.7<2:../../www/ruby-webrick
+DEPENDS+= ${RUBY_PKGPREFIX}-webrobots>=0.1.2<0.2:../../www/ruby-webrobots
USE_LANGUAGES= # empty
diff --git a/www/ruby-mechanize/PLIST b/www/ruby-mechanize/PLIST
index 2e611424ffb..d593296926c 100644
--- a/www/ruby-mechanize/PLIST
+++ b/www/ruby-mechanize/PLIST
@@ -1,14 +1,15 @@
-@comment $NetBSD: PLIST,v 1.14 2021/02/03 15:44:35 taca Exp $
+@comment $NetBSD: PLIST,v 1.15 2021/06/02 15:05:11 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/.github/workflows/ci-test.yml
${GEM_LIBDIR}/.gitignore
-${GEM_LIBDIR}/CHANGELOG.rdoc
+${GEM_LIBDIR}/.yardopts
+${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/EXAMPLES.rdoc
${GEM_LIBDIR}/GUIDE.rdoc
${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/LICENSE.rdoc
-${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/examples/flickr_upload.rb
${GEM_LIBDIR}/examples/mech-dump.rb
diff --git a/www/ruby-mechanize/distinfo b/www/ruby-mechanize/distinfo
index 63155c9215e..0dd397125d6 100644
--- a/www/ruby-mechanize/distinfo
+++ b/www/ruby-mechanize/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2021/02/03 15:44:35 taca Exp $
+$NetBSD: distinfo,v 1.16 2021/06/02 15:05:11 taca Exp $
-SHA1 (mechanize-2.7.7.gem) = 3270102df012ab42eda96c263a20a76262a34565
-RMD160 (mechanize-2.7.7.gem) = c7c29dabb4b706434dca65109c42b485b9b06bc6
-SHA512 (mechanize-2.7.7.gem) = 759bc6b2da8e0288edbe484b2ced02ce6ef49686a7a4c4ab0065e0f88799d23bc536a0ef160703726e83136857e893135a222aa295974e12f2b6988ecfbe7530
-Size (mechanize-2.7.7.gem) = 139264 bytes
+SHA1 (mechanize-2.8.1.gem) = fbf707da43c3994390f18d3e52a735db7eed2bcc
+RMD160 (mechanize-2.8.1.gem) = f657b259d7602cd1f5044a68e0be1c6a9f4a0dbe
+SHA512 (mechanize-2.8.1.gem) = 073a204a00e3c130e80b4c7547062d12c364e8b5bf3b386a8463b3569a1716144ae169b11e130af2ecd1efc6528b5169c77c37e1bb036064175d51e7e7394779
+Size (mechanize-2.8.1.gem) = 141312 bytes