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.
This commit is contained in:
taca 2023-01-07 05:13:06 +00:00
parent c386db280f
commit 6fddfb66de
2 changed files with 8 additions and 9 deletions

View file

@ -1,15 +1,14 @@
# $NetBSD: Makefile,v 1.14 2022/05/28 09:55:26 taca Exp $
# $NetBSD: Makefile,v 1.15 2023/01/07 05:13:06 taca Exp $
DISTNAME= innate-2015.10.28
PKGREVISION= 1
CATEGORIES= devel
DISTNAME= innate-2023.01.06
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/Ramaze/innate
COMMENT= Powerful web-framework wrapper for Rack
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-rack16>=1.6.4<1.7:../../www/ruby-rack16
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=3.0<4:../../www/ruby-rack
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.11 2021/10/26 11:30:59 nia Exp $
$NetBSD: distinfo,v 1.12 2023/01/07 05:13:06 taca Exp $
BLAKE2s (innate-2015.10.28.gem) = 52c53fda864ae5bbc7355f85d36d46468ab571ca56a88052eefd08d18631d4a8
SHA512 (innate-2015.10.28.gem) = c9d819d4550ef0fde9229eb86a17300121e53e44115f284527de07b0d59221c5f06bad0c9f3007412387a59ca6b0d364442fb688f0cb4f538eedca4a26b210d7
Size (innate-2015.10.28.gem) = 108032 bytes
BLAKE2s (innate-2023.01.06.gem) = e3757598a5199858c90a64a1d65af83a4e08b8738f5492c5b6fa99c09cdab082
SHA512 (innate-2023.01.06.gem) = dcb522ce120113663247e651e924fd54b3bbefa311e026c869a9b9fa9c12f1fcccb06203829b628202af9669cf2049525a6a46327aaa5c8398a364d12f35fe4f
Size (innate-2023.01.06.gem) = 109056 bytes