Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 02:59:54 GMT
From:      Romain =?utf-8?Q?Tarti=C3=A8re?= <romain@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fd9b8b1e56e4 - main - sysutils/rubygem-bolt: Add one more patch to fix runtime
Message-ID:  <202410310259.49V2xsqK000849@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by romain:

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

commit fd9b8b1e56e40f55dce3d0e7075ed8d276ac67d5
Author:     Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2024-10-31 02:53:38 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2024-10-31 02:58:24 +0000

    sysutils/rubygem-bolt: Add one more patch to fix runtime
    
    The error was only triggered when running plan, and was not experienced
    when fixing the port a few hours ago.
    
    With hat:       puppet
---
 sysutils/rubygem-bolt/Makefile                    |  2 +-
 sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/sysutils/rubygem-bolt/Makefile b/sysutils/rubygem-bolt/Makefile
index 11dec27ffebd..d1daf8a8bb15 100644
--- a/sysutils/rubygem-bolt/Makefile
+++ b/sysutils/rubygem-bolt/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bolt
 PORTVERSION=	3.30.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils rubygems
 MASTER_SITES=	RG
 
diff --git a/sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb b/sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb
new file mode 100644
index 000000000000..9b6985a0426d
--- /dev/null
+++ b/sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb
@@ -0,0 +1,11 @@
+--- lib/bolt/pal.rb.orig	2024-10-31 02:52:31 UTC
++++ lib/bolt/pal.rb
+@@ -498,7 +498,7 @@ module Bolt
+         require 'puppet-strings'
+         require 'puppet-strings/yard'
+         PuppetStrings::Yard.setup!
+-        YARD::Logger.instance.level = :error
++        YARD::Logger.instance.level = YARD::Logger::Severity::ERROR
+         YARD.parse(pp_path)
+ 
+         plan = YARD::Registry.at("puppet_plans::#{plan_name}")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410310259.49V2xsqK000849>