gnu: ruby-version-gem: Update to 1.1.8.

* gnu/packages/ruby-xyz.scm (ruby-version-gem): Update to 1.1.8.
  [arguments]{phases}: Delete phase 'relax-requirements, as the
  package now builds fine without.
This commit is contained in:
Nicolas Graves 2025-06-18 16:27:53 +02:00 committed by Andreas Enge
parent 2642a85802
commit 47274894ac
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -9247,7 +9247,7 @@ variable length integers (varint) in Ruby Protocol Buffers.")
(define-public ruby-version-gem (define-public ruby-version-gem
(package (package
(name "ruby-version-gem") (name "ruby-version-gem")
(version "1.1.3") (version "1.1.8")
(source (origin (source (origin
(method git-fetch) ;for tests (method git-fetch) ;for tests
(uri (git-reference (uri (git-reference
@ -9256,26 +9256,12 @@ variable length integers (varint) in Ruby Protocol Buffers.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1wazx2jr9vx5wm48fy8bccvfwhg7y2s8shfw9q81dhb4yvwk6gbf")))) "1cspiyvixb6q0zyvis5jaa1q35g69jh32m83r8br8hi1yr95fiql"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
(list (list
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "Gemfile"
(("^linting = .*")
"linting = false\n")
(("^coverage = .*")
"coverage = false\n")
(("^debug = .*")
"debug = false\n"))
(substitute* "spec/spec_helper.rb"
(("^RUN_COVERAGE = .*")
"RUN_COVERAGE = false\n")
(("^ALL_FORMATTERS = .*")
"ALL_FORMATTERS = false\n"))))
(add-before 'build 'drop-signing-key-requirement (add-before 'build 'drop-signing-key-requirement
(lambda _ (lambda _
(substitute* "version_gem.gemspec" (substitute* "version_gem.gemspec"