From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kCuKN66XGGQQbgEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 18:28:14 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8J6JN66XGGQyOwAAauVa8A (envelope-from ) for ; Mon, 20 Mar 2023 18:28:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id B7122367A8 for ; Mon, 20 Mar 2023 18:28:14 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VdV64uRc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679333294; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5sFWfk9LIQaUKGWBguJdN5AlMpIdeh3pTtT9IwWE6sE=; b=I9gzTFnPnZw5pRzHpboy0UemNriQQyRT4AEpkOWz6B6XFh6NVEB3CFkVijmEmcz4iXLyYB cRSX1FRSLru+fwhA8i0dieuvcs0fI7Sm6ok7Y878NYt8BswN0zN0N8EkrKg1BsekJ6fYlN DGoxqYHLmYDZUq+gQbRec9WYocjsZIxUQ3WSeuD1L5yH3PoWOEbuozvIm7Fj92e8S7ZqFJ ZPm0bibmnZSfN31fmwxTEmurEqKoi/WXvsEvMlJ9+T2OwUKtt1OOftCA46O/maGNIMabeT rJoXFF2eWEo4bfUGg7rneoJ/O5zbAnWBAQZyu5SzNbQORtMSB4NdmDNDOh2Y+w== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VdV64uRc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679333294; a=rsa-sha256; cv=none; b=hdxEZCzMediI5FDxUjnuk2NPoGKZ4oocaK8QDvUKuPn7ImmA2hC2gHB9lsis/bRLUjcyoU +CXPGpzOHAtkK/9z0vQaanh6mZmJkM0mXWSFCP/hm1F52HicW2bx/eaG9qIfH34gSfZnqi +RhLspQwvCkuvXaRMJ+rQVKsDaBE/HsDPll8CgxfioWgFLPBBZXXunI6hHzH+TDdFScAsU w920QqTPOn606sIxou5XzDTalKWZk6iqvmg1mZIyd0IeZSNM8nAly/fFvv15N/fItLT+oz Mh0mljIbAWg+OsO/xQqLgpIuDcO1k1vqLxVMGbMotTo8EA32D1/CU+oBfBHznA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJHS-0004rv-Su; Mon, 20 Mar 2023 13:26:46 -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 1peJHM-0004lY-DL for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:40 -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 1peJHM-0005al-4d for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJHM-00048B-0Z for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:40 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 198/223] gnu: Add ruby-rspec-stubbed-env. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:26:39 +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.167933317115352 (code B ref 62196); Mon, 20 Mar 2023 17:26:39 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:26:11 +0000 Received: from localhost ([127.0.0.1]:56249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJGs-0003zM-UH for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:26:11 -0400 Received: from mail-qv1-f42.google.com ([209.85.219.42]:35439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJGE-0003o3-8C for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:25:30 -0400 Received: by mail-qv1-f42.google.com with SMTP id t13so8081724qvn.2 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333124; 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=5sFWfk9LIQaUKGWBguJdN5AlMpIdeh3pTtT9IwWE6sE=; b=VdV64uRcIYhr4HiIaw/ewogVjrM2W82WvhuIxz51sh7SvRhvbWWgv4pIPHsiRiPjCp jUEKiCqbUdo47JZCx4hotfHbFw9+ZCZoGH/zanbz/fCUwozRez7ayRMcliHEbycBAeO9 3JXWhMfZuqNxV/itb2PtG1TnZ0s/3qeRsINbnZcAdQ9fjtUhNrET1NFrk3W8/xUdRT8x YWlqndpkH+4UZ2pHXeN4QwysjG3j4nxTpCo6k92PLv0L9HObl5AH9fa52IxhsZwchhgU rlrEz9E/Oj7e7ryHvogrzvFSJSBx8EAkfJmKvqmVatPeFgZo8XrKeC5AbPA4aborAsHe cpSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333124; 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=5sFWfk9LIQaUKGWBguJdN5AlMpIdeh3pTtT9IwWE6sE=; b=UXg52QTlHZKvaDTgsVbboGOqeuRX+Br1Aamw2eGQC3dY4GnHXlQhSDpAxk7AeoMIA1 SKyZaAS5pKOXw9mqsjSGTcC62n7alYZmSyPjbbOCP8ERpYfucAtcwbf2UqzcwwuGF8r0 Zu768X7co9Qnkwfg3mXHtMadoZrsSXdFid/N9NOa/lavNxgCA/hh9muhR/qipgDVpWPf ydJ8GZZ5Hkp8rdWZXOwA6RWCPXmR90Y0QVvrAuWlLj/DINOoW+T6akJBB8tfu9FiujNx FpNS7ejWyevSIt5adZ5sf5YFrskpHc1qU9zg6SIowd09oKLQocFialDUTuBm+e5JUltV rHaw== X-Gm-Message-State: AO0yUKXMlLcl2iu17Bj2i0hi9tvhC1jbjx7eiTKlm7/QcBm8SE6Yz5TM pWiteqgWudGVlBplYuL83M7XrM9BpDs= X-Google-Smtp-Source: AK7set+/x9MBthV82wDKtukZYJNw5wts2UCa2ah+TdWfoAuMu+sjpA986zrHL4QO8ekP2d2fEJeykw== X-Received: by 2002:a05:6214:27e8:b0:56e:a96b:a3a1 with SMTP id jt8-20020a05621427e800b0056ea96ba3a1mr55089017qvb.7.1679333123998; Mon, 20 Mar 2023 10:25:23 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id i7-20020a378607000000b007422eee8058sm7769352qkd.125.2023.03.20.10.25.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:25:23 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:23:24 -0400 Message-Id: <20230320172349.12752-97-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320172349.12752-1-maxim.cournoyer@gmail.com> References: <20230320172349.12752-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: X-Migadu-Queue-Id: B7122367A8 X-Spam-Score: -2.16 X-Migadu-Spam-Score: -2.16 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: pyacIMxHNvLT * gnu/packages/ruby.scm (ruby-rspec-stubbed-env): New variable. --- gnu/packages/ruby.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f19c02811f..79221b1bab 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -952,6 +952,42 @@ (define-public ruby-rspec-rerun (home-page "https://github.com/dblock/rspec-rerun") (license license:expat))) +(define-public ruby-rspec-stubbed-env + ;; There is no release nor tag (see: + ;; https://github.com/pboling/rspec-stubbed_env/issues/7). + (let ((revision "0") + (commit "9d767dec77a6d130f6ad83c48a00a5c81b14b9fa")) + (package + (name "ruby-rspec-stubbed-env") + (version (git-version "1.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pboling/rspec-stubbed_env") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dy4m04h613dp0s59rknjd6h4lqs1h17mffc5kd8kh046mk8nr1p")))) + (build-system ruby-build-system) + (arguments + (list #:test-target "spec" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'streamline-requirements + (lambda _ + ;; Remove extraneous development dependencies. + (substitute* "rspec-stubbed_env.gemspec" + ((".*bundler.*") "") + ((".*rubocop.*") ""))))))) + (native-inputs (list ruby-simplecov)) + (propagated-inputs (list ruby-rspec)) + (synopsis "RSpec plugin to stub environment variables") + (description + "This RSpec plugin can be used to stub environment variables in a scoped +context for testing.") + (home-page "https://github.com/pboling/rspec-stubbed_env") + (license license:expat)))) + (define-public ruby-rspec-wait (package (name "ruby-rspec-wait") -- 2.39.1