From patchwork Mon Mar 20 17:29:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 48363 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4EE3816F2D; Mon, 20 Mar 2023 17:31:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 884A516F3D for ; Mon, 20 Mar 2023 17:31:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJLC-0001JE-2P; Mon, 20 Mar 2023 13:30:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peJKk-0000yH-L3 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peJKj-0007O9-13 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJKi-0004kw-EH for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 207/223] gnu: ruby-omniauth: Update to 2.1.1. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:30:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62196 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62196@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 62196-submit@debbugs.gnu.org id=B62196.167933340518237 (code B ref 62196); Mon, 20 Mar 2023 17:30:08 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:30:05 +0000 Received: from localhost ([127.0.0.1]:56373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKf-0004jw-0o for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:30:05 -0400 Received: from mail-qv1-f43.google.com ([209.85.219.43]:42642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKR-0004gG-L2 for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:29:52 -0400 Received: by mail-qv1-f43.google.com with SMTP id x8so8068833qvr.9 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:29:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333386; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LJ3r0SHPkznKSUm0KqjPL8cnZdS01BHbQjq+xEbziTk=; b=OFOJcnLfkoNJ5kl5ny+shTEoGZBIbtHTQLRr/uqXb8QZExSsFjLsWAakl716HU/qvo VBaKgyHqVeRTH8OSTgtl1NBdHKh0rrIghmKQ8NW91nLXuBV1i7MQ/Qwqt5+QwRKeJJjn cN7pXRMokf3qLpLwmr9SsBa2khqKPI5VfL2kUUeIQV0O30ZDU1tULcvtVbH2IU6CgAJk 7mW6tMflAVndZCkf1U+QNxYNVL2PVXNss7inlLSI+7luhWZWu1MFsO5f3XhOQ/HsM1Tl mZ1yhsLvDsG+EgW/us3+Sep423f91BlHR6BIH1S4z9jucByunpLhSVovgpbrqZQM1/74 vTlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333386; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LJ3r0SHPkznKSUm0KqjPL8cnZdS01BHbQjq+xEbziTk=; b=hlODl6qEOyOhmokweTSdMSnjJJk3se8/yaIpH85AL9yVl8JBDFpGHlRY4Mko54Ldkb WlyQPtNpAVOy3iH2I+TlFhFxJmQACyAk5T9sh6s2flxXx2woUVilETvy5vRXDyMm73p4 5UBfKx//7o94JuHvuwEpv/YZPA0xvChV75ak8ZWeIbd9IGOwaeVP5Mhb07HpK3WZ2i4r F8VajLXI9WtF+es7Xo2w3TaoIk+DigRwX6ArXrnjoHB7GjCSz7Dn3r5rONWZxy08wKVw r+EC4c/6M8z70hjxm0XrHStVh/ND6rPeb4qB4rDnNNMcD7g1OrNk7bEoLTnHbjlZgZAb XkKA== X-Gm-Message-State: AO0yUKWqyAeYKVCVNnnfC3kS4VqcZ+SC0ejg5xD2/xcKSKEInuk2hkm9 2a5ogmFFwF8H0+JlphwGkgLAE8MbjkU= X-Google-Smtp-Source: AK7set+Rubj1OzwgAVbM1f+wvRPtiNCyeUQ83fkRBH62RDCu8ckTuUsSqD8wuzdwB+O5xhpxa/yS/Q== X-Received: by 2002:ad4:5d6b:0:b0:5aa:2e30:39e9 with SMTP id fn11-20020ad45d6b000000b005aa2e3039e9mr47431978qvb.32.1679333386081; Mon, 20 Mar 2023 10:29:46 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id g2-20020a37b602000000b0071aacb2c76asm7536708qkf.132.2023.03.20.10.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:29:45 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:29:17 -0400 Message-Id: <20230320172933.13101-6-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320172933.13101-1-maxim.cournoyer@gmail.com> References: <20230320172933.13101-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-omniauth): Update to 2.1.1. [arguments]: New field. [propagated-inputs]: Add ruby-rack-test. --- gnu/packages/ruby.scm | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 117f6fa789..52b540a9d9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2678,18 +2678,32 @@ (define-public ruby-oauth2 (define-public ruby-omniauth (package (name "ruby-omniauth") - (version "2.0.3") - (source - (origin - (method url-fetch) - (uri (rubygems-uri "omniauth" version)) - (sha256 - (base32 "105mzgvmn2kjaacxw01h4wqv33r7hfn5z8fxlkk3jcjar14j71bh")))) + (version "2.1.1") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/omniauth/omniauth") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1mm7a4ll7ymamrbsl63yi6i34qpwmh2nh5a9kj961gja1iz2gyd1")))) (build-system ruby-build-system) - (propagated-inputs - (list ruby-hashie ruby-rack ruby-rack-protection)) - (native-inputs - (list ruby-rspec)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "spec/helper.rb" + ;; This condition is used to require coveralls and + ;; simplecov; override it to avoid these extraneous + ;; requirements. + (("RUBY_VERSION >= '1.9'") + "false") + (("require 'rack/freeze'") ""))))))) + (native-inputs (list ruby-rspec)) + (propagated-inputs (list ruby-hashie ruby-rack ruby-rack-test + ruby-rack-protection)) (synopsis "Generalized Rack framework for multiple-provider authentication") (description "This package provides a generalized Rack framework for multiple-provider