pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-faraday www/ruby-faraday: update to 2.7.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c55a3af6884
branches:  trunk
changeset: 391476:4c55a3af6884
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jan 09 08:45:48 2023 +0000

description:
www/ruby-faraday: update to 2.7.2

Please refer <https://github.com/lostisland/faraday/releases> for changes
before 2.4.0 release.

2.7.2 (2022-12-14)

What's Changed

* Replace actions/setup-ruby with ruby/setup-ruby by @kyoshidajp in #1466
* Enforce timeouts in Faraday's test adapter by @dpep in #1465
* Rename Faraday::Logger::Formatter#error to #exception by @iMacTia in #1468

ATTENTION

Rename Faraday::Logger::Formatter#error (#1468) is potentially a breaking
change IF you've created a custom Faraday::Logging::Formatter implementing
the new error method introduced in v2.7.0.

We've decided to rollout this change in a fix version anyway because the
name of the method was potentially causing infinite loop issues, and because
the feature was very recently released.

This should not be impacting you otherwise and you can safely upgrade.

2.7.1 (2022-11-18)

What's Changed

* fix: require 'pp' to have access to #pretty_inspect by @olleolleolle in
  #1463

2.7.0 (2022-11-15)

What's Changed

* GitHub Workflows security hardening by @sashashura in #1451
* Remove unnecessary require 'pp' by @iMacTia in #1457
* Convert self[key] to a String with #<< on #add_parsed by @yykamei in #1459
* Allow logging of errors raised in adapters or other middleware by @epaew
  in #1460

2.6.0 (2022-10-03)

What's Changed

New features

* Forward the env to Request::Authorization#header_from by @swatosh in #1450

Documentation

* Correct a typo in UPGRADING.md by @felixonmars in #1448
* Fix usage page to match latest version's default adapter specification by
  @mi-wada in #1447
* Update @param of methods on Connection by @yykamei in #1452

2.5.2 (2022-08-12)

What's Changed

* Enables and fixes all new cops by @iMacTia in #1443
* Explicitly pass reason_phrase to save_response in test adapter by @iMacTia
  in #1445

2.5.1 (2022-08-08)

What's Changed

* Add support for faraday-net_http adapter's latest version to make use of
  the new streaming API introduced in v2.5.0

2.5.0 (2022-08-08)

What's Changed

* Improve streaming interface to provide response info by @iMacTia in #1439

2.4.0 (2022-07-28)

What's Changed

* Remove examples using extension middleware by @iMacTia in #1419
* docs: Update to 2022 by @olleolleolle in #1420
* Handle verify hostname ssl option by @kazarin in #1428
* docs link fixed by @hirotoKirimaru in #1432
* [site] Move JsonResponse middleware to response section by @jasonkarns in
  #1434
* Fix syntax to use correct doc link for url_encoded by @sampatbadhe in
  #1435
* Support Proc type for stubbed request body by @yykamei in #1436

diffstat:

 www/ruby-faraday/Makefile |  15 +++------------
 www/ruby-faraday/PLIST    |  21 ++-------------------
 www/ruby-faraday/distinfo |   8 ++++----
 3 files changed, 9 insertions(+), 35 deletions(-)

diffs (113 lines):

diff -r f78711c94ee4 -r 4c55a3af6884 www/ruby-faraday/Makefile
--- a/www/ruby-faraday/Makefile Mon Jan 09 08:45:35 2023 +0000
+++ b/www/ruby-faraday/Makefile Mon Jan 09 08:45:48 2023 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2023/01/07 15:31:57 taca Exp $
+# $NetBSD: Makefile,v 1.27 2023/01/09 08:45:48 taca Exp $
 
-DISTNAME=      faraday-1.10.2
+DISTNAME=      faraday-2.7.2
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,16 +8,7 @@
 COMMENT=       HTTP/REST API client library
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-em_http>=1.0<2:../../www/ruby-faraday-em_http
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-em_synchrony>=1.0<2:../../www/ruby-faraday-em_synchrony
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-excon>=1.1<2:../../www/ruby-faraday-excon
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-httpclient>=1.0<2:../../www/ruby-faraday-httpclient
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-multipart>=1.0<2:../../www/ruby-faraday-multipart
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-net_http>=1.0<2:../../www/ruby-faraday-net_http
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-net_http_persistent>=1.1<2:../../www/ruby-faraday-net_http_persistent
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-patron>=1.0<2:../../www/ruby-faraday-patron
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-rack>=1.0<2:../../www/ruby-faraday-rack
-DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-retry>=1.0<2:../../www/ruby-faraday-retry
+DEPENDS+=      ${RUBY_PKGPREFIX}-faraday-net_http>=2.0<3.1:../../www/ruby-faraday-net_http
 DEPENDS+=      ${RUBY_PKGPREFIX}-ruby2_keywords>=0.0.4:../../devel/ruby-ruby2_keywords
 
 USE_LANGUAGES= # none
diff -r f78711c94ee4 -r 4c55a3af6884 www/ruby-faraday/PLIST
--- a/www/ruby-faraday/PLIST    Mon Jan 09 08:45:35 2023 +0000
+++ b/www/ruby-faraday/PLIST    Mon Jan 09 08:45:48 2023 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2023/01/07 15:31:57 taca Exp $
+@comment $NetBSD: PLIST,v 1.13 2023/01/09 08:45:48 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/LICENSE.md
@@ -9,12 +9,8 @@
 ${GEM_LIBDIR}/lib/faraday.rb
 ${GEM_LIBDIR}/lib/faraday/adapter.rb
 ${GEM_LIBDIR}/lib/faraday/adapter/test.rb
-${GEM_LIBDIR}/lib/faraday/adapter/typhoeus.rb
 ${GEM_LIBDIR}/lib/faraday/adapter_registry.rb
