./net/ruby-addressable, Replacement for the URI Implementation of standard librrary

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.7.0, Package name: ruby26-addressable-2.7.0, Maintainer: tsutsui

Addressable is a replacement for the URI implementation that is part of
Ruby's standard library. It more closely conforms to the relevant RFCs and
adds support for IRIs and URI templates.


Required to run:
[net/ruby-public_suffix] [lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 3b46d08ed6a0e2bef1bf16769c4e528c6ebc0a37
RMD160: c1e3c7a24db446b5b1c4ebbc1a7696626d19da64
Filesize: 102.5 KB

Version history: (Expand)


CVS history: (Expand)


   2020-06-21 17:48:47 by Takahiro Kambe | Files touched by this commit (1)
Log message:
net/ruby-addressable: add "USE_LANGUAGES=	# none"

Add "USE_LANGUAGES=	# none" for a pure ruby package.
   2019-10-19 10:16:24 by Izumi Tsutsui | Files touched by this commit (2) | Package updated
Log message:
ruby-addressable: update to 2.7.0.

pkgsrc changes:
- take maintainership

Upstream changes (from CHANGELOG.md):

# Addressable 2.7.0
- added `:compacted` flag to `normalized_query`
- `heuristic_parse` handles `mailto:` more intuitively
- refactored validation to use a prepended module
- dropped explicit support for JRuby 9.0.5.0
- compatibility w/ public_suffix 4.x
- performance improvements
   2019-06-16 18:01:30 by Izumi Tsutsui | Files touched by this commit (2) | Package updated
Log message:
ruby-addressable: update to 2.6.0.

Upstream changes (from CHANGELOG.md):

# Addressable 2.6.0
- added `tld=` method to allow assignment to the public suffix
- most `heuristic_parse` patterns are now case-insensitive
- `heuristic_parse` handles more `file://` URI variations
- fixes bug in `heuristic_parse` when uri starts with digit
- fixes bug in `request_uri=` with query strings
- fixes template issues with `nil` and `?` operator
- `frozen_string_literal` pragmas added
- minor performance improvements in regexps
- fixes to eliminate warnings
   2017-09-10 17:00:29 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-addressable to 2.5.2.

# Addressable 2.5.2
- better support for frozen string literals
- fixed bug w/ uppercase characters in scheme
- IDNA errors w/ emoji URLs
- compatibility w/ public_suffix 3.x
   2017-04-22 18:42:28 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-addressable to 2.5.1.

# Addressable 2.5.1
- allow unicode normalization to be disabled for URI Template expansion
- removed duplicate test
   2017-01-18 10:03:39 by Thomas Klausner | Files touched by this commit (1)
Log message:
Fix typo in version number.
   2017-01-09 14:36:12 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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
   2015-12-12 15:52:36 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-addressable to 2.4.0.

# Addressable 2.4.0
- support for 1.8.x dropped
- double quotes in a host now raises an error
- newlines in host will no longer get unescaped during normalization
- stricter handling of bogus scheme values
- stricter handling of encoded port values
- calling `require 'addressable'` will now load both the URI and Template files
- assigning to the `hostname` component with an `IPAddr` object is now supported
- assigning to the `origin` component is now supported
- fixed minor bug where an exception would be thrown for a missing ACE suffix
- better partial expansion of URI templates