git: afb9016cac33 - main - www/rubygem-gollum-rugged_adapter: Update 0.4.4 -> 1.1.2

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

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

commit afb9016cac33bcbd0cb5f3a54d0ddeea3091a837
Author:     Sir l33tname <sirl33tname@gmail.com>
AuthorDate: 2021-12-04 11:29:38 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-01-23 15:40:59 +0000

    www/rubygem-gollum-rugged_adapter: Update 0.4.4 -> 1.1.2
    
    PR:             260207
---
 www/rubygem-gollum-rugged_adapter/Makefile                  |  5 ++---
 www/rubygem-gollum-rugged_adapter/distinfo                  |  6 +++---
 www/rubygem-gollum-rugged_adapter/files/patch-gemspec       | 13 +++++++++++++
 .../files/patch-gollum-rugged__adapter.gemspec              | 11 -----------
 4 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/www/rubygem-gollum-rugged_adapter/Makefile b/www/rubygem-gollum-rugged_adapter/Makefile
index 3c33283cacc4..2a8e9ed04b53 100644
--- a/www/rubygem-gollum-rugged_adapter/Makefile
+++ b/www/rubygem-gollum-rugged_adapter/Makefile
@@ -1,8 +1,7 @@
 # Created by: Torsten Zuehlsdorff <ports@toco-domains.de>
 
 PORTNAME=	gollum-rugged_adapter
-PORTVERSION=	0.4.4
-PORTREVISION=	2
+PORTVERSION=	1.1.2
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +11,7 @@ COMMENT=	Adapter for Gollum to use Rugged (libgit2) at the backend
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-mime-types>=1.15:misc/rubygem-mime-types \
+RUN_DEPENDS=	rubygem-mime-types>=3.3.1:misc/rubygem-mime-types \
 		rubygem-rugged>=1.0:devel/rubygem-rugged
 
 NO_ARCH=	yes
diff --git a/www/rubygem-gollum-rugged_adapter/distinfo b/www/rubygem-gollum-rugged_adapter/distinfo
index 6b7690a6785a..6ca2ae8a291a 100644
--- a/www/rubygem-gollum-rugged_adapter/distinfo
+++ b/www/rubygem-gollum-rugged_adapter/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495034465
-SHA256 (rubygem/gollum-rugged_adapter-0.4.4.gem) = 644388dd8838beb382d3779af413f32776f2308c464b75a4a2d91573a7aa0e4e
-SIZE (rubygem/gollum-rugged_adapter-0.4.4.gem) = 13312
+TIMESTAMP = 1638295421
+SHA256 (rubygem/gollum-rugged_adapter-1.1.2.gem) = 12518a3b6a0946f215cf9efb0a88a1a7fd0e83135341cd543ff72eb1b6a606c8
+SIZE (rubygem/gollum-rugged_adapter-1.1.2.gem) = 12800
diff --git a/www/rubygem-gollum-rugged_adapter/files/patch-gemspec b/www/rubygem-gollum-rugged_adapter/files/patch-gemspec
new file mode 100644
index 000000000000..8f7d8b0621eb
--- /dev/null
+++ b/www/rubygem-gollum-rugged_adapter/files/patch-gemspec
@@ -0,0 +1,13 @@
+--- gollum-rugged_adapter.gemspec.orig	2021-12-24 17:10:02 UTC
++++ gollum-rugged_adapter.gemspec
+@@ -21,8 +21,8 @@ Gem::Specification.new do |s|
+     s.specification_version = 4
+
+     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+-      s.add_runtime_dependency(%q<rugged>.freeze, ["~> 1.1.0"])
+-      s.add_runtime_dependency(%q<mime-types>.freeze, ["~> 1.15"])
++      s.add_runtime_dependency(%q<rugged>.freeze, ["~> 1.2.0"])
++      s.add_runtime_dependency(%q<mime-types>.freeze, [">= 3.3.1"])
+       s.add_development_dependency(%q<rspec>.freeze, ["= 3.4.0"])
+     else
+       s.add_dependency(%q<rugged>.freeze, ["~> 1.1.0"])
diff --git a/www/rubygem-gollum-rugged_adapter/files/patch-gollum-rugged__adapter.gemspec b/www/rubygem-gollum-rugged_adapter/files/patch-gollum-rugged__adapter.gemspec
deleted file mode 100644
index 8a53f8967969..000000000000
--- a/www/rubygem-gollum-rugged_adapter/files/patch-gollum-rugged__adapter.gemspec
+++ /dev/null
@@ -1,11 +0,0 @@
---- gollum-rugged_adapter.gemspec.orig	2020-04-14 08:45:40 UTC
-+++ gollum-rugged_adapter.gemspec
-@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
-     s.specification_version = 4
- 
-     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
--      s.add_runtime_dependency(%q<rugged>.freeze, ["~> 0.25"])
-+      s.add_runtime_dependency(%q<rugged>.freeze, ["~> 1.0"])
-       s.add_runtime_dependency(%q<mime-types>.freeze, [">= 1.15"])
-       s.add_development_dependency(%q<rspec>.freeze, ["= 3.4.0"])
-     else