summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgemmaro <gemmaro.dev@gmail.com>2026-08-24 19:07:51 +0900
committerAndreas Enge <andreas@enge.fr>2026-08-28 16:40:52 +0200
commit32c1f478c48cbef69e5b83779f90769c72b18ba3 (patch)
treea422ee3a4f22249a92d499bc4b3b060c25fb633c
parent0a109c88ae7c4a37a60370f5d997c68574acb9dc (diff)
gnu: ruby-aruba: Update to 2.4.1.
* gnu/packages/ruby-xyz.scm (ruby-aruba): Update to 2.4.1. [arguments]<#:phases>{relax-constraints}: New phase. {relax-requirements}: Remove Bundler and SimpleCov setup. [native-inputs]: Remove ruby-simplecov. [propagated-inputs]: Remove bundler and ruby-childprocess. Add ruby-irb. Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/ruby-xyz.scm23
1 files changed, 15 insertions, 8 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index f2952d68a83..fc005a3ba9c 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -10171,7 +10171,7 @@ during shutdown.")
10171(define-public ruby-aruba 10171(define-public ruby-aruba
10172 (package 10172 (package
10173 (name "ruby-aruba") 10173 (name "ruby-aruba")
10174 (version "2.3.3") 10174 (version "2.4.1")
10175 (source (origin 10175 (source (origin
10176 (method git-fetch) 10176 (method git-fetch)
10177 (uri (git-reference 10177 (uri (git-reference
@@ -10180,7 +10180,7 @@ during shutdown.")
10180 (file-name (git-file-name name version)) 10180 (file-name (git-file-name name version))
10181 (sha256 10181 (sha256
10182 (base32 10182 (base32
10183 "1fg8mddfbcyv6w27bbjcxz1hsjyhk1yw9si7366mghhl1fk2c7dr")))) 10183 "08f1a5am9g03ar80q72qljnb466561hwh0dwqsiqls96d9acxz1a"))))
10184 (build-system ruby-build-system) 10184 (build-system ruby-build-system)
10185 (arguments 10185 (arguments
10186 (list 10186 (list
@@ -10196,6 +10196,11 @@ during shutdown.")
10196 (substitute* "spec/aruba/api/commands_spec.rb" 10196 (substitute* "spec/aruba/api/commands_spec.rb"
10197 (("/bin/bash") 10197 (("/bin/bash")
10198 (which "bash"))))) 10198 (which "bash")))))
10199 (add-after 'extract-gemspec 'relax-constraints
10200 (lambda _
10201 (substitute* "aruba.gemspec"
10202 (("(spec\\.add_dependency 'irb').*" _ dep)
10203 (string-append dep "\n")))))
10199 (add-before 'check 'relax-requirements 10204 (add-before 'check 'relax-requirements
10200 ;; Many development requirements are not actually needed. 10205 ;; Many development requirements are not actually needed.
10201 (lambda _ 10206 (lambda _
@@ -10205,8 +10210,12 @@ during shutdown.")
10205 ((".*kramdown.*") "") 10210 ((".*kramdown.*") "")
10206 ((".*rubocop.*") "")) 10211 ((".*rubocop.*") ""))
10207 (substitute* "Rakefile" 10212 (substitute* "Rakefile"
10213 (("Bundler\\.setup") "")
10208 ((".*require.*rubocop/rake_task.*") "") 10214 ((".*require.*rubocop/rake_task.*") "")
10209 ((".*RuboCop::RakeTask.new.*") "")))) 10215 ((".*RuboCop::RakeTask.new.*") ""))
10216 (substitute* "spec/spec_helper.rb"
10217 (("require 'simplecov'") "")
10218 (("SimpleCov.*") ""))))
10210 ;; The tests rely on the Gem being installed, so move the check 10219 ;; The tests rely on the Gem being installed, so move the check
10211 ;; phase after the install phase. 10220 ;; phase after the install phase.
10212 (delete 'check) 10221 (delete 'check)
@@ -10222,13 +10231,11 @@ during shutdown.")
10222 (setenv "HOME" "/tmp")))))) 10231 (setenv "HOME" "/tmp"))))))
10223 (native-inputs 10232 (native-inputs
10224 (list ruby-rake-manifest 10233 (list ruby-rake-manifest
10225 ruby-rspec 10234 ruby-rspec))
10226 ruby-simplecov))
10227 (propagated-inputs 10235 (propagated-inputs
10228 (list bundler 10236 (list ruby-contracts
10229 ruby-childprocess
10230 ruby-contracts
10231 ruby-cucumber 10237 ruby-cucumber
10238 ruby-irb
10232 ruby-rspec-expectations 10239 ruby-rspec-expectations
10233 ruby-thor)) 10240 ruby-thor))
10234 (synopsis "Test command-line applications with Cucumber, RSpec or Minitest") 10241 (synopsis "Test command-line applications with Cucumber, RSpec or Minitest")