-${GEM_LIBDIR}/lib/faraday/autoload.rb
 ${GEM_LIBDIR}/lib/faraday/connection.rb
-${GEM_LIBDIR}/lib/faraday/dependency_loader.rb
-${GEM_LIBDIR}/lib/faraday/deprecate.rb
 ${GEM_LIBDIR}/lib/faraday/encoders/flat_params_encoder.rb
 ${GEM_LIBDIR}/lib/faraday/encoders/nested_params_encoder.rb
 ${GEM_LIBDIR}/lib/faraday/error.rb
@@ -32,10 +28,8 @@
 ${GEM_LIBDIR}/lib/faraday/rack_builder.rb
 ${GEM_LIBDIR}/lib/faraday/request.rb
 ${GEM_LIBDIR}/lib/faraday/request/authorization.rb
-${GEM_LIBDIR}/lib/faraday/request/basic_authentication.rb
 ${GEM_LIBDIR}/lib/faraday/request/instrumentation.rb
 ${GEM_LIBDIR}/lib/faraday/request/json.rb
-${GEM_LIBDIR}/lib/faraday/request/token_authentication.rb
 ${GEM_LIBDIR}/lib/faraday/request/url_encoded.rb
 ${GEM_LIBDIR}/lib/faraday/response.rb
 ${GEM_LIBDIR}/lib/faraday/response/json.rb
@@ -46,21 +40,12 @@
 ${GEM_LIBDIR}/lib/faraday/utils/params_hash.rb
 ${GEM_LIBDIR}/lib/faraday/version.rb
 ${GEM_LIBDIR}/spec/external_adapters/faraday_specs_setup.rb
-${GEM_LIBDIR}/spec/faraday/adapter/em_http_spec.rb
-${GEM_LIBDIR}/spec/faraday/adapter/em_synchrony_spec.rb
-${GEM_LIBDIR}/spec/faraday/adapter/excon_spec.rb
-${GEM_LIBDIR}/spec/faraday/adapter/httpclient_spec.rb
-${GEM_LIBDIR}/spec/faraday/adapter/net_http_spec.rb
-${GEM_LIBDIR}/spec/faraday/adapter/patron_spec.rb
-${GEM_LIBDIR}/spec/faraday/adapter/rack_spec.rb
 ${GEM_LIBDIR}/spec/faraday/adapter/test_spec.rb
-${GEM_LIBDIR}/spec/faraday/adapter/typhoeus_spec.rb
 ${GEM_LIBDIR}/spec/faraday/adapter_registry_spec.rb
 ${GEM_LIBDIR}/spec/faraday/adapter_spec.rb
-${GEM_LIBDIR}/spec/faraday/composite_read_io_spec.rb
 ${GEM_LIBDIR}/spec/faraday/connection_spec.rb
-${GEM_LIBDIR}/spec/faraday/deprecate_spec.rb
 ${GEM_LIBDIR}/spec/faraday/error_spec.rb
+${GEM_LIBDIR}/spec/faraday/middleware_registry_spec.rb
 ${GEM_LIBDIR}/spec/faraday/middleware_spec.rb
 ${GEM_LIBDIR}/spec/faraday/options/env_spec.rb
 ${GEM_LIBDIR}/spec/faraday/options/options_spec.rb
@@ -76,7 +61,6 @@
 ${GEM_LIBDIR}/spec/faraday/request_spec.rb
 ${GEM_LIBDIR}/spec/faraday/response/json_spec.rb
 ${GEM_LIBDIR}/spec/faraday/response/logger_spec.rb
-${GEM_LIBDIR}/spec/faraday/response/middleware_spec.rb
 ${GEM_LIBDIR}/spec/faraday/response/raise_error_spec.rb
 ${GEM_LIBDIR}/spec/faraday/response_spec.rb
 ${GEM_LIBDIR}/spec/faraday/utils/headers_spec.rb
@@ -90,5 +74,4 @@
 ${GEM_LIBDIR}/spec/support/shared_examples/params_encoder.rb
 ${GEM_LIBDIR}/spec/support/shared_examples/request_method.rb
 ${GEM_LIBDIR}/spec/support/streaming_response_checker.rb
-${GEM_LIBDIR}/spec/support/webmock_rack_app.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r f78711c94ee4 -r 4c55a3af6884 www/ruby-faraday/distinfo
--- a/www/ruby-faraday/distinfo Mon Jan 09 08:45:35 2023 +0000
+++ b/www/ruby-faraday/distinfo Mon Jan 09 08:45:48 2023 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2023/01/07 15:31:57 taca Exp $
+$NetBSD: distinfo,v 1.24 2023/01/09 08:45:48 taca Exp $
 
-BLAKE2s (faraday-1.10.2.gem) = ef75c43cae3c88b774e5f700a70132c19065b833e512a0728a71106e0259e524
-SHA512 (faraday-1.10.2.gem) = bda7a9a57cd9e61e8f10059b0e1b6d7a5ea0488ae115dc7d95bf048b74ca02eb1dc1c2a2fa5bca001407f82a7e3f8bfa705f6425813ad4acdb754dcae8c19ebd
-Size (faraday-1.10.2.gem) = 71680 bytes
+BLAKE2s (faraday-2.7.2.gem) = 2be4b3d032d6962e1c7b7bac4ea2c165fbfca2155f1326b4db1be3ac5d9dbfd3
+SHA512 (faraday-2.7.2.gem) = 2a88ad37245ae5cec19f742db228166f103398bd7a67f1d3cf488257191a18ba808e58724ac36a7d76aeed03e3179b3e10f9cd5b3f75d8155e8c86d8a2f8e38d
+Size (faraday-2.7.2.gem) = 69120 bytes



Home | Main Index | Thread Index | Old Index