git: a797e4a8a0e0 - main - devel/rubygem-pdk: Update to 2.7.0

From: Romain Tartière <romain_at_FreeBSD.org>
Date: Fri, 24 Mar 2023 22:24:48 UTC
The branch main has been updated by romain:

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

commit a797e4a8a0e044c6cc813982e486216b626a54bf
Author:     Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2023-03-24 21:13:28 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2023-03-24 22:24:15 +0000

    devel/rubygem-pdk: Update to 2.7.0
    
    ChangeLog:
    https://github.com/puppetlabs/pdk/blob/main/CHANGELOG.md#v270---2023-03-14
    
    With hat:       puppet
---
 devel/rubygem-pdk/Makefile                         |  2 +-
 devel/rubygem-pdk/distinfo                         |  6 +++---
 .../files/patch-lib_pdk_cli_exec_command.rb        |  4 ++--
 devel/rubygem-pdk/files/patch-pdk.gemspec          | 25 +++++++---------------
 4 files changed, 14 insertions(+), 23 deletions(-)

diff --git a/devel/rubygem-pdk/Makefile b/devel/rubygem-pdk/Makefile
index c3c7a35a90fc..e44b1c8fb329 100644
--- a/devel/rubygem-pdk/Makefile
+++ b/devel/rubygem-pdk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pdk
-PORTVERSION=	2.6.1
+PORTVERSION=	2.7.0
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
diff --git a/devel/rubygem-pdk/distinfo b/devel/rubygem-pdk/distinfo
index a223e3a639f6..5aec9afd7278 100644
--- a/devel/rubygem-pdk/distinfo
+++ b/devel/rubygem-pdk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677537712
-SHA256 (rubygem/pdk-2.6.1.gem) = 91ce586948c9f5f7876501ac25711557eb1dbd0ec438a8e715d79cca450afa38
-SIZE (rubygem/pdk-2.6.1.gem) = 150528
+TIMESTAMP = 1679272437
+SHA256 (rubygem/pdk-2.7.0.gem) = a0a5e29efd9eaf76a23d2a2076df10d1837a763c9fc6bc2e32edaed509355f13
+SIZE (rubygem/pdk-2.7.0.gem) = 137216
diff --git a/devel/rubygem-pdk/files/patch-lib_pdk_cli_exec_command.rb b/devel/rubygem-pdk/files/patch-lib_pdk_cli_exec_command.rb
index 752848908f62..1a81102aa9c0 100644
--- a/devel/rubygem-pdk/files/patch-lib_pdk_cli_exec_command.rb
+++ b/devel/rubygem-pdk/files/patch-lib_pdk_cli_exec_command.rb
@@ -1,6 +1,6 @@
---- lib/pdk/cli/exec/command.rb.orig	2022-06-29 04:55:12 UTC
+--- lib/pdk/cli/exec/command.rb.orig	2023-03-24 21:05:48 UTC
 +++ lib/pdk/cli/exec/command.rb
-@@ -187,7 +187,7 @@ module PDK
+@@ -185,7 +185,7 @@ module PDK
  
              resolved_env['GEM_HOME'] = PDK::Util::RubyVersion.gem_home
              gem_path = PDK::Util::RubyVersion.gem_path
diff --git a/devel/rubygem-pdk/files/patch-pdk.gemspec b/devel/rubygem-pdk/files/patch-pdk.gemspec
index 2dd858933d75..60da039c7657 100644
--- a/devel/rubygem-pdk/files/patch-pdk.gemspec
+++ b/devel/rubygem-pdk/files/patch-pdk.gemspec
@@ -1,24 +1,15 @@
---- pdk.gemspec.orig	2023-01-05 19:52:41 UTC
+--- pdk.gemspec.orig	2023-03-24 21:05:49 UTC
 +++ pdk.gemspec
-@@ -22,16 +22,16 @@ Gem::Specification.new do |s|
-   s.specification_version = 4
- 
-   s.add_runtime_dependency(%q<bundler>.freeze, [">= 1.15.0", "< 3.0.0"])
--  s.add_runtime_dependency(%q<childprocess>.freeze, ["~> 4.0.0"])
-+  s.add_runtime_dependency(%q<childprocess>.freeze, [">= 4.0.0"])
-   s.add_runtime_dependency(%q<cri>.freeze, ["~> 2.10"])
--  s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.4.4", "< 1.5"])
-+  s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.4.4"])
-   s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.9.25", "< 2.0.0"])
-   s.add_runtime_dependency(%q<gettext-setup>.freeze, ["~> 0.24"])
+@@ -27,10 +27,10 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.5.0"])
+   s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.15.5", "< 2.0.0"])
    s.add_runtime_dependency(%q<hitimes>.freeze, ["= 2.0.0"])
 -  s.add_runtime_dependency(%q<json-schema>.freeze, ["= 2.8.0"])
--  s.add_runtime_dependency(%q<json_pure>.freeze, ["~> 2.5.1"])
 +  s.add_runtime_dependency(%q<json-schema>.freeze, [">= 2.8.0"])
-+  s.add_runtime_dependency(%q<json_pure>.freeze, [">= 2.5.1"])
+   s.add_runtime_dependency(%q<json_pure>.freeze, ["~> 2.6.2"])
    s.add_runtime_dependency(%q<minitar>.freeze, ["~> 0.6"])
 -  s.add_runtime_dependency(%q<pathspec>.freeze, ["~> 0.2.1"])
 +  s.add_runtime_dependency(%q<pathspec>.freeze, [">= 0.2.1"])
-   s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.22"])
-   s.add_runtime_dependency(%q<tty-spinner>.freeze, ["~> 0.5"])
-   s.add_runtime_dependency(%q<tty-which>.freeze, ["~> 0.3"])
+   s.add_runtime_dependency(%q<tty-prompt>.freeze, ["~> 0.23"])
+   s.add_runtime_dependency(%q<tty-spinner>.freeze, ["~> 0.9"])
+   s.add_runtime_dependency(%q<tty-which>.freeze, ["~> 0.5"])