git: 644d2ef109a3 - main - www/rubygem-gollum-lib: Update 4.2.10 -> 5.1.3

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 15:41:28 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=644d2ef109a340cdf0d19561117db3d9e63b52f7

commit 644d2ef109a340cdf0d19561117db3d9e63b52f7
Author:     Sir l33tname <sirl33tname@gmail.com>
AuthorDate: 2021-12-04 11:34:44 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-01-23 15:41:01 +0000

    www/rubygem-gollum-lib: Update 4.2.10 -> 5.1.3
    
    PR:             260207
    Approved by:    ruby (maintainer timeout)
---
 www/rubygem-gollum-lib/Makefile                       | 17 +++++++++--------
 www/rubygem-gollum-lib/distinfo                       |  6 +++---
 www/rubygem-gollum-lib/files/patch-gemspec            | 13 -------------
 www/rubygem-gollum-lib/files/patch-gemspec.rb         | 11 +++++++++++
 www/rubygem-gollum-lib/files/patch-gollum-lib.gemspec | 11 +++++++++++
 5 files changed, 34 insertions(+), 24 deletions(-)

diff --git a/www/rubygem-gollum-lib/Makefile b/www/rubygem-gollum-lib/Makefile
index afd8ab1152e5..e4be5bec7018 100644
--- a/www/rubygem-gollum-lib/Makefile
+++ b/www/rubygem-gollum-lib/Makefile
@@ -1,7 +1,7 @@
 # Created by: Johannes Meixner <johannes@perceivon.net>
 
 PORTNAME=	gollum-lib
-PORTVERSION=	4.2.10
+PORTVERSION=	5.1.3
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -11,14 +11,15 @@ COMMENT=	Simple, Git-powered wiki with a sweet API and local frontend
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-gemojione>=3.2<4:graphics/rubygem-gemojione \
+RUN_DEPENDS=	rubygem-gemojione>=4.1:graphics/rubygem-gemojione \
 		rubygem-github-markup>=1.6:textproc/rubygem-github-markup \
-		rubygem-gollum-grit_adapter10>=1.0<2:www/rubygem-gollum-grit_adapter10 \
-		rubygem-nokogiri>=1.6.1<2.0:textproc/rubygem-nokogiri \
-		rubygem-rouge2>=2.1<3:textproc/rubygem-rouge2 \
-		rubygem-sanitize>=2.1:textproc/rubygem-sanitize \
-		rubygem-stringex>=2.6,1<3,1:devel/rubygem-stringex \
-		rubygem-twitter-text1=1.14.7:textproc/rubygem-twitter-text1
+		rubygem-nokogiri>=1.8.0<2.0:textproc/rubygem-nokogiri \
+		rubygem-rouge>=3.1<4:textproc/rubygem-rouge \
+		rubygem-twitter-text1=1.14.7:textproc/rubygem-twitter-text1 \
+		rubygem-loofah>=2.12.0:textproc/rubygem-loofah \
+                rubygem-github-markup>=4.0.0<5.0:textproc/rubygem-github-markup \
+		rubygem-gemojione>=3.3.0:graphics/rubygem-gemojione \
+		rubygem-octicons>=12.0.0:misc/rubygem-octicons
 
 USES=		gem
 USE_RUBY=	yes
