unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Yovan Naumovski via Guix-patches via <guix-patches@gnu.org>
To: 62683@debbugs.gnu.org
Cc: Yovan Naumovski <yovan@gorski.stream>
Subject: [bug#62683] [PATCH] gnu: ruby-pg: Update to 1.4.6.
Date: Wed,  5 Apr 2023 22:01:41 +0300	[thread overview]
Message-ID: <20230405190141.16315-1-yovan@gorski.stream> (raw)

* 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





             reply	other threads:[~2023-04-05 19:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05 19:01 Yovan Naumovski via Guix-patches via [this message]
2023-04-08 12:11 ` bug#62683: [PATCH] gnu: ruby-pg: Update to 1.4.6 Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230405190141.16315-1-yovan@gorski.stream \
    --to=guix-patches@gnu.org \
    --cc=62683@debbugs.gnu.org \
    --cc=yovan@gorski.stream \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).