unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62683] [PATCH] gnu: ruby-pg: Update to 1.4.6.
@ 2023-04-05 19:01 Yovan Naumovski via Guix-patches via
  2023-04-08 12:11 ` bug#62683: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Yovan Naumovski via Guix-patches via @ 2023-04-05 19:01 UTC (permalink / raw)
  To: 62683; +Cc: Yovan Naumovski

* gnu/packages/ruby.scm (ruby-pg): Update to 1.4.6.
  [arguments]: remove disable-failing-tests phase, the tests pass without it.
---
 gnu/packages/ruby.scm | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3bf0f0f534..203b5754ff 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7798,7 +7798,7 @@ (define-public ruby-redcloth
 (define-public ruby-pg
   (package
     (name "ruby-pg")
-    (version "1.3.5")
+    (version "1.4.6")
     (home-page "https://github.com/ged/ruby-pg")
     (source
      (origin
@@ -7809,23 +7809,13 @@ (define-public ruby-pg
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0c2k2cibd5wwdhva68j5hhfpybm3wmvn2ym4ppn5mqmddwkjkvnk"))))
+         "0k7jgx7x7p6gbsbrv2l5rq27nff2nphnls1sdq525d82b068qnfm"))))
     (build-system ruby-build-system)
     (arguments
      (list
       #: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")))
@@ -7847,7 +7837,7 @@ (define-public ruby-pg
      (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
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#62683: [PATCH] gnu: ruby-pg: Update to 1.4.6.
  2023-04-05 19:01 [bug#62683] [PATCH] gnu: ruby-pg: Update to 1.4.6 Yovan Naumovski via Guix-patches via
@ 2023-04-08 12:11 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2023-04-08 12:11 UTC (permalink / raw)
  To: Yovan Naumovski via Guix-patches via; +Cc: 62683-done, Yovan Naumovski

Hello,

Yovan Naumovski via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/ruby.scm (ruby-pg): Update to 1.4.6.
>   [arguments]: remove disable-failing-tests phase, the tests pass
>   without it.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-08 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 19:01 [bug#62683] [PATCH] gnu: ruby-pg: Update to 1.4.6 Yovan Naumovski via Guix-patches via
2023-04-08 12:11 ` bug#62683: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).