pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ruby-sinatra4: Update to 4.1.1
Module Name: pkgsrc-wip
Committed By: Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By: steleto
Date: Sun Jan 19 00:56:16 2025 +0900
Changeset: 6fdb8e19f598663c77b89b683ee3157b64278666
Modified Files:
ruby-sinatra4/Makefile
ruby-sinatra4/PLIST
ruby-sinatra4/distinfo
Log Message:
ruby-sinatra4: Update to 4.1.1
4.1.1 / 2024-11-20
- Fix: Restore WEBrick support (#2067)
4.1.0 / 2024-11-18
- New: Add host_authorization setting (#2053)
- Defaults to .localhost, .test and any IP address in development
mode.
- Security: addresses CVE-2024-21510.
- Fix: Return an instance of Sinatra::IndifferentHash when calling
#except (#2044)
- Fix: Address warning from URI for Ruby 3.4 (#2060)
- Fix: rackup no longer depends on WEBrick, recommend Puma
instead (4a558503)
- Fix: Zeitwerk 2.7.0+ compatibility (#2050)
- Fix: Address warning about Hash construction for Ruby 3.4 (#2028)
- Fix: Declare missing dependencies for Ruby 3.5 (#2032)
- Fix: Compatibility with --enable-frozen-string-literal (#2033)
- Fix: Rack 3.1 compatibility (#2035)
- Don't depend on Rack::Logger
- Don't delete content-length header when Rack::Files is used
3 files changed, 5 insertions(+), 6 deletions(-)
ruby-rack-protection4/Makefile | 2 +-
ruby-rack-protection4/PLIST | 3 +--
ruby-rack-protection4/distinfo | 6 +++---
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6fdb8e19f598663c77b89b683ee3157b64278666
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ruby-sinatra4/Makefile | 9 +++++++--
ruby-sinatra4/PLIST | 3 +--
ruby-sinatra4/distinfo | 6 +++---
3 files changed, 11 insertions(+), 7 deletions(-)
diffs:
diff --git a/ruby-sinatra4/Makefile b/ruby-sinatra4/Makefile
index 43a566a70a..f38b38a89d 100644
--- a/ruby-sinatra4/Makefile
+++ b/ruby-sinatra4/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= sinatra-4.0.0
+DISTNAME= sinatra-4.1.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/sinatra/sinatra4/}
CATEGORIES= www
@@ -9,8 +9,13 @@ HOMEPAGE= http://www.sinatrarb.com/
COMMENT= Classy web-development dressed in a DSL
LICENSE= mit
+.include "../../lang/ruby/rubyversion.mk"
+
+.if ${RUBY_VER} <= 32
+DEPENDS+= ${RUBY_PKGPREFIX}-logger>=1.6.0:../../wip/ruby-logger
+.endif
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=3.0.0<4:../../www/ruby-rack
-DEPENDS+= ${RUBY_PKGPREFIX}-rack-protection4-4.0.0:../../wip/ruby-rack-protection4
+DEPENDS+= ${RUBY_PKGPREFIX}-rack-protection4-4.1.1:../../wip/ruby-rack-protection4
DEPENDS+= ${RUBY_PKGPREFIX}-rack-session>=2.0.0<3:../../www/ruby-rack-session
DEPENDS+= ${RUBY_PKGPREFIX}-mustermann>=3.0<4:../../www/ruby-mustermann
DEPENDS+= ${RUBY_PKGPREFIX}-tilt>=2.0<3:../../textproc/ruby-tilt
diff --git a/ruby-sinatra4/PLIST b/ruby-sinatra4/PLIST
index 795d1226a7..2ba12143b1 100644
--- a/ruby-sinatra4/PLIST
+++ b/ruby-sinatra4/PLIST
@@ -21,9 +21,8 @@ ${GEM_LIBDIR}/lib/sinatra/images/404.png
${GEM_LIBDIR}/lib/sinatra/images/500.png
${GEM_LIBDIR}/lib/sinatra/indifferent_hash.rb
${GEM_LIBDIR}/lib/sinatra/main.rb
+${GEM_LIBDIR}/lib/sinatra/middleware/logger.rb
${GEM_LIBDIR}/lib/sinatra/show_exceptions.rb
${GEM_LIBDIR}/lib/sinatra/version.rb
${GEM_LIBDIR}/sinatra.gemspec
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-@pkgdir lib/ruby/gems/3.2.0/plugins
-@pkgdir lib/ruby/gems/3.2.0/extensions
diff --git a/ruby-sinatra4/distinfo b/ruby-sinatra4/distinfo
index 9bdabf3356..9ff21ed81d 100644
--- a/ruby-sinatra4/distinfo
+++ b/ruby-sinatra4/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-BLAKE2s (sinatra-4.0.0.gem) = 97f5c49f8207578c3a61f083536d213265c979ce630a179a6c605d6ad941860e
-SHA512 (sinatra-4.0.0.gem) = 1eb8c6e8966461d3fa463b5c87e8bc3cd58243fc997a104671e252b866bb653dfc16d7b9f677e016ae91cb30998d72f8778eb2b2254ce27cf304944a6bfa8c05
-Size (sinatra-4.0.0.gem) = 134656 bytes
+BLAKE2s (sinatra-4.1.1.gem) = c33cb8d28c435b106d82dc7f2d1b3741d7fcc37ee60f2ca5a851f5928476866e
+SHA512 (sinatra-4.1.1.gem) = bf6c75a2f5e38cfb8442f481c491efb132dbf37a114e8ee35a4d24dd6f3b882f967a3c542cbafdcaf96242b39f5d78b77271adc562a2ee002b8790a73c99a7e9
+Size (sinatra-4.1.1.gem) = 135680 bytes
Home |
Main Index |
Thread Index |
Old Index