The NetBSD Project

CVS log for pkgsrc/www/ruby-http-accept/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-http-accept

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Sep 6 16:14:49 2026 UTC (2 months, 1 week ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
www/ruby-http-accept: update to 2.2.2

2.2.2 (2026-09-06)

* Fix handling of quoted strings.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Feb 5 15:53:07 2024 UTC (2 years, 9 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
www/ruby-http-accept: update to 2.2.1

2.2.1 (2024-02-05)

What's Changed

* Update README with how to require the code by @ianoxley in #18
* Modernize gem by @ioquatix in #19

New Contributors

* @ianoxley made their first contribution in #18
* @ioquatix made their first contribution in #19

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Aug 31 14:56:22 2022 UTC (4 years, 2 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -2 lines
www/ruby-http-accept: update to 2.2.0

2.2.0 (2022-08-02)

* Tidy up specs.
* Improve default constructor.
* Remove code climate badge.
* Merge pull request #14 from socketry/olleolleolle-add-27
* Handle q-values up to 6 decimal places.
* Modernize gem.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 19 08:23:06 2020 UTC (6 years, 9 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
www/ruby-http-accept: add version 2.1.1 package

Add ruby-http-accept version 2.1.1 package.

# HTTP::Accept

Provides a robust set of parsers for dealing with HTTP Accept,
Accept-Language, Accept-Encoding, Accept-Charset headers.

## Motivation

I've been developing some tools for building RESTful endpoints and part of
that involved versioning.  After reviewing the options, I settled on using
the Accept: application/json;version=1 method as outlined here.

The version=1 part of the media-type is a parameter as defined by RFC7231
Section 3.1.1.1.  After reviewing several existing different options for
parsing the Accept: header, I noticed a disturbing trend: header.split(',').
Because parameters may contain quoted strings which contain commas, this is
clearly not an appropriate way to parse the header.

I am concerned about correctness, security and performance.  As such, I
implemented this gem to provide a simple high level interface for both
parsing and correctly interpreting these headers.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>