git: 5d361af172ee - main - net-mgmt/rubygem-oxidized-web: fix run with sinatra 4.0

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Tue, 20 Aug 2024 18:21:57 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d361af172ee2ee6af410827f25c4704098066a4

commit 5d361af172ee2ee6af410827f25c4704098066a4
Author:     Nick Hilliard <nick@foobar.org>
AuthorDate: 2024-08-20 18:18:35 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-08-20 18:21:35 +0000

    net-mgmt/rubygem-oxidized-web: fix run with sinatra 4.0
    
    Add rubygem-rack-test dependency.
    Fix patch.
    
    PR:             277377
    Reported by:    Einar Bjarni Halldórsson <einar@isnic.is>
    Approved by:    submitter is maintainer
---
 net-mgmt/rubygem-oxidized-web/Makefile                      |  3 ++-
 .../rubygem-oxidized-web/files/patch-oxidized-web.gemspec   | 13 ++++++++-----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/net-mgmt/rubygem-oxidized-web/Makefile b/net-mgmt/rubygem-oxidized-web/Makefile
index d7978166fd7d..142249f7b9c9 100644
--- a/net-mgmt/rubygem-oxidized-web/Makefile
+++ b/net-mgmt/rubygem-oxidized-web/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	oxidized-web
 PORTVERSION=	0.13.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	net-mgmt rubygems
 MASTER_SITES=	RG
 
@@ -17,6 +17,7 @@ RUN_DEPENDS=	rubygem-charlock_holmes>=0.7.5:textproc/rubygem-charlock_holmes \
 		rubygem-json>=1.7.0:devel/rubygem-json \
 		rubygem-oxidized>=0.26:net-mgmt/rubygem-oxidized \
 		rubygem-puma>=3.11.4:www/rubygem-puma \
+		rubygem-rack-test>=2.1.0:www/rubygem-rack-test \
 		rubygem-sass>=3.3:textproc/rubygem-sass \
 		rubygem-sinatra-contrib>=3.0.0:www/rubygem-sinatra-contrib \
 		rubygem-sinatra>=3.0.0:www/rubygem-sinatra
diff --git a/net-mgmt/rubygem-oxidized-web/files/patch-oxidized-web.gemspec b/net-mgmt/rubygem-oxidized-web/files/patch-oxidized-web.gemspec
index 3d43f4389935..79ae50c2cb28 100644
--- a/net-mgmt/rubygem-oxidized-web/files/patch-oxidized-web.gemspec
+++ b/net-mgmt/rubygem-oxidized-web/files/patch-oxidized-web.gemspec
@@ -1,6 +1,6 @@
---- oxidized-web.gemspec.orig	2024-03-03 09:20:49 UTC
+--- oxidized-web.gemspec.orig	2024-03-05 15:24:00 UTC
 +++ oxidized-web.gemspec
-@@ -25,10 +25,10 @@ Gem::Specification.new do |s|
+@@ -25,12 +25,12 @@ Gem::Specification.new do |s|
    s.add_runtime_dependency(%q<haml>.freeze, ["~> 5.0".freeze])
    s.add_runtime_dependency(%q<htmlentities>.freeze, ["~> 4.3".freeze])
    s.add_runtime_dependency(%q<oxidized>.freeze, ["~> 0.26".freeze])
@@ -9,8 +9,11 @@
    s.add_runtime_dependency(%q<sass>.freeze, ["~> 3.3".freeze])
 -  s.add_runtime_dependency(%q<sinatra>.freeze, ["~> 1.4".freeze, ">= 1.4.6".freeze])
 -  s.add_runtime_dependency(%q<sinatra-contrib>.freeze, ["~> 1.4".freeze, ">= 1.4.6".freeze])
-+  s.add_runtime_dependency(%q<sinatra>.freeze, ["~> 3.0".freeze, ">= 3.0.6".freeze])
-+  s.add_runtime_dependency(%q<sinatra-contrib>.freeze, ["~> 3.0".freeze, ">= 3.0.6".freeze])
++  s.add_runtime_dependency(%q<sinatra>.freeze, [">= 4.0".freeze])
++  s.add_runtime_dependency(%q<sinatra-contrib>.freeze, [">= 4.0".freeze])
    s.add_runtime_dependency(%q<json>.freeze, [">= 1.7.0".freeze])
-   s.add_runtime_dependency(%q<rack-test>.freeze, ["~> 0.7.0".freeze])
+-  s.add_runtime_dependency(%q<rack-test>.freeze, ["~> 0.7.0".freeze])
++  s.add_runtime_dependency(%q<rack-test>.freeze, [">= 0.7.0".freeze])
    s.add_development_dependency(%q<bundler>.freeze, ["~> 2.0".freeze])
+   s.add_development_dependency(%q<rails_best_practices>.freeze, ["~> 1.19".freeze])
+   s.add_development_dependency(%q<rake>.freeze, ["~> 10.0".freeze])