diff --git a/textproc/rubygem-github-linguist/Makefile b/textproc/rubygem-github-linguist/Makefile index 0acb4817243a5..ad83c2114bb47 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 39be9776d607d..5b8d6b5735d8b 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 241522704f34d..0000000000000 --- 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 26e5a94c55da8..0000000000000 --- 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.freeze, ["~> 0.7.7"]) -- s.add_runtime_dependency(%q.freeze, ["~> 1.2.0"]) -+ s.add_runtime_dependency(%q.freeze, [">= 0"]) - s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) - s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) - s.add_development_dependency(%q.freeze, ["~> 5.15"])