Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-rack-test
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
www/ruby-rack-test: update to 2.3.0 2.3.0 (2026-10-21) Bug fixes: * Do not mutate arguments given to Rack::Utils.build_multipart (Oskar Eichler #361) * Rewind tempfile if there are errors when appending in UploadedFile#append_to (Oskar Eichler #363) * Preserve request method and params for 308 redirects (requires Rack 2+) (Oskar Eichler #364) * Reuse rack.input in 307/308 redirect request if it is rewindable, fixing cases that use application/json and other content types (Oskar Eichler #367) * Don't use query string parameters from original request as request body parameters in 307/308 redirects (Jeremy Evans) Minor enhancements: * Add Rack::Test::Session#default_input_content_type and #convert_input_hash_to_string private methods to allow for easier overriding of default behavior. (Haruki Kobayashi #359)
www/ruby-rack-test: update to 2.2.0 2.2.0 / 2024-12-23 Bug fixes: * Rack::Test::Cookie now parses cookie parameters using a case-insensitive approach (Guillaume Malette #349) Minor enhancements: * Arrays of cookies containing a blank cookie are now handled correctly when processing responses. (Martin Emde #343) * Rack::Test::UploadedFile no longer uses a finalizer for named paths to close and unlink the created Tempfile. Tempfile itself uses a finalizer to close and unlink itself, so there is no reason for Rack::Test::UploadedFile to do so (Jeremy Evans #338)
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: udpate to 2.0.2
2.0.2 (2022-06-28)
Bug fixes:
* Fix additional incompatible character encodings error when building
uploaded bodies (Jeremy Evans #311)
2.0.1 (2022-06-27)
Bug fixes:
* Fix incompatible character encodings error when building uploaded file
bodies (Jeremy Evans #308 #309)
2.0.0 (2022-06-24)
Breaking changes:
* Digest authentication support is now deprecated, as it relies on digest
authentication support in rack, which has been deprecated (Jeremy Evans
#294)
* Rack::Test::Utils.build_primitive_part no longer handles array values
(Jeremy Evans #292)
* Rack::Test::Utils module methods other than build_nested_query and
build_multipart are now private methods (Jeremy Evans #297)
* Rack::MockSession has been combined into Rack::Test::Session, and remains
as an alias to Rack::Test::Session, but to keep some backwards
compatibility, Rack::Test::Session.new will accept a Rack::Test::Session
instance and return it (Jeremy Evans #297)
* Previously protected methods in Rack::Test::Cookie{,Jar} are now private
methods (Jeremy Evans #297)
* Rack::Test::Methods no longer defines build_rack_mock_session, but for
backwards compatibility, build_rack_test_session will call
build_rack_mock_session if it is defined (Jeremy Evans #297)
* Rack::Test::Methods::METHODS is no longer defined (Jeremy Evans #297)
* Rack::Test::Methods#_current_session_names has been removed (Jeremy Evans
#297)
* Headers used/accessed by rack-test are now lower case, for rack 3
compliance (Jeremy Evans #295)
* Frozen literal strings are now used internally, which may break code that
mutates static strings returned by rack-test, if any (Jeremy Evans #304)
Minor enhancements:
* rack-test now works with the rack main branch (what will be rack 3)
(Jeremy Evans #280 #292)
* rack-test only loads the parts of rack it uses when running on the rack
main branch (what will be rack 3) (Jeremy Evans #292)
* Development dependencies have been significantly reduced, and are now a
subset of the development dependencies of rack itself (Jeremy Evans #292)
* Avoid creating multiple large copies of uploaded file data in memory
(Jeremy Evans #286)
* Specify HTTP/1.0 when submitting requests, to avoid responses with
Transfer-Encoding: chunked (Jeremy Evans #288)
* Support :query_params in rack environment for parameters that are appended
to the query string instead of used in the request body (Jeremy Evans #150
#287)
* Reduce required ruby version to 2.0, since tests run fine on Ruby 2.0
(Jeremy Evans #292)
* Support :multipart env key for request methods to force multipart input
(Jeremy Evans #303)
* Force multipart input for request methods if content type starts with
multipart (Jeremy Evans #303)
* Improve performance of Utils.build_multipart by using an append-only
design (Jeremy Evans #304)
* Improve performance of Utils.build_nested_query for array values (Jeremy
Evans #304)
Bug fixes:
* The CONTENT_TYPE of multipart requests is now respected, if it starts with
multipart/ (Tom Knig #238)
* Work correctly with responses that respond to to_a but not to_ary (Sergio
Faria #276)
* Raise an ArgumentError instead of a TypeError when providing a StringIO
without an original filename when creating an UploadedFile (Nuno Correia
#279)
* Allow combining both an UploadedFile and a plain string when building a
multipart upload (Mitsuhiro Shibuya #278)
* Fix the generation of filenames with spaces to use path escaping instead
of regular escaping, since path unescaping is used to decode it (Muir
Manders, Jeremy Evans #275 #284)
* Rewind tempfile used for multipart uploads before it is submitted to the
application (Jeremy Evans, Alexander Dervish #261 #268 #286)
* Fix Rack::Test.encoding_aware_strings to be true only on rack 1.6+ (Jeremy
Evans #292)
* Make Rack::Test::CookieJar#valid? return true/false (Jeremy Evans #292)
* Cookies without a domain attribute no longer are submitted to requests for
subdomains of that domain, for RFC 6265 compliance (Jeremy Evans #292)
* Increase required rack version to 1.3, since tests fail on rack 1.2 and
below (Jeremy Evans #293)
www/ruby-rack-test: fix dependency Fix dependency to ruby-rack.
www/ruby-rack-test: update to 1.1.0
Update ruby-rack-test to 1.1.0.
## 1.1.0 / 2018-07-21
* Breaking changes:
* None
* Minor enhancements / new functionality:
* [GitHub] Added configuration for Stale (Per Lundberg #232)
* follow_direct: Include rack.session.options (Mark Edmondson #233)
* [CI] Add simplecov (fatkodima #227)
Bug fixes:
* Follow relative locations correctly. (Samuel Williams #230)
## 1.0.0 / 2018-03-27
* Breaking changes:
* Always set CONTENT_TYPE for non-GET requests
(Per Lundberg #223)
* Minor enhancements / bug fixes:
* Create tempfile using the basename without extension
(Edouard Chin #201)
* Save `session` during `follow_redirect!`
(Alexander Popov #218)
* Document how to use URL params with DELETE method
(Timur Platonov #220)
## 0.8.3 / 2018-02-27
* Bug fixes:
* Do not set Content-Type if params are explicitly set to nil
(Bartek BuŠČat #212). Fixes #200.
* Fix `UploadedFile#new` regression
(Per Lundberg #215)
* Minor enhancements
* [CI] Test against Ruby 2.5 (Nicolas Leger #217)
## 0.8.2 / 2017-11-21
* Bug fixes:
* Bugfix for `UploadedFile.new` unintended API breakage.
(Per Lundberg #210)
## 0.8.0 / 2017-11-20
* Known Issue
* In `UploadedFile.new`, when passing e.g. a `Pathname` object,
errors can be raised (eg. `ArgumentError: Missing original_filename
for IO`, or `NoMethodError: undefined method 'size'`) See #207, #209.
* Minor enhancements
* Add a required_ruby_version of >= 2.2.2, similar to rack 2.0.1.
(Samuel Giddins #194)
* Remove new line from basic auth. (Felix Kleinschmidt #185)
* Rubocop fixes (Per Lundberg #196)
* Add how to install rack-test from github to README. (Jun Aruga #189)
* Update CodeClimate badges (Toshimaru #195)
* Add the ability to create Test::UploadedFile instances without
the file system (Adam Milligan #149)
* Add custom_request, remove duplication (Johannes Barre #184)
* README.md: Added note about how to post JSON (Per Lundberg #198)
* README.md: Added version badge (Per Lundberg #199)
* Bug fixes
* Bugfix for Cookies with multiple paths (Kyle Welsby #197)
Switch github HOMEPAGEs to https.
Update ruby-rack-test to 0.6.3.
== 0.6.3 / 2015-01-09
* Minor enhancements
* Expose an env helper for persistently configuring the env as needed
(DarÃo Javier Cravero #80)
* Expose the tempfile of UploadedFile (Sytse Sijbrandij #67)
* Bug fixes
* Improve support for arrays of hashes in multipart forms (Murray Steele #69)
* Improve test for query strings (Paul Grayson #66)
Make depends to www/ruby-rack14 instead of www/ruby-rack. Bump PKGREVISION.
Update ruby-rack-test to 0.6.2. == 0.6.2 / 2012-09-27 * Minor enhancements * Support HTTP PATCH method (Marjan Krekoten' #33) * Preserve the exact query string when possible (Paul Grayson #63) * Add a #delete method to CookieJar (Paul Grayson #63) * Bug fixes * Fix HTTP Digest authentication when the URI has query params * Don't append default ports to HTTP_HOST (David Lee #57)
Update ruby-rack-test pacakge to 0.6.1. == 0.6.1 / 2011-07-27 * Bug fixes * Fix support for params with arrays in multipart forms (Joel Chippindale) * Add respond_to? to Rack::Test::UploadedFile to match method_missing (Josh Nichols) * Set the Referer header on requests issued by follow_redirect! (Ryan Bigg) == 0.6.0 / 2011-05-03 * Bug fixes * Add support for HTTP OPTIONS verb (Paolo "Nusco" Perrotta) * Call #finish on MockResponses if it's available (Aaron Patterson) * Allow HTTP_HOST to be set via #header (Geoff Buesing)
Add a note in comment to keep this package to 0.5.x series.
Pullup ticket 3354 - requested by taca
security update
Revisions pulled up:
- pkgsrc/databases/ruby-activerecord3/Makefile 1.3
- pkgsrc/databases/ruby-activerecord3/distinfo 1.3
- pkgsrc/databases/ruby-activerecord3/PLIST 1.2
- pkgsrc/databases/ruby-arel/Makefile 1.2
- pkgsrc/databases/ruby-arel/PLIST 1.2
- pkgsrc/databases/ruby-arel/distinfo 1.2
- pkgsrc/devel/ruby-activemodel/Makefile 1.3
- pkgsrc/devel/ruby-activemodel/distinfo 1.3
- pkgsrc/devel/ruby-activesupport3/Makefile 1.3
- pkgsrc/devel/ruby-activesupport3/distinfo 1.3
- pkgsrc/devel/ruby-railties/Makefile 1.3
- pkgsrc/devel/ruby-railties/distinfo 1.3
- pkgsrc/devel/ruby-railties/PLIST 1.2
- pkgsrc/mail/ruby-actionmailer3/Makefile 1.4
- pkgsrc/mail/ruby-actionmailer3/distinfo 1.3
- pkgsrc/www/ruby-actionpack3/Makefile 1.3
- pkgsrc/www/ruby-actionpack3/distinfo 1.3
- pkgsrc/www/ruby-activeresource3/Makefile 1.3
- pkgsrc/www/ruby-activeresource3/distinfo 1.3
- pkgsrc/www/ruby-rack-test/Makefile 1.2
- pkgsrc/www/ruby-rack-test/PLIST 1.2
- pkgsrc/www/ruby-rack-test/distinfo 1.2
- pkgsrc/www/ruby-rails3/Makefile 1.3
- pkgsrc/www/ruby-rails3/distinfo 1.4
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:54:35 UTC 2011
Modified Files:
pkgsrc/www/ruby-rack-test: Makefile PLIST distinfo
Log Message:
Update ruby-rack-test package to 0.5.7.
== 0.5.7 / 2011-01-01
* Bug fixes
* If no URI is present, include all cookies (Pratik Naik)
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/www/ruby-rack-test/Makefile \
pkgsrc/www/ruby-rack-test/PLIST pkgsrc/www/ruby-rack-test/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:55:29 UTC 2011
Modified Files:
pkgsrc/databases/ruby-arel: Makefile PLIST distinfo
Log Message:
Update ruby-arel package to 2.0.8.
== 2.0.8 / 2010/02/08
* Bug Fixes
* Added set operation support
* Fixed problems with *_any / *_all methods.
== 2.0.7 (unreleased)
* Bug Fixes
* Limit members are visited
* Fixing MSSQL TOP support
== 2.0.6 12/01/2010
* Bug Fixes
* Rails 3.0.x does not like that Node is Enumerable, so removing for now.
== 2.0.5 11/30/2010
* Enhancements
* Arel::Visitors::DepthFirst can walk your AST depth first
* Arel::Nodes::Node is enumerable, depth first
* Bug fixes
* #lock will lock SELECT statements "FOR UPDATE" on mysql
* Nodes::Node#not factory method added for creating Nodes::Not nodes
* Added an As node
* Deprecations
* Support for Subclasses of core classes will be removed in ARel version
2.2.0
== 2.0.4
* Bug fixes
* Speed improvements for Range queries. Thanks Rolf Timmermans!
== 2.0.3
* Bug fixes
* Fixing Oracle support
* Added a visitor for "Class" objects
== 2.0.2
* Bug fixes
* MySQL selects from DUAL on empty FROM
* Visitor translates nil to NULL
* Visitor translates Bignum properly
== 2.0.1
* Bug fixes
== 2.0.0 / 2010-08-01
* Enhancements
* Recreate library using the Visitor pattern.
http://en.wikipedia.org/wiki/Visitor_pattern
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/ruby-arel/Makefile \
pkgsrc/databases/ruby-arel/PLIST pkgsrc/databases/ruby-arel/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:56:49 UTC 2011
Modified Files:
pkgsrc/devel/ruby-activesupport3: Makefile distinfo
Log Message:
Update ruby-activesupport3 package to 3.0.4.
* 3.0.4 updates version only for Ruby on Rails 3.0.4 update.
*Rails 3.0.3 (November 16, 2010)*
* No changes.
*Rails 3.0.2 (November 15, 2010)*
* Added before_remove_const callback to ActiveSupport::Dependencies.remove_unloadable_constants! [Andrew White]
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-activesupport3/Makefile \
pkgsrc/devel/ruby-activesupport3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:57:47 UTC 2011
Modified Files:
pkgsrc/devel/ruby-activemodel: Makefile distinfo
Log Message:
Update ruby-activemodel package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-activemodel/Makefile \
pkgsrc/devel/ruby-activemodel/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:58:53 UTC 2011
Modified Files:
pkgsrc/www/ruby-actionpack3: Makefile distinfo
Log Message:
Update ruby-actionpack3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
*Rails 3.0.3 (November 16, 2010)*
* When ActiveRecord::Base objects are sent to predicate methods, the id of
the object should be sent to ARel, not the ActiveRecord::Base object.
* :constraints routing should only do sanity checks against regular
expressions. String arguments are OK.
*Rails 3.0.2 (November 15, 2010)*
* The helper number_to_currency accepts a new :negative_format option to be
able to configure how to render negative amounts. [Don Wilson]
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-actionpack3/Makefile \
pkgsrc/www/ruby-actionpack3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:00:07 UTC 2011
Modified Files:
pkgsrc/databases/ruby-activerecord3: Makefile PLIST distinfo
Log Message:
Update ruby-activerecord3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
*Rails 3.0.4 (unreleased)*
* Added deprecation warning for has_and_belongs_to_many associations where the join table has
additional attributes other than the keys. Access to these attributes is removed in 3.1.
Please use has_many :through instead. [Jon Leighton]
*Rails 3.0.3 (November 16, 2010)*
* Support find by class like this: Post.where(:name => Post)
*Rails 3.0.2 (November 15, 2010)*
* Dramatic speed increase (see: http://engineering.attinteractive.com/2010/10/arel-two-point-ohhhhh-yaaaaaa/) [Aaron Patterson]
* reorder is deprecated in favor of except(:order).order(...) [Santiago Pastorino]
* except is now AR public API
Model.order('name').except(:order).order('salary')
generates:
SELECT * FROM models ORDER BY salary
[Santiago Pastorino]
* The following code:
Model.limit(10).scoping { Model.count }
now generates the following SQL:
SELECT COUNT(*) FROM models LIMIT 10
This may not return what you want. Instead, you may with to do something
like this:
Model.limit(10).scoping { Model.all.size }
[Aaron Patterson]
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/ruby-activerecord3/Makefile \
pkgsrc/databases/ruby-activerecord3/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/ruby-activerecord3/PLIST
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:00:50 UTC 2011
Modified Files:
pkgsrc/www/ruby-activeresource3: Makefile distinfo
Log Message:
Update ruby-activeresource3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-activeresource3/Makefile \
pkgsrc/www/ruby-activeresource3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:01:46 UTC 2011
Modified Files:
pkgsrc/mail/ruby-actionmailer3: Makefile distinfo
Log Message:
Update ruby-actionmailer3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/ruby-actionmailer3/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/ruby-actionmailer3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:04:29 UTC 2011
Modified Files:
pkgsrc/devel/ruby-railties: Makefile PLIST distinfo
Log Message:
Update ruby-railties package to 3.0.4.
* More strict dependency reflect gemspec's description.
Not documented but includes fix for security problem:
http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-railties/Makefile \
pkgsrc/devel/ruby-railties/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/ruby-railties/PLIST
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:05:57 UTC 2011
Modified Files:
pkgsrc/www/ruby-rails3: Makefile distinfo
Log Message:
Update ruby-rails3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
(This is meta gem.)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-rails3/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/ruby-rails3/distinfo
Update ruby-rack-test package to 0.5.7. == 0.5.7 / 2011-01-01 * Bug fixes * If no URI is present, include all cookies (Pratik Naik)
Importing ruby-rack-test 0.5.4. Rack::Test is a small, simple testing API for Rack apps. It can be used on its own or as a reusable starting point for Web frameworks and testing libraries to build on. Most of its initial functionality is an extraction of Merb 1.0's request helpers feature.
Initial revision