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>master
parent
c47694f116
commit
dadb11c85d
|
@ -7798,7 +7798,7 @@ alternative to Marshal for Object serialization.")
|
||||||
(define-public ruby-pg
|
(define-public ruby-pg
|
||||||
(package
|
(package
|
||||||
(name "ruby-pg")
|
(name "ruby-pg")
|
||||||
(version "1.3.5")
|
(version "1.4.6")
|
||||||
(home-page "https://github.com/ged/ruby-pg")
|
(home-page "https://github.com/ged/ruby-pg")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -7809,23 +7809,13 @@ alternative to Marshal for Object serialization.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0c2k2cibd5wwdhva68j5hhfpybm3wmvn2ym4ppn5mqmddwkjkvnk"))))
|
"0k7jgx7x7p6gbsbrv2l5rq27nff2nphnls1sdq525d82b068qnfm"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-target "spec"
|
#:test-target "spec"
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-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
|
(add-before 'build 'compile
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "rake" "compile")))
|
(invoke "rake" "compile")))
|
||||||
|
@ -7847,7 +7837,7 @@ alternative to Marshal for Object serialization.")
|
||||||
(list postgresql))
|
(list postgresql))
|
||||||
(synopsis "Ruby interface to PostgreSQL")
|
(synopsis "Ruby interface to PostgreSQL")
|
||||||
(description "Pg is the Ruby interface to the PostgreSQL RDBMS. It works
|
(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)))
|
(license license:ruby)))
|
||||||
|
|
||||||
(define-public ruby-byebug
|
(define-public ruby-byebug
|
||||||
|
|
Reference in New Issue