git: c86f4e4572e8 - main - textproc/rubygem-github-linguist: Update to 7.22.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 12:43:02 UTC
The branch main has been updated by sunpoet:

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

commit c86f4e4572e820d2f28db450e2be24ec80db1131
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 12:36:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 12:40:15 +0000

    textproc/rubygem-github-linguist: Update to 7.22.0
    
    Changes:        https://github.com/github/linguist/releases
---
 textproc/rubygem-github-linguist/Makefile          |  3 +-
 textproc/rubygem-github-linguist/distinfo          |  6 ++--
 .../files/patch-escape_utils                       | 36 ----------------------
 .../rubygem-github-linguist/files/patch-gemspec    | 11 -------
 4 files changed, 4 insertions(+), 52 deletions(-)

diff --git a/textproc/rubygem-github-linguist/Makefile b/textproc/rubygem-github-linguist/Makefile
index 0acb4817243a..ad83c2114bb4 100644
--- a/textproc/rubygem-github-linguist/Makefile
+++ b/textproc/rubygem-github-linguist/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	github-linguist
-PORTVERSION=	7.21.0
-PORTREVISION=	2
+PORTVERSION=	7.22.0
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
diff --git a/textproc/rubygem-github-linguist/distinfo b/textproc/rubygem-github-linguist/distinfo
index 39be9776d607..5b8d6b5735d8 100644
--- a/textproc/rubygem-github-linguist/distinfo
+++ b/textproc/rubygem-github-linguist/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655208470
-SHA256 (rubygem/github-linguist-7.21.0.gem) = 4483e125140536b5a7adbc9e735e6313f9e048d2e0406a3637195f50294dce40
-SIZE (rubygem/github-linguist-7.21.0.gem) = 2761728
+TIMESTAMP = 1657835611
+SHA256 (rubygem/github-linguist-7.22.0.gem) = ffd237c94e0172090e42a392324c8ff2f8d13fcbde7a0ce41cec123e4b42541e
+SIZE (rubygem/github-linguist-7.22.0.gem) = 2776576
diff --git a/textproc/rubygem-github-linguist/files/patch-escape_utils b/textproc/rubygem-github-linguist/files/patch-escape_utils
deleted file mode 100644
index 241522704f34..000000000000
--- a/textproc/rubygem-github-linguist/files/patch-escape_utils
+++ /dev/null
@@ -1,36 +0,0 @@
---- lib/linguist/blob_helper.rb.orig	2022-06-23 13:30:27 UTC
-+++ lib/linguist/blob_helper.rb
-@@ -1,6 +1,6 @@
- require 'linguist/generated'
-+require 'cgi'
- require 'charlock_holmes'
--require 'escape_utils'
- require 'mini_mime'
- require 'yaml'
- 
-@@ -94,7 +94,7 @@ module Linguist
-       elsif name.nil?
-         "attachment"
-       else
--        "attachment; filename=#{EscapeUtils.escape_url(name)}"
-+        "attachment; filename=#{CGI.escape(name)}"
-       end
-     end
- 
---- lib/linguist/language.rb.orig	2022-06-23 13:30:27 UTC
-+++ lib/linguist/language.rb
-@@ -1,4 +1,4 @@
--require 'escape_utils'
-+require 'cgi'
- require 'yaml'
- begin
-   require 'yajl'
-@@ -434,7 +434,7 @@ module Linguist
-     #
-     # Returns the escaped String.
-     def escaped_name
--      EscapeUtils.escape_url(name).gsub('+', '%20')
-+      CGI.escape(name).gsub('+', '%20')
-     end
- 
-     # Public: Get default alias name
diff --git a/textproc/rubygem-github-linguist/files/patch-gemspec b/textproc/rubygem-github-linguist/files/patch-gemspec
deleted file mode 100644
index 26e5a94c55da..000000000000
--- a/textproc/rubygem-github-linguist/files/patch-gemspec
+++ /dev/null
@@ -1,11 +0,0 @@
---- github-linguist.gemspec.orig	2022-06-17 15:51:08 UTC
-+++ github-linguist.gemspec
-@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
- 
-   if s.respond_to? :add_runtime_dependency then
-     s.add_runtime_dependency(%q<charlock_holmes>.freeze, ["~> 0.7.7"])
--    s.add_runtime_dependency(%q<escape_utils>.freeze, ["~> 1.2.0"])
-+    s.add_runtime_dependency(%q<cgi>.freeze, [">= 0"])
-     s.add_runtime_dependency(%q<mini_mime>.freeze, ["~> 1.0"])
-     s.add_runtime_dependency(%q<rugged>.freeze, ["~> 1.0"])
-     s.add_development_dependency(%q<minitest>.freeze, ["~> 5.15"])