From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 0I3EKISgGGT9LwEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:05:56 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kFDJKISgGGRALQEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 19:05:56 +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 7B86236BF7 for ; Mon, 20 Mar 2023 19:05:56 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=abWeUaxB; 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=1679335556; 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=vEKp9z5OhkqzzvDicyrVDncg5HvC4dLCVNtmkEXpni8=; b=A1I1ptx0l+vrP4mznF+QDa90k6K3Vd965Kw3rEpcfiG15S1rrqf/ROGdtXJmGWkXvCAnYl glFAZSp4ybz/NY1hC6zptCxfFI4bPYl6NVIPAV8zzoo/Nw2idNuYibpib3hUXQzhSDsxBY hTe/dhmp9W129WJyYadQzDT10YebPiSspqyS0iF3zaAof7e0UghNfAZdkVoHZKQPdJNqkN LlETFnGN63xfGoOV5NgK5kCU9SDvE/8jdUNgMb2hEuNCMwbCFSo37X/z297wGlDJd37RD/ 54hBrioDRut5w7DuRJvUdryOJ5pYVrIhfo8lLnalkHY0Ni5IWjbWFVw+81Lp7w== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=abWeUaxB; 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=1679335556; a=rsa-sha256; cv=none; b=ZEgVFIXk0pVohZpDOJQvmPuEenGzAnU8WvZDL1GnDsL41ec2IQMtRFIJ+eMv5JtdMjjIgn b0jlFu5p9hgZd9TWN2gO+3TdIc31TJPrer9h1rOoatlf5Iu73fK29GLu00vtaX6V9i3YiG okp+PCNSMJIR4QgM/o0s1Mf+0xOw86B7YSPNP+uOXxDwMojJB6cH7WK8dOQung+cEjjMo6 F090zyJiEnonmMaGcDn0bQad+Z+YRFXlYRgLdFGYhPe44SnW4DIEp/JuINVJw/viM0gebM Tu5ZCRFeVOEUgWACbDk1Pr5IZ8591c+6Mokjp7WwI10vxqKC7+/n3JovAFErjA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJLM-00026u-LY; Mon, 20 Mar 2023 13:30:48 -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 1peJKu-00013V-Q1 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:23 -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 1peJKp-0007R2-Re for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJKp-0004nf-NK for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 219/223] gnu: Add ruby-spy. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:30:15 +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.167933341318419 (code B ref 62196); Mon, 20 Mar 2023 17:30:15 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:30:13 +0000 Received: from localhost ([127.0.0.1]:56409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKn-0004mq-69 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:30:13 -0400 Received: from mail-qv1-f52.google.com ([209.85.219.52]:46711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKb-0004i4-G9 for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:30:02 -0400 Received: by mail-qv1-f52.google.com with SMTP id q88so1806107qvq.13 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333396; 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=vEKp9z5OhkqzzvDicyrVDncg5HvC4dLCVNtmkEXpni8=; b=abWeUaxBpZ1paHqVpXj5EGC5PyFCo3zN9LqeD/XHv29X4eR8pzyh+HRho285ZRmEq9 BP8DPPOoR3kRdwKR9WiRg4rL1N5WkiXtAZN9SYBCerb/YZ1nZIpDbxHr7d2yXgez2UrH fI57XdqcidcAKkBtBmanrhAwmIhqgayiOU4N98d/jGKxur883uzf8wFhN1H22Wx6pvcu 4zzwFET9fxpe7+6RI6ji/5y3JSYRqa+RMNy1FYEKDyhfLozXbBKYOpPAL6/xCVRM+Idf m1Rh1E4MaLHi/9o6DbzPFqK1JJ/6upjLQ+6uqQRlQhb1nBCkkosJZnqfl4HUJeERv0lB py9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333396; 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=vEKp9z5OhkqzzvDicyrVDncg5HvC4dLCVNtmkEXpni8=; b=JTqIm/jVeQ8u66v2FlFXUpsLAf3UC+u49ihUe06kmk6I+IYsHoxvI/knztKZe2oSI6 FlWHnzfqTrMVzx8C8FCOVIXNXTQ6dt0PcKYEpdwkNue2SgRNrmesZeKdkYcVISFwAgGb VnPoTSUFcjKTR+4J8P6crRYUSplS++vAsBziTdEcPi4/GbmvRbDYYVuTgHuTBGjpCMkK YtczfpugmttfVORqIPW5WoKwDyv/JCXTkb/yFVL7ypDta3GYWBDZKZd/ebXG/1XOg1cO v1ULTJ+txjY/o1I+rNjo3c7RkSCg/OE9OlpF8RZk04lusuCk0J8mUyuewRUP8z6VM1sD GLgA== X-Gm-Message-State: AO0yUKU/IfC+mp1tU+LWvIswuaVce8ZmFuSoZOMkkT0SRmmkQJGBLiiO YKZX33JU77oaavcWtSZwZO5eiN9+9wM= X-Google-Smtp-Source: AK7set/j+vVamcMxLRso1F4ZWiigBuyiotzUFYzCdoEC7k/0M04uNKhLrQi/SF0kMY3d+1MW7u1E4g== X-Received: by 2002:a05:6214:21ae:b0:5cc:b552:328f with SMTP id t14-20020a05621421ae00b005ccb552328fmr6164454qvc.5.1679333395872; Mon, 20 Mar 2023 10:29:55 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:29:55 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:29:29 -0400 Message-Id: <20230320172933.13101-18-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 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: 7B86236BF7 X-Spam-Score: -2.15 X-Migadu-Spam-Score: -2.15 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: 3wTfrZlY+Myw * gnu/packages/ruby.scm (ruby-spy): New variable. --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f8e736aecd..45bd6cd7e9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13848,6 +13848,38 @@ (define-public ruby-language-server-protocol (home-page "https://github.com/mtsmfm/language_server-protocol-ruby") (license license:expat))) +(define-public ruby-spy + (package + (name "ruby-spy") + (version "1.0.5") + (source (origin + (method url-fetch) + (uri (rubygems-uri "spy" version)) + (sha256 + (base32 + "0g2mma8q17m26k5s864ndlvvqllhcivwg2wdigjvb7z06iw17gds")))) + (build-system ruby-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'relax-requirements + (lambda _ + (substitute* "Gemfile" + ((".*redcarpet.*") "") + ((".*yard.*") ""))))))) + (native-inputs + (list ruby-coveralls + ruby-minitest-reporters + ruby-pry + ruby-pry-byebug + ruby-rspec-core + ruby-rspec-expectations)) + (synopsis "Mocking library for Ruby") + (description "Spy is a mocking library. By default, it will raise an +error if you attempt to stub a method that doesn't exist or call the stubbed +method with the wrong arity.") + (home-page "https://github.com/ryanong/spy") + (license license:expat))) + (define-public ruby-subprocess (package (name "ruby-subprocess") -- 2.39.1