gnu: ruby-pg: Update to 1.4.6.

* gnu/packages/ruby.scm (ruby-pg): Update to 1.4.6.
[arguments]: Remove DISABLE-FAILING-TESTS phase, the tests pass without it.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Yovan Naumovski 2023-04-05 22:01:41 +03:00 committed by Maxim Cournoyer
parent 6b835914c1
commit 19799efe4f
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -7804,16 +7804,6 @@ (define-public ruby-pg
#:test-target "spec"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests
(lambda _
;; These tests fail because DNS is unavailable, giving an
;; unexpected fallback executable in the connection string.
(substitute* "spec/pg/connection_spec.rb"
(("it (\"accepts an URI and adds( proper)? hostaddr\")" test)
(string-append "xit " test))
(("it \"can create a connection option string from an option\
string and a hash\"" test)
(string-append "xit " test)))))
(add-before 'build 'compile
(lambda _
(invoke "rake" "compile")))
@ -7833,7 +7823,7 @@ (define-public ruby-pg
(inputs (list postgresql))
(synopsis "Ruby interface to PostgreSQL")
(description "Pg is the Ruby interface to the PostgreSQL RDBMS. It works
with PostgreSQL 9.0 and later.")
with PostgreSQL 9.3 and later.")
(license license:ruby)))
(define-public ruby-byebug