git: ce6318e3c53d - main - net/rubygem-orchestrator_client: Add patches forgotten in the last commit

From: Romain Tartière <romain_at_FreeBSD.org>
Date: Thu, 30 Mar 2023 04:41:25 UTC
The branch main has been updated by romain:

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

commit ce6318e3c53d8d78bf738de647f2c34cd19904e0
Author:     Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2023-03-30 04:38:20 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2023-03-30 04:41:04 +0000

    net/rubygem-orchestrator_client: Add patches forgotten in the last commit
    
    I forgot to `git add` these patches before updating the port, breaking
    the port.  Fix and bump PORTREVISION to ensure everyone get the fixed
    version.
    
    Pointy hat to:  me
    With hat:       puppet
---
 net/rubygem-orchestrator_client/Makefile                     |  2 +-
 .../files/patch-lib_orchestrator__client.rb                  | 10 ++++++++++
 .../files/patch-orchestrator__client.gemspec                 | 12 ++++++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/net/rubygem-orchestrator_client/Makefile b/net/rubygem-orchestrator_client/Makefile
index e8a667825fe8..8ff029681941 100644
--- a/net/rubygem-orchestrator_client/Makefile
+++ b/net/rubygem-orchestrator_client/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	orchestrator_client
 PORTVERSION=	0.6.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
diff --git a/net/rubygem-orchestrator_client/files/patch-lib_orchestrator__client.rb b/net/rubygem-orchestrator_client/files/patch-lib_orchestrator__client.rb
new file mode 100644
index 000000000000..f557c5b9a94e
--- /dev/null
+++ b/net/rubygem-orchestrator_client/files/patch-lib_orchestrator__client.rb
@@ -0,0 +1,10 @@
+--- lib/orchestrator_client.rb.orig	2023-03-24 18:18:51 UTC
++++ lib/orchestrator_client.rb
+@@ -3,6 +3,7 @@ require 'uri'
+ require 'json'
+ require 'openssl'
+ require 'faraday'
++require 'faraday/net_http_persistent'
+ 
+ class OrchestratorClient
+   require 'orchestrator_client/error'
diff --git a/net/rubygem-orchestrator_client/files/patch-orchestrator__client.gemspec b/net/rubygem-orchestrator_client/files/patch-orchestrator__client.gemspec
new file mode 100644
index 000000000000..dc25dd609d31
--- /dev/null
+++ b/net/rubygem-orchestrator_client/files/patch-orchestrator__client.gemspec
@@ -0,0 +1,12 @@
+--- orchestrator_client.gemspec.orig	2023-03-24 18:18:51 UTC
++++ orchestrator_client.gemspec
+@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<faraday>.freeze, ["~> 1.4"])
+-  s.add_runtime_dependency(%q<net-http-persistent>.freeze, ["~> 4.0"])
++  s.add_runtime_dependency(%q<faraday>.freeze, ["~> 2.0"])
++  s.add_runtime_dependency(%q<faraday-net_http_persistent>.freeze, ["~> 2.0"])
+ end
+