summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-02-23 15:08:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-02-23 16:04:26 +0200
commit8bb7ebc3d8c0b5a5980bf18421a2e981ca25fa27 (patch)
tree17aec478235dd3679f871db1be3771e05fc894c8 /gnu
parentab4b6ae6afb69dd142641225626512691abd9c88 (diff)
gnu: ruby-loofah: Update to 2.3.1.
* gnu/packages/ruby.scm (ruby-loofah): Update to 2.3.1. [arguments]: Adjust custom 'remove-unnecessary-dependencies phase for upstream changes.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm10
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9d394eef29..df8d097444 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6335,14 +6335,14 @@ you about the changes.")
(define-public ruby-loofah
(package
(name "ruby-loofah")
- (version "2.2.3")
+ (version "2.3.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "loofah" version))
(sha256
(base32
- "1ccsid33xjajd0im2xv941aywi58z7ihwkvaf1w2bv89vn5bhsjg"))))
+ "0npqav026zd7r4qdidq9x5nxcp2dzg71bnp421xxx7sngbxf2xbd"))))
(build-system ruby-build-system)
(arguments
'(#:phases
@@ -6351,11 +6351,9 @@ you about the changes.")
(lambda _
;; concourse is a development tool which is unused, so remove it
;; so it's not required.
- (substitute* "Gemfile"
- ((".*\"concourse\".*") "\n"))
(substitute* "Rakefile"
- (("require 'concourse'") "")
- (("Concourse\\.new.*") "\n"))
+ (("require \"concourse\"") "")
+ (("Concourse\\.new.*") "task :concourse do\n"))
#t)))))
(native-inputs
`(("ruby-hoe" ,ruby-hoe)