gnu: ruby-hoe-markdown: Update to 1.7.0.

* gnu/packages/ruby-xyz.scm (ruby-hoe-markdown): Update to 1.7.0.
  [arguments]{phases}: Adapt phase 'disable-bundler-dependency.
This commit is contained in:
Nicolas Graves 2025-06-18 16:26:58 +02:00 committed by Andreas Enge
parent e97db82012
commit 8d433d92f6
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -11693,7 +11693,7 @@ generation.")
(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
@ -11703,18 +11703,21 @@ generation.")
(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")