git: 51d05a18ab20 - main - www/redmine4: Fix Gemfile for rubygem-rails52 5.2.7 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:49:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=51d05a18ab2099c35408eb9f745a6720926f6d4a

commit 51d05a18ab2099c35408eb9f745a6720926f6d4a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:11:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:01 +0000

    www/redmine4: Fix Gemfile for rubygem-rails52 5.2.7 update
    
    - Update RUN_DEPENDS to match Gemfile
    - Bump PORTREVISION for package change
---
 www/redmine4/Makefile            | 3 ++-
 www/redmine4/files/patch-Gemfile | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/redmine4/Makefile b/www/redmine4/Makefile
index 6e92962b25e2..42b1ebe17240 100644
--- a/www/redmine4/Makefile
+++ b/www/redmine4/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	redmine
 PORTVERSION=	4.1.6
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	https://www.redmine.org/releases/
 PKGNAMESUFFIX=	4
@@ -13,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/doc/COPYING
 PORTSCOUT=	limit:^4\.1\.
 
 RUN_DEPENDS=	rubygem-bundler>=1.5.0:sysutils/rubygem-bundler \
-		rubygem-rails52>=5.2.5<5.3:www/rubygem-rails52 \
+		rubygem-rails52>=5.2.6<5.3:www/rubygem-rails52 \
 		rubygem-rouge312>=3.12.0:textproc/rubygem-rouge312 \
 		rubygem-request_store14>=1.0.5:devel/rubygem-request_store14 \
 		rubygem-mini_mime>=1.0.1:mail/rubygem-mini_mime \
diff --git a/www/redmine4/files/patch-Gemfile b/www/redmine4/files/patch-Gemfile
index 4f2e3d9f2ced..2ff2386f45df 100644
--- a/www/redmine4/files/patch-Gemfile
+++ b/www/redmine4/files/patch-Gemfile
@@ -8,7 +8,7 @@
  gem "bundler", ">= 1.5.0"
  
 -gem 'rails', '5.2.6.2'
-+gem 'rails', '5.2.6'
++gem 'rails', '~> 5.2.6'
  gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5'
  gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
  gem "rouge", "~> 3.12.0"