From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 8CKMM5yjGGSl/QAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:19:08 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6IidMpyjGGTbXgAAG6o9tA (envelope-from ) for ; Mon, 20 Mar 2023 19:19:08 +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 9BFF037038 for ; Mon, 20 Mar 2023 19:19:08 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hFATfRgP; 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=1679336348; 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=yiObqQupXwCq2Fckj+ojCX2n1CcIk3QlUay0u5ibMzI=; b=AAXrWbm0m2d5LSBoo+Os1MV95WJRvx4etfpfxZpLiyXm5q8KrEx5bUjDxi+lnY7vSk8j/x vGJeGXpZSdirW1HtUO9RncVGKO2yQmiNtBuXSm5q4Wc5U7b+6GvKrujqsCNrQmDbU2k1US kfcpyJLkse2j9Wb1QRFt0/x1XgNnFZugjab4y3omWaprhhxmnFos6E3kZhGM6w1gsnELhC Cg5NcZpxQrPHt6i6P4YI5deUAH20tihK0UDt/DeqvRcsKacg0dzXrGLAxP5LuVjMHrwosQ olUuPULv0F5xF3NpP8h+fND/0nmvm+9QcjpQNgOVUpP3jVAhjugHTyIa492pJA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hFATfRgP; 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=1679336348; a=rsa-sha256; cv=none; b=G+t5jL2WT1VBNP90lI95hEXPRmAZL8Md7jlLKvYu5EjdgGgDlR2/aJ+g1X8CzLIrIBhNRO JSZctoees3VtW1hyCUg3yK5v0Ued8hvV4FyBe5LFf52O339C7zeEQFZZvFQz6KLxpf+MYq PWXxdwSCRm2C43CLrntVh9IgL8I9qLbbjZqMEO1+lATB9ZTz6cCu+kot5nKrni3riQ6b2Q mErFGH6LJOWpAGai0FZIIpIk0jVRBGDZfvczub6baJx5aPi7CXEtT2yE+o6+Vt+I9FYTqR 5cRlK87z+TjlelAoAFbMSlWkKcuZTO7D0xTKlUCnlOgkYG33CzTtuyB0aX6HfA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJLC-0001JY-4z; 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 1peJKg-0000uW-23 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:08 -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 1peJKd-0007CW-GR for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJKd-0004jW-Bq for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 202/223] gnu: Add ruby-rspec-block-is-expected. References: <20230315025946.14371-1-maxim.cournoyer@gmail.com> In-Reply-To: <20230315025946.14371-1-maxim.cournoyer@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:30:03 +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.167933338618000 (code B ref 62196); Mon, 20 Mar 2023 17:30:03 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:29:46 +0000 Received: from localhost ([127.0.0.1]:56338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKM-0004gF-9i for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:29:46 -0400 Received: from mail-qv1-f48.google.com ([209.85.219.48]:45924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKK-0004fv-Pa for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:29:45 -0400 Received: by mail-qv1-f48.google.com with SMTP id m16so698707qvi.12 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333378; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yiObqQupXwCq2Fckj+ojCX2n1CcIk3QlUay0u5ibMzI=; b=hFATfRgPzhOEXqTzOwgZBH8zH7v+VPACXWW2z6Co9pfOmmP6c6j3spTP3poW6IkAvd HUGAm9Wvkn/dS/cbwx5u045FAYBMuIbz3z1hZym31md9vQRN8owCWQUOsn0M/48L2sE/ iXpZWrFIaO6CnkS9/Yxhj+v5daaTFLPqrvrQwn5WkcbdQe2atXhbEPvz04adFtUb8uZo eyBirzfiwtSQCCFX/aQTGDZLJ6RcslOA2Sj87zJ7TWJaP1vBQv/c4Fg0k6Ybcfp3GoD4 R5K3y2Ff7DaCHyxzmD06wpYI83PtEjwgG7xhXi+7MtxC0/r7hbAro2kXtUD6VpyaWwRw JVjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333378; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yiObqQupXwCq2Fckj+ojCX2n1CcIk3QlUay0u5ibMzI=; b=AeQ9sNMTJlIv3R/N8Jq/3bJ7coJrjaMK99LMGLyozSIJ6X7S8hgvkJpAh4WeuRmyG7 cwFBROLC79V7AbgfiY1wbdfmvUvZErhYaQFJYaAE0Rky8cYsMkWE1db1w1FuRii+Sdp+ UkxA/8E7Q0e1cgxnmCEsB76CbFcBY/G8tUAg5Cn1FoAhvVPJ5GXV9gSOP/B4eI3yTnF4 gek1dhaHvIGtX62lU1G/6W9YcsBdYh6vt4XyNoLDTtkNB2+XuLpjFnPwUxvMcuHldkxO LrFdhVNfI+q+s6YJ72NA7cIi6XBubQ/wsMarwwCYhYiRW+kwzcWiwRYVDGFn7bHy2/d8 YLaQ== X-Gm-Message-State: AO0yUKV1IIi9mAs73F8Vrt3H80hSz6fdM0wtPwbC0zYYimpYBz4CCxS+ GRoI8bi7CSGVbOqxx8maONDzsY6mWsA= X-Google-Smtp-Source: AK7set/xiZF0D9FxmZANijur1RpKJsQvASJx1/xvsGVnpUNSYckshlKIQsXmF7qr2ZCTTzZkv+WNsw== X-Received: by 2002:a05:6214:2267:b0:5ca:6c32:f35 with SMTP id gs7-20020a056214226700b005ca6c320f35mr7576227qvb.39.1679333378208; Mon, 20 Mar 2023 10:29:38 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:29:37 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:29:12 -0400 Message-Id: <20230320172933.13101-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 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: 9BFF037038 X-Spam-Score: -1.95 X-Migadu-Spam-Score: -1.95 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: Mwf/ahdsDLIQ * gnu/packages/ruby.scm (ruby-rspec-block-is-expected): New variable. --- gnu/packages/ruby.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b04eef72da..1053dcd758 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -929,6 +929,39 @@ (define-public ruby-rspec-mocks-2 (propagated-inputs (list ruby-diff-lcs)))) +(define-public ruby-rspec-block-is-expected + (package + (name "ruby-rspec-block-is-expected") + (version "1.0.2") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/pboling/rspec-block_is_expected") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w8mj00k8am24yw7lbhg616m111p7h7bbfxaw7np4i7wnlwzm8fk")))) + (build-system ruby-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "Rakefile" + (("require 'rubocop/rake_task'") "") + (("RuboCop::RakeTask.new") "")) + ;; Contains extraneous requirements not actually + ;; needed for the test suite. + (delete-file "Gemfile")))))) + (native-inputs (list ruby-rspec-pending-for ruby-rspec-expectations)) + (propagated-inputs (list ruby-rspec-core)) + (synopsis "Simplify testing of blocks in RSpec") + (description "This RSpec plugin allows you to use @code{block_is_expected} +similarly to how you would use @code{is_expected} if a block was wrapping the +subject.") + (home-page "https://github.com/pboling/rspec-block_is_expected") + (license license:expat))) + (define-public ruby-rspec-pending-for (package (name "ruby-rspec-pending-for") -- 2.39.1