From 0e84a939ae06f92a9ff409592552b798def46208 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 7 Jun 2020 15:24:20 +0000 Subject: [PATCH] www/ruby-http: update to 4.4.1 Update ruby-http to 4.4.1. ## 4.4.1 (2020-03-29) * Backport [#590](https://github.com/httprb/http/pull/590) Fix parser failing on some edge cases. ([@ixti]) ## 4.4.0 (2020-03-25) * Backport [#587](https://github.com/httprb/http/pull/587) Fix redirections when server responds with multiple Location headers. ([@ixti]) * Backport [#599](https://github.com/httprb/http/pull/599) Allow passing HTTP::FormData::{Multipart,UrlEncoded} object directly. ([@ixti]) ## 4.3.0 (2020-01-09) * Backport [#581](https://github.com/httprb/http/pull/581) Add Ruby-2.7 compatibility. ([@ixti], [@janko]) ## 4.2.0 (2019-10-22) * Backport [#489](https://github.com/httprb/http/pull/489) Fix HTTP parser. ([@ixti], [@fxposter]) ## 4.1.1 (2019-03-12) * Add `HTTP::Headers::ACCEPT_ENCODING` constant. ([@ixti]) ## 4.1.0 (2019-03-11) * [#533](https://github.com/httprb/http/pull/533) Add URI normalizer feature that allows to swap default URI normalizer. ([@mamoonraja]) ## 4.0.5 (2019-02-15) * Backport [#532](https://github.com/httprb/http/pull/532) from master. Fix pipes support in request bodies. ([@ixti]) ## 4.0.4 (2019-02-12) * Backport [#506](https://github.com/httprb/http/pull/506) from master. Skip auto-deflate when there is no body. ([@Bonias]) ## 4.0.3 (2019-01-18) * Fix missing URL in response wrapped by auto inflate. ([@ixti]) * Provide `HTTP::Request#inspect` method for debugging purposes. ([@ixti]) ## 4.0.2 (2019-01-15) * [#506](https://github.com/httprb/http/pull/506) Fix instrumentation feature. ([@paul]) ## 4.0.1 (2019-01-14) * [#515](https://github.com/httprb/http/pull/515) Fix `#build_request` and `#request` to respect default options. ([@RickCSong]) ## 4.0.0 (2018-10-15) * [#482](https://github.com/httprb/http/pull/482) [#499](https://github.com/httprb/http/pull/499) Introduce new features injection API with 2 new feaures: instrumentation (compatible with ActiveSupport::Notification) and logging. ([@paul]) * [#473](https://github.com/httprb/http/pull/473) Handle early responses. ([@janko-m]) * [#468](https://github.com/httprb/http/pull/468) Rewind `HTTP::Request::Body#source` once `#each` is complete. ([@ixti]) * [#467](https://github.com/httprb/http/pull/467) Drop Ruby 2.2 support. ([@ixti]) * [#436](https://github.com/httprb/http/pull/436) Raise ConnectionError when writing to socket fails. ([@janko-m]) * [#438](https://github.com/httprb/http/pull/438) Expose `HTTP::Request::Body#source`. ([@janko-m]) * [#446](https://github.com/httprb/http/pull/446) Simplify setting a timeout. ([@mikegee]) * [#451](https://github.com/httprb/http/pull/451) Reduce memory usage when reading response body. ([@janko-m]) * [#458](https://github.com/httprb/http/pull/458) Extract HTTP::Client#build_request method. ([@tycoon]) * [#462](https://github.com/httprb/http/pull/462) Fix HTTP::Request#headline to allow two leading slashes in path. ([@scarfacedeb]) * [#454](https://github.com/httprb/http/pull/454) [#464](https://github.com/httprb/http/pull/464) [#384](https://github.com/httprb/http/issues/384) Fix #readpartial not respecting max length argument. ([@janko-m], [@marshall-lee]) --- www/ruby-http/Makefile | 8 ++++---- www/ruby-http/PLIST | 9 +++++++-- www/ruby-http/distinfo | 10 +++++----- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/www/ruby-http/Makefile b/www/ruby-http/Makefile index 5b4c712bde4a..5e41793219ec 100644 --- a/www/ruby-http/Makefile +++ b/www/ruby-http/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2018/04/29 14:58:29 tsutsui Exp $ +# $NetBSD: Makefile,v 1.16 2020/06/07 15:24:20 taca Exp $ # -DISTNAME= http-3.3.0 +DISTNAME= http-4.4.1 CATEGORIES= www MAINTAINER= tsutsui@NetBSD.org @@ -10,9 +10,9 @@ COMMENT= Simple Ruby DSL for making HTTP requests LICENSE= mit DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.3<3:../../net/ruby-addressable -DEPENDS+= ${RUBY_PKGPREFIX}-http_parser.rb>=0.6.0<0.7:../../www/ruby-http_parser.rb +DEPENDS+= ${RUBY_PKGPREFIX}-http-parser>=1.2.0<1.3:../../www/ruby-http-parser DEPENDS+= ${RUBY_PKGPREFIX}-http-cookie>=1.0<2:../../www/ruby-http-cookie -DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=2.0.0<3.0:../../www/ruby-http-form_data +DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=2.2<3.0:../../www/ruby-http-form_data USE_LANGUAGES= # none diff --git a/www/ruby-http/PLIST b/www/ruby-http/PLIST index 86dacc776acf..c63d295a655e 100644 --- a/www/ruby-http/PLIST +++ b/www/ruby-http/PLIST @@ -1,10 +1,9 @@ -@comment $NetBSD: PLIST,v 1.13 2018/04/29 14:58:29 tsutsui Exp $ +@comment $NetBSD: PLIST,v 1.14 2020/06/07 15:24:20 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/.coveralls.yml ${GEM_LIBDIR}/.gitignore ${GEM_LIBDIR}/.rspec ${GEM_LIBDIR}/.rubocop.yml -${GEM_LIBDIR}/.ruby-version ${GEM_LIBDIR}/.travis.yml ${GEM_LIBDIR}/.yardopts ${GEM_LIBDIR}/CHANGES.md @@ -24,6 +23,9 @@ ${GEM_LIBDIR}/lib/http/errors.rb ${GEM_LIBDIR}/lib/http/feature.rb ${GEM_LIBDIR}/lib/http/features/auto_deflate.rb ${GEM_LIBDIR}/lib/http/features/auto_inflate.rb +${GEM_LIBDIR}/lib/http/features/instrumentation.rb +${GEM_LIBDIR}/lib/http/features/logging.rb +${GEM_LIBDIR}/lib/http/features/normalize_uri.rb ${GEM_LIBDIR}/lib/http/headers.rb ${GEM_LIBDIR}/lib/http/headers/known.rb ${GEM_LIBDIR}/lib/http/headers/mixin.rb @@ -52,6 +54,8 @@ ${GEM_LIBDIR}/spec/lib/http/connection_spec.rb ${GEM_LIBDIR}/spec/lib/http/content_type_spec.rb ${GEM_LIBDIR}/spec/lib/http/features/auto_deflate_spec.rb ${GEM_LIBDIR}/spec/lib/http/features/auto_inflate_spec.rb +${GEM_LIBDIR}/spec/lib/http/features/instrumentation_spec.rb +${GEM_LIBDIR}/spec/lib/http/features/logging_spec.rb ${GEM_LIBDIR}/spec/lib/http/headers/mixin_spec.rb ${GEM_LIBDIR}/spec/lib/http/headers_spec.rb ${GEM_LIBDIR}/spec/lib/http/options/body_spec.rb @@ -68,6 +72,7 @@ ${GEM_LIBDIR}/spec/lib/http/request/body_spec.rb ${GEM_LIBDIR}/spec/lib/http/request/writer_spec.rb ${GEM_LIBDIR}/spec/lib/http/request_spec.rb ${GEM_LIBDIR}/spec/lib/http/response/body_spec.rb +${GEM_LIBDIR}/spec/lib/http/response/parser_spec.rb ${GEM_LIBDIR}/spec/lib/http/response/status_spec.rb ${GEM_LIBDIR}/spec/lib/http/response_spec.rb ${GEM_LIBDIR}/spec/lib/http/uri_spec.rb diff --git a/www/ruby-http/distinfo b/www/ruby-http/distinfo index dfa53f492538..33842424ad15 100644 --- a/www/ruby-http/distinfo +++ b/www/ruby-http/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.16 2018/04/29 14:58:29 tsutsui Exp $ +$NetBSD: distinfo,v 1.17 2020/06/07 15:24:20 taca Exp $ -SHA1 (http-3.3.0.gem) = a52e5aff8d732504df5dc3f4faffab7a9ef0e7f7 -RMD160 (http-3.3.0.gem) = c951961b7f41b46ffde590acc925e02cccd9b4ba -SHA512 (http-3.3.0.gem) = fcb2549c22974712e129306b472c1a32466c50add85eee9a558582697c7ece26cb7a1db6da6aaceedb8bfd134d1213090c158db510fe53ddbe201bba6bd22c68 -Size (http-3.3.0.gem) = 70656 bytes +SHA1 (http-4.4.1.gem) = 82c71385c240f5ffca0e68c23f636bdd44e233f6 +RMD160 (http-4.4.1.gem) = 5a6cf0e6fb5e9071dfe0e6edc72e88f445fbbc23 +SHA512 (http-4.4.1.gem) = 6e43a8ae379d7c8a807a9a03c87bfb5ad1719f9838e26ac7a695220ee2bc50344accc2db268d30da175328fd5468b87ec8532d17ce42a5b74d6c2c4c281d1bc9 +Size (http-4.4.1.gem) = 75776 bytes