Subject: [bug#78826] [PATCH 11/88] gnu: ruby-hoe-markdown: Update to 1.7.0.

From: Nicolas Graves <[email-masked]>
Date: Wed, 18 Jun 2025 16:26:58 +0200

* gnu/packages/ruby-xyz.scm (ruby-hoe-markdown): Update to 1.7.0.
  [arguments]{phases}: Adapt phase 'disable-bundler-dependency.
---
 gnu/packages/ruby-xyz.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 8eb5578f2d..05fe946208 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -11677,7 +11677,7 @@ (define-public ruby-hoe-git
 (define-public ruby-hoe-markdown
   (package
     (name "ruby-hoe-markdown")
-    (version "1.4.0")
+    (version "1.7.0")
     (home-page "https://github.com/flavorjones/hoe-markdown")
     (source
      (origin
@@ -11687,18 +11687,21 @@ (define-public ruby-hoe-markdown
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0wb0yjdx9gx9r0cahpx42pblvglgh1i9pdfxjavq7f40nan2g076"))))
+        (base32 "1hkligky33b3rgcsx5qzvackgw6ghln4yp0lpw9wxy0lp14n0vr9"))))
     (build-system ruby-build-system)
     (arguments
      (list
       #:test-target "spec"
       #:phases
       #~(modify-phases %standard-phases
-          (add-before 'check 'disable-bundler-dependency
+          (add-after 'unpack 'disable-bundler-dependency
             (lambda _
               (substitute* "spec/spec_helper.rb"
                 (("require.*bundler/setup.*")
-                 "")))))))
+                 ""))
+              (substitute* "lib/hoe/markdown/standalone.rb"
+                (("Bundler\\.load_gemspec")
+                 "Gem::Specification.load")))))))
     (native-inputs (list ruby-rspec))
     (propagated-inputs (list ruby-rake))
     (synopsis "Hoe plugin with Markdown helpers")
-- 
2.49.0