git: f328431ade0c - main - devel/rubygem-ruby_dep: Fix build with Ruby 3.x

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 29 Mar 2022 07:30:03 UTC
The branch main has been updated by yasu:

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

commit f328431ade0cca74b26b8d115dad34f50745eaaf
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-10 10:01:37 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-29 07:29:14 +0000

    devel/rubygem-ruby_dep: Fix build with Ruby 3.x
    
    PR:             262529
    Approved by:    maintainer timeout
---
 devel/rubygem-ruby_dep/files/patch-ruby__dep.gemspec | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/rubygem-ruby_dep/files/patch-ruby__dep.gemspec b/devel/rubygem-ruby_dep/files/patch-ruby__dep.gemspec
new file mode 100644
index 000000000000..6c6b2ac54eef
--- /dev/null
+++ b/devel/rubygem-ruby_dep/files/patch-ruby__dep.gemspec
@@ -0,0 +1,11 @@
+--- ruby_dep.gemspec.orig	2022-03-10 09:26:07 UTC
++++ ruby_dep.gemspec
+@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
+   s.files = [".gitignore".freeze, ".rspec".freeze, ".rubocop.yml".freeze, ".travis.yml".freeze, "LICENSE.txt".freeze, "README.md".freeze, "lib/ruby_dep.rb".freeze, "lib/ruby_dep/logger.rb".freeze, "lib/ruby_dep/quiet.rb".freeze, "lib/ruby_dep/ruby_version.rb".freeze, "lib/ruby_dep/travis.rb".freeze, "lib/ruby_dep/travis/ruby_version.rb".freeze, "lib/ruby_dep/version.rb".freeze, "lib/ruby_dep/warning.rb".freeze]
+   s.homepage = "https://github.com/e2/ruby_dep".freeze
+   s.licenses = ["MIT".freeze]
+-  s.required_ruby_version = Gem::Requirement.new(["~> 2.2".freeze, ">= 2.2.5".freeze])
++  s.required_ruby_version = Gem::Requirement.new([">= 2.2".freeze, ">= 2.2.5".freeze])
+   s.rubygems_version = "3.3.7".freeze
+   s.summary = "Extracts supported Ruby versions from Travis file".freeze
+