aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-12-10 07:40:47 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-12-10 07:50:16 +1000
commit71596c3ce66ef9269c21d85f815e2f473ab6c7a1 (patch)
tree2856f6eae20fef0776b058be1f45100eb06db220 /gnu/packages
parentf80b4d2ce09b0b7770cbdf2f90704d41b0a168c5 (diff)
downloadguix-71596c3ce66ef9269c21d85f815e2f473ab6c7a1.tar.gz
guix-71596c3ce66ef9269c21d85f815e2f473ab6c7a1.zip
gnu: Adjust gemspec modifications for ruby-2.3.2.
* gnu/packages/ruby.scm (ruby-mocha)[arguments]: Adjust 'substitute*' of gemspec. (ruby-domain-name)[arguments]: Likewise.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 276aa5bba8..eb554c4d2f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1426,8 +1426,8 @@ conversion to (X)HTML.")
(add-before 'check 'use-latest-redcarpet
(lambda _
(substitute* "mocha.gemspec"
- (("<redcarpet>, \\[\"~> 1\"\\]")
- "<redcarpet>, [\">= 3\"]"))
+ (("<redcarpet>.freeze, \\[\"~> 1\"\\]")
+ "<redcarpet>.freeze, [\">= 3\"]"))
#t))
(add-before 'check 'hardcode-version
(lambda _
@@ -3493,7 +3493,7 @@ support to both Ruby and JRuby. It uses @code{unf_ext} on CRuby and
"Bundler::GemHelper.gemspec.version"))
;; Loosen unnecessarily strict test-unit version specification.
(substitute* "domain_name.gemspec"
- (("<test-unit>, \\[\\\"~> 2.5.5") "<test-unit>, [\">0"))
+ (("<test-unit>.freeze, \\[\\\"~> 2.5.5") "<test-unit>, [\">0"))
#t)))))
(propagated-inputs
`(("ruby-unf" ,ruby-unf)))