diff --git a/www/rubygem-gollum-lib/distinfo b/www/rubygem-gollum-lib/distinfo
index 26b269b2a9bc..b00e27288e5c 100644
--- a/www/rubygem-gollum-lib/distinfo
+++ b/www/rubygem-gollum-lib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1549553954
-SHA256 (rubygem/gollum-lib-4.2.10.gem) = 6eb75173fbd6ed18621e650f747e0581b53f6c070f8fc995474a389363e42999
-SIZE (rubygem/gollum-lib-4.2.10.gem) = 49152
+TIMESTAMP = 1638087693
+SHA256 (rubygem/gollum-lib-5.1.3.gem) = 62636c935aacfb808d46a6f49fa3600e744c3eb8bb1fa490d7e0872c3be355e9
+SIZE (rubygem/gollum-lib-5.1.3.gem) = 51200
diff --git a/www/rubygem-gollum-lib/files/patch-gemspec b/www/rubygem-gollum-lib/files/patch-gemspec
deleted file mode 100644
index ffa02bdd9a28..000000000000
--- a/www/rubygem-gollum-lib/files/patch-gemspec
+++ /dev/null
@@ -1,13 +0,0 @@
---- gollum-lib.gemspec.orig	2019-02-07 15:46:07 UTC
-+++ gollum-lib.gemspec
-@@ -29,8 +29,8 @@ Gem::Specification.new do |s|
-       s.add_runtime_dependency(%q<rouge>.freeze, ["~> 2.1"])
-       s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.6.1", "< 2.0"])
-       s.add_runtime_dependency(%q<stringex>.freeze, ["~> 2.6"])
--      s.add_runtime_dependency(%q<sanitize>.freeze, ["~> 2.1.1", ">= 2.1.1"])
--      s.add_runtime_dependency(%q<github-markup>.freeze, ["~> 1.6"])
-+      s.add_runtime_dependency(%q<sanitize>.freeze, [">= 2.1.1"])
-+      s.add_runtime_dependency(%q<github-markup>.freeze, [">= 1.6"])
-       s.add_runtime_dependency(%q<gemojione>.freeze, ["~> 3.2"])
-       s.add_runtime_dependency(%q<twitter-text>.freeze, ["= 1.14.7"])
-       s.add_development_dependency(%q<org-ruby>.freeze, ["~> 0.9.9"])
diff --git a/www/rubygem-gollum-lib/files/patch-gemspec.rb b/www/rubygem-gollum-lib/files/patch-gemspec.rb
new file mode 100644
index 000000000000..256181928017
--- /dev/null
+++ b/www/rubygem-gollum-lib/files/patch-gemspec.rb
@@ -0,0 +1,11 @@
+--- gemspec.rb.orig	2021-12-04 10:42:00 UTC
++++ gemspec.rb
+@@ -31,7 +31,7 @@ def specification(version, default_adapter, platform =
+     s.add_dependency 'loofah', '~> 2.3'
+     s.add_dependency 'github-markup', '~> 4.0'
+     s.add_dependency 'gemojione', '~> 4.1'
+-    s.add_dependency 'octicons', '~> 12.0'
++    s.add_dependency 'octicons', '~> 16.0'
+     s.add_dependency 'twitter-text', '1.14.7'
+ 
+     s.add_development_dependency 'org-ruby', '~> 0.9.9'
diff --git a/www/rubygem-gollum-lib/files/patch-gollum-lib.gemspec b/www/rubygem-gollum-lib/files/patch-gollum-lib.gemspec
new file mode 100644
index 000000000000..8c0002cfb10d
--- /dev/null
+++ b/www/rubygem-gollum-lib/files/patch-gollum-lib.gemspec
@@ -0,0 +1,11 @@
+--- gollum-lib.gemspec.orig	2021-12-04 10:42:35 UTC
++++ gollum-lib.gemspec
+@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
+       s.add_runtime_dependency(%q<loofah>.freeze, ["~> 2.3"])
+       s.add_runtime_dependency(%q<github-markup>.freeze, ["~> 4.0"])
+       s.add_runtime_dependency(%q<gemojione>.freeze, ["~> 4.1"])
+-      s.add_runtime_dependency(%q<octicons>.freeze, ["~> 12.0"])
++      s.add_runtime_dependency(%q<octicons>.freeze, ["~> 16.0"])
+       s.add_runtime_dependency(%q<twitter-text>.freeze, ["= 1.14.7"])
+       s.add_development_dependency(%q<org-ruby>.freeze, ["~> 0.9.9"])
+       s.add_development_dependency(%q<kramdown>.freeze, ["~> 2.3.0"])