From 71596c3ce66ef9269c21d85f815e2f473ab6c7a1 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Sat, 10 Dec 2016 07:40:47 +1000 Subject: [PATCH] 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. --- gnu/packages/ruby.scm | 6 +++--- 1 file 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" - ((", \\[\"~> 1\"\\]") - ", [\">= 3\"]")) + ((".freeze, \\[\"~> 1\"\\]") + ".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" - ((", \\[\\\"~> 2.5.5") ", [\">0")) + ((".freeze, \\[\\\"~> 2.5.5") ", [\">0")) #t))))) (propagated-inputs `(("ruby-unf" ,ruby-unf)))