Update ruby-addressable to 2.5.0.

# Addressable 2.5.0
- dropping support for Ruby 1.9
- adding support for Ruby 2.4 preview
- add support for public suffixes and tld; first runtime dependency
- hostname escaping should match RFC; underscores in hostnames no longer escaped
- paths beginning with // and missing an authority are now considered invalid
- validation now also takes place after setting a path
- handle backslashes in authority more like a browser for `heuristic_parse`
- unescaped backslashes in host now raise an `InvalidURIError`
- `merge!`, `join!`, `omit!` and `normalize!` don't disable deferred validation
- `heuristic_parse` now trims whitespace before parsing
- host parts longer than 63 bytes will be ignored and not passed to libidn
- normalized values always encoded as UTF-8
This commit is contained in:
taca 2017-01-09 13:36:12 +00:00
parent 3924a3f3db
commit 1768ab8940
3 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.15 2015/12/12 14:52:36 taca Exp $
# $NetBSD: Makefile,v 1.16 2017/01/09 13:36:12 taca Exp $
DISTNAME= addressable-2.4.0
DISTNAME= addressable-2.5.0
CATEGORIES= net
MAINTAINER= pkgsrc-users@NetBSD.org
@ -8,5 +8,7 @@ HOMEPAGE= https://github.com/sporkmonger/addressable
COMMENT= Replacement for the URI Implementation of standard librrary
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-public_suffix>=.2.0.2:../../net/ruby-public_suffix
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,11 +1,10 @@
@comment $NetBSD: PLIST,v 1.9 2015/12/12 14:52:36 taca Exp $
@comment $NetBSD: PLIST,v 1.10 2017/01/09 13:36:12 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/LICENSE.txt
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/addressable.gemspec
${GEM_LIBDIR}/data/unicode.data
${GEM_LIBDIR}/lib/addressable.rb
${GEM_LIBDIR}/lib/addressable/idna.rb

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.16 2015/12/12 14:52:36 taca Exp $
$NetBSD: distinfo,v 1.17 2017/01/09 13:36:12 taca Exp $
SHA1 (addressable-2.4.0.gem) = ae0f7b8474c274e0e563ce7a18168b0d1c5d692a
RMD160 (addressable-2.4.0.gem) = a990dd0858ff20dbd0f9c8f05a5034b7aa59b69c
SHA512 (addressable-2.4.0.gem) = b81fa48e7c4188827c03ac93960b6fd6fb9f5a438f5243cddea39d6820ef756ee7c0086ec330dc4a3538008b3b254757af7d30248624127649cc006a2793eda8
Size (addressable-2.4.0.gem) = 102400 bytes
SHA1 (addressable-2.5.0.gem) = 242707eb62374fa2d0e0c7899fe5dc0921528f90
RMD160 (addressable-2.5.0.gem) = 6dcd65d40640088878f6da0911426518c95a7f8c
SHA512 (addressable-2.5.0.gem) = 188689b99b4d83756844592ad697e8e20d27540e5c6bc758934f75592adddf7ef98ca5c9ad0d407d3dda9298496c18a661eda8a52776128ff089fd4f315fdbe1
Size (addressable-2.5.0.gem) = 103424 bytes