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 mJ9VMbupGGQPAgAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:45:15 +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 QE9JMbupGGREYQEAauVa8A (envelope-from ) for ; Mon, 20 Mar 2023 19:45:15 +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 762E6374B9 for ; Mon, 20 Mar 2023 19:45:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJLN-00027Q-1R; Mon, 20 Mar 2023 13:30:49 -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-00013W-QB 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-0007Qe-70 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 1peJKo-0004nQ-TU for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 217/223] gnu: Add ruby-truthy. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:30:14 +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.167933341218388 (code B ref 62196); Mon, 20 Mar 2023 17:30:14 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:30:12 +0000 Received: from localhost ([127.0.0.1]:56403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKl-0004mM-UM for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:30:12 -0400 Received: from mail-qv1-f41.google.com ([209.85.219.41]:46698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKa-0004hq-0z for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:30:00 -0400 Received: by mail-qv1-f41.google.com with SMTP id q88so1806055qvq.13 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333394; 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=7cCvXhcJ3WyL5z8MymFz+lrZHvSBJReET9hRxOxaqQM=; b=j6aE3LP43Ye2vQdweevUkrLJ7D7DFMyGLhIVX0bU3UCsy/VX6Y/ITlgrZdyE7UQ0II rus76VrVjO9oVK0wpW9GJZPnjBjS+6s8ijALCSX/l3G9cz/W8yI0O4AOTBEC31YWq2jy KuYeHprNn4kn8jcVXziKk+VA9IxoW+2KVlMqB1gqKIjktjRXwgja1tKqlrW64ZfwhK6Y cFpFanG4OK6q4mPlTvo4QnuZMxE1Sd1OKNbQ6AC1fo1BitD6IQEOB+QPYMQ0k8ZVTpwd r+SWzpeFEUUuW/DZqhmUL8XOKTBcDmBWTfa71cUnm4tquGM41j7pEycHsWKa8xWsd0j0 rxCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333394; 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=7cCvXhcJ3WyL5z8MymFz+lrZHvSBJReET9hRxOxaqQM=; b=pV/SA7edVDj8QzwzxzjzJbHHB65w9Y6NCI9SPtmB5w53LH0tQc7TsoYWQObeMBbk9l 5V175Ukj0HZ/AcmPTtP38l1YQD2ntlLf6kkjKVtYXu25fYvAU6R2vLBVRj49y4irwpMv 1nOwDwCr+E6VoUs86zDoaprETigvXCiTAzsj3BoksN5dPepJbAhHJr/jD9to9JnWvypQ RSu4l9NaB9Wvjp1Y3Mfl+XfBjWizL8WiuliR3qz6pO4pSIsUstenEnr+NOF8qVFdxWoW 4XLS5+hm20RpjrETDCqIIs+BdJZuWzmHhXKYWHV6SdaMDn84WQfB1Sqn5St/eayEuNYC kYjw== X-Gm-Message-State: AO0yUKUwXDSPTOPcsurxeo9+6V9ri+aQznMjw70hRRiTPpSxJa51PPID tR3y/DUG2ptk1z/DTOXcpPXuTGKeODo= X-Google-Smtp-Source: AK7set/RK2NYfTs5PdEUXUIg2WATOA25vCct/3Yzt1LS6RWB8lLwCtrZ3CMXDNFl3PEth7khKvJqLw== X-Received: by 2002:a05:6214:401:b0:5aa:ad07:ea43 with SMTP id z1-20020a056214040100b005aaad07ea43mr41703707qvx.5.1679333394318; Mon, 20 Mar 2023 10:29:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:29:54 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:29:27 -0400 Message-Id: <20230320172933.13101-16-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: 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679337915; a=rsa-sha256; cv=none; b=EuFi8qAhWp5MB+Hyl4l2i/up9CrFppGEl6aIbOks9rcH+8rHYCoEuYOgHqVKZhkS5Ej3iX RvA9MeFXPPU76a/YbvfW2zu7GqgsaIXsOfCDUHLqyBVWzxRDoh9d0XGNYG7LxES+TxRLfR ZgnsGHA4nPgLLhMD1YuNHrXflKPuaaIZbO0+XsIXl06cgN2KnAK74GRUtG+efBmE3wTxTu tP1fAOtOwQ4l9TG9YHKR3Fye2TyIE01lZDpdlWYnilkibqaKsAZfveFoTQ8+ny+S6DXwJs gBBiDWVOmKg42cntK/TPHW1gpMA6chUxsm/o9DCWa9z8XjVatRH5LxM/9IdJDw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=j6aE3LP4; 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=1679337915; 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=7cCvXhcJ3WyL5z8MymFz+lrZHvSBJReET9hRxOxaqQM=; b=nslNzlSIwXD5arv2hzjScrqlLPdg1W37cg/f/cOv4gOfyjSG99oPCCQFZbM0BGRi8BsN7k vUuxQGCdphZS1E4XiWs/8MoM5ZTJLX0ocO3B+vbvN6uYHwMD3/iujjY3w21hz12ctzHvg4 T2OUtTpBHISOCWvXosAQ/I7QUzOgu7ymjYpaumHdPxg1eHJDo71yq45yJNdECVu2PI3T56 /TO26vMTJKiO30WWrmAgKDg//353fyF7kkfVp4m5qruvS0ia2q+RAsTAke7+shBVJw9UIr zFUb7/ZMHyvcxc4wHHO+zMiSonQOnAmWCmz02gU6/ZzNSKRfCf+5iJ1vuAZfRQ== X-Migadu-Spam-Score: 6.25 X-Spam-Score: 6.25 X-Migadu-Queue-Id: 762E6374B9 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=j6aE3LP4; 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" X-Migadu-Scanner: scn1.migadu.com X-TUID: 3ma8pQZQkPGy * gnu/packages/ruby.scm (ruby-truthy): New variable. --- gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f8d0941e26..f887882da1 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -14219,6 +14219,32 @@ (define-public ruby-thin (home-page "https://github.com/macournoyer/thin") (license license:ruby))) +(define-public ruby-truthy + (package + (name "ruby-truthy") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "truthy" version)) + (sha256 + (base32 + "19silgd65j3qwfk5w891p9wcmzdmi9ddm2kg5zbvvqn2h9lkfzmd")))) + (build-system ruby-build-system) + (arguments (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (substitute* "spec/spec_helper.rb" + (("require 'spec'") + "require 'rspec'")) + (invoke "rspec"))))))) + (native-inputs (list ruby-rspec)) + (synopsis "Object truthiness-related Ruby library") + (description "This library makes it easier to discover the truth values of +various Ruby objects.") + (home-page "https://github.com/ymendel/truthy") + (license license:expat))) + (define-public ruby-skinny (package (name "ruby-skinny") -- 2.39.1