Path to this page:
Subject: CVS commit: pkgsrc/www/ruby-innate
From: Takahiro Kambe
Date: 2023-01-07 06:13:06
Message id: 20230107051306.805ECFA90@cvs.NetBSD.org
Log Message:
www/ruby-innate: update to 2023.01.06
2023.01.06
* update gemspec to specify modern version of rack and rack-test and add
rackup
* Use Rackup::Handler instead of Rack::Handler. Refactor registration of
* ebb handler registration into #start_ebb. Not sure this code is covered
* by the tests but all tests are passing. fix test to expect header keys to
* be downcase as that is what Rack sends now
* Fix unless condition in rescue block of Request#local_net? to match any
exception message that suggests an invalid address
* Change Rack::File to Rack::Files and Rack::Response#header to #headers to
conform with rack ~> 3.0
* remove Gem::Specification#has_rdoc because it is deprecated and breaks
things.
* Update adapter.rb.
In lib/innate/adapter.rb#self.start_webrick, `:BindAddress =>
config[:Host]` should be `:Host => config[:Host]` because
lib/rack/handler/webrick.rb#self.run looks for :Host, not
:BindAddress. What this means is, if you're running Ramaze on a remote
server, there is no :Host in the options (which returns nil), and so it
defaults to localhost, then your browser won't see the site.
Files: