[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/66: gnu: ruby-addressable: Enable tests and update.
From: |
guix-commits |
Subject: |
33/66: gnu: ruby-addressable: Enable tests and update. |
Date: |
Thu, 14 Feb 2019 16:38:36 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 0a794b3075490dd61e34027af4d8d78b3db13b1f
Author: Christopher Baines <address@hidden>
Date: Sun Jan 27 19:44:26 2019 +0000
gnu: ruby-addressable: Enable tests and update.
* gnu/packages/ruby.scm (ruby-addressable): Update to 2.6.0.
[arguments]: Enable running the tests.
[native-inputs]: Add inputs required for running the tests.
---
gnu/packages/ruby.scm | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d01297c..030e720 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6239,19 +6239,40 @@ all known public suffixes.")
(define-public ruby-addressable
(package
(name "ruby-addressable")
- (version "2.5.2")
+ (version "2.6.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "addressable" version))
(sha256
(base32
- "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk"))))
+ "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l"))))
(build-system ruby-build-system)
+ (arguments
+ '(#:test-target "spec"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-unnecessary-dependencies-from-Gemfile
+ (lambda _
+ (substitute* "Gemfile"
+ (("git: 'https://github.com/sporkmonger/rack-mount.git',") "")
+ ((".*launchy.*") "")
+ ((".*rake.*") "gem 'rake'\n")
+ ((".*redcarpet.*") ""))
+ #t))
+ (add-before 'check 'delete-network-dependent-test
+ (lambda _
+ (delete-file "spec/addressable/net_http_compat_spec.rb")
+ #t)))))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)
+ ("bundler" ,bundler)
+ ("ruby-idn-ruby" ,ruby-idn-ruby)
+ ("ruby-sporkmonger-rack-mount" ,ruby-sporkmonger-rack-mount)
+ ("ruby-rspec-its", ruby-rspec-its)
+ ("ruby-yard" ,ruby-yard)
+ ("ruby-simplecov" ,ruby-simplecov)))
(propagated-inputs
`(("ruby-public-suffix" ,ruby-public-suffix)))
- (arguments
- ;; No test target
- `(#:tests? #f))
(home-page "https://github.com/sporkmonger/addressable")
(synopsis "Alternative URI implementation")
(description "Addressable is a replacement for the URI implementation that
- 07/66: gnu: Add ruby-mspec., (continued)
- 07/66: gnu: Add ruby-mspec., guix-commits, 2019/02/14
- 05/66: gnu: Add ruby-fuubar., guix-commits, 2019/02/14
- 14/66: gnu: Add ruby-powerpack., guix-commits, 2019/02/14
- 13/66: gnu: ruby-rspec-its: Enable tests., guix-commits, 2019/02/14
- 10/66: gnu: ruby-cucumber-core: Update to 3.2.1., guix-commits, 2019/02/14
- 09/66: gnu: Add ruby-cucumber-tag-expressions., guix-commits, 2019/02/14
- 11/66: gnu: ruby-gherkin: Update to 5.1.0., guix-commits, 2019/02/14
- 12/66: gnu: Add ruby-cucumber and ruby-aruba., guix-commits, 2019/02/14
- 20/66: gnu: Add ruby-rest-client., guix-commits, 2019/02/14
- 22/66: gnu: Add ruby-ast., guix-commits, 2019/02/14
- 33/66: gnu: ruby-addressable: Enable tests and update.,
guix-commits <=
- 18/66: gnu: Add ruby-crack., guix-commits, 2019/02/14
- 17/66: gnu: Add ruby-hashdiff., guix-commits, 2019/02/14
- 31/66: gnu: ruby-public-suffix: Enable tests., guix-commits, 2019/02/14
- 32/66: gnu: Add ruby-idn-ruby., guix-commits, 2019/02/14
- 24/66: gnu: Add ruby-parser., guix-commits, 2019/02/14
- 16/66: gnu: Add ruby-racc., guix-commits, 2019/02/14
- 21/66: gnu: Add ruby-bacon-colored-output., guix-commits, 2019/02/14
- 23/66: gnu: Add ruby-cliver., guix-commits, 2019/02/14
- 19/66: gnu: Add ruby-webmock., guix-commits, 2019/02/14
- 29/66: gnu: ruby-minitest: Update to 5.11.3., guix-commits, 2019/02/14