Skip to content

Commit

Permalink
www/ruby-rack-test: update to 2.1.0
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
taca committed Mar 19, 2023
1 parent 85461d1 commit bd50fac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions www/ruby-rack-test/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# $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= [email protected]
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"
4 changes: 1 addition & 3 deletions www/ruby-rack-test/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions www/ruby-rack-test/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bd50fac

Please sign in to comment.