git: 0b3707836276 - main - devel/rubygem-jenkins_api_client: Fix build with Ruby 3.x

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

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

commit 0b3707836276b320d724caa1e6258e1b7b3daef1
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-10 09:19:33 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-29 07:29:14 +0000

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

diff --git a/devel/rubygem-jenkins_api_client/files/patch-jenkins__api__client.gemspec b/devel/rubygem-jenkins_api_client/files/patch-jenkins__api__client.gemspec
new file mode 100644
index 000000000000..709a64535ec1
--- /dev/null
+++ b/devel/rubygem-jenkins_api_client/files/patch-jenkins__api__client.gemspec
@@ -0,0 +1,11 @@
+--- jenkins_api_client.gemspec.orig	2022-03-10 09:12:17 UTC
++++ jenkins_api_client.gemspec
+@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
+   s.executables = ["jenkinscli".freeze]
+   s.files = ["bin/jenkinscli".freeze, "java_deps/jenkins-cli.jar".freeze, "jenkins_api_client.gemspec".freeze, "lib/jenkins_api_client.rb".freeze, "lib/jenkins_api_client/build_queue.rb".freeze, "lib/jenkins_api_client/cli/base.rb".freeze, "lib/jenkins_api_client/cli/helper.rb".freeze, "lib/jenkins_api_client/cli/job.rb".freeze, "lib/jenkins_api_client/cli/node.rb".freeze, "lib/jenkins_api_client/cli/system.rb".freeze, "lib/jenkins_api_client/client.rb".freeze, "lib/jenkins_api_client/exceptions.rb".freeze, "lib/jenkins_api_client/job.rb".freeze, "lib/jenkins_api_client/node.rb".freeze, "lib/jenkins_api_client/plugin_manager.rb".freeze, "lib/jenkins_api_client/plugin_settings/base.rb".freeze, "lib/jenkins_api_client/plugin_settings/collection.rb".freeze, "lib/jenkins_api_client/plugin_settings/hipchat.rb".freeze, "lib/jenkins_api_client/plugin_settings/workspace_cleanup.rb".freeze, "lib/jenkins_api_client/system.rb".freeze, "lib/jenkins_api_client/urihelper.rb".freeze, "lib/jenkins
 _api_client/user.rb".freeze, "lib/jenkins_api_client/version.rb".freeze, "lib/jenkins_api_client/view.rb".freeze]
+   s.homepage = "https://github.com/arangamani/jenkins_api_client".freeze
+-  s.required_ruby_version = Gem::Requirement.new("~> 2.1".freeze)
++  s.required_ruby_version = Gem::Requirement.new(">= 2.1".freeze)
+   s.rubygems_version = "3.3.7".freeze
+   s.summary = "Jenkins JSON API Client".freeze
+