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
This commit is contained in:
Romain Tartière 2023-03-29 18:38:20 -10:00
parent c905861573
commit ce6318e3c5
No known key found for this signature in database
GPG key ID: BA4D1D955112336F
3 changed files with 23 additions and 1 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= orchestrator_client
PORTVERSION= 0.6.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net rubygems
MASTER_SITES= RG

View file

@ -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'

View file

@ -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