From bd50fac66f8d6feee498477ef977f7e4f2d3d5cd Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 19 Mar 2023 13:30:19 +0000 Subject: [PATCH] www/ruby-rack-test: update to 2.1.0 2.1.0 (2023-03-14) Breaking changes: * Digest authentication support, deprecated in 2.0.0, has been removed (Jeremy Evans #307) * requiring rack/mock_session, deprecated in 2.0.0, has been removed (Jeremy Evans #307) Minor enhancements: * The original_filename for Rack::Test::UploadedFile can now be set even if the content of the file comes from a file path (Stuart Chinery #314) * Add Rack::Test::Session#restore_state, for executing a block and restoring current state (last request, last response, and cookies) after the block (Jeremy Evans #316) * Make Rack::Test::Methods support default_host method similar to app, which will set the default host used for requests to the app (Jeremy Evans #317 #318) * Allow responses to set cookie paths not matching the current request URI. Such cookies will only be sent for paths matching the cookie path (Chris Waters #322) * Ignore leading dot for cookie domains, per RFC 6265 (Stephen Crosby #329) * Avoid creating empty multipart body if params is empty in Rack::Test::Session#env_for (Ryunosuke Sato #331) --- www/ruby-rack-test/Makefile | 6 +++--- www/ruby-rack-test/PLIST | 4 +--- www/ruby-rack-test/distinfo | 8 ++++---- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/www/ruby-rack-test/Makefile b/www/ruby-rack-test/Makefile index e95d2b1d9fcd..599099418610 100644 --- a/www/ruby-rack-test/Makefile +++ b/www/ruby-rack-test/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.11 2022/09/01 13:58:57 taca Exp $ +# $NetBSD: Makefile,v 1.12 2023/03/19 13:30:19 taca Exp $ -DISTNAME= rack-test-2.0.2 +DISTNAME= rack-test-2.1.0 CATEGORIES= www MAINTAINER= pkgsrc-users@NetBSD.org @@ -8,7 +8,7 @@ HOMEPAGE= https://github.com/brynary/rack-test COMMENT= Simple testing API built on Rack LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.0:../../www/ruby-rack +DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.3:../../www/ruby-rack .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-rack-test/PLIST b/www/ruby-rack-test/PLIST index 5db693ef2d64..e72dfe0e4c84 100644 --- a/www/ruby-rack-test/PLIST +++ b/www/ruby-rack-test/PLIST @@ -1,13 +1,11 @@ -@comment $NetBSD: PLIST,v 1.4 2019/03/03 16:45:21 taca Exp $ +@comment $NetBSD: PLIST,v 1.5 2023/03/19 13:30:19 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/History.md ${GEM_LIBDIR}/MIT-LICENSE.txt ${GEM_LIBDIR}/README.md -${GEM_LIBDIR}/lib/rack/mock_session.rb ${GEM_LIBDIR}/lib/rack/test.rb ${GEM_LIBDIR}/lib/rack/test/cookie_jar.rb ${GEM_LIBDIR}/lib/rack/test/methods.rb -${GEM_LIBDIR}/lib/rack/test/mock_digest_request.rb ${GEM_LIBDIR}/lib/rack/test/uploaded_file.rb ${GEM_LIBDIR}/lib/rack/test/utils.rb ${GEM_LIBDIR}/lib/rack/test/version.rb diff --git a/www/ruby-rack-test/distinfo b/www/ruby-rack-test/distinfo index 6de14b0b61f5..62cda0c0c8ad 100644 --- a/www/ruby-rack-test/distinfo +++ b/www/ruby-rack-test/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.10 2022/09/01 13:58:57 taca Exp $ +$NetBSD: distinfo,v 1.11 2023/03/19 13:30:19 taca Exp $ -BLAKE2s (rack-test-2.0.2.gem) = d6f0531fab01efbb9b78704d3c328cca6f64849fa3aa5bb6c39989e8d00f2101 -SHA512 (rack-test-2.0.2.gem) = 1d395d9504f8d84bcf0e251a9c5873eace29f274b177c7a6bfbdce58f6085ab5170f66d16086e3e159aaa47480d5f993c77b64d613cefda342932c39ad37331d -Size (rack-test-2.0.2.gem) = 21504 bytes +BLAKE2s (rack-test-2.1.0.gem) = 4beaac993dd4854fe8a5a87d1e66802f3a6534a6d284fadf07afebd39b728da2 +SHA512 (rack-test-2.1.0.gem) = e349ce61c3d787e0a772980db697e92212d4d9592ce33f55516d1f85fba55cbe666496c76392679b057786d6dab603d74b83e7bb773ab54940343e36dbf05d6f +Size (rack-test-2.1.0.gem) = 20992 bytes