From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KO+tHDmK3mK+gQEAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 14:19:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cM2NGzmK3mKnEAEAG6o9tA (envelope-from ) for ; Mon, 25 Jul 2022 14:19:05 +0200 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 aspmx1.migadu.com (Postfix) with ESMTPS id 2A5C496AA for ; Mon, 25 Jul 2022 14:19:05 +0200 (CEST) Received: from localhost ([::1]:48484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFx3A-0008A3-8L for larch@yhetil.org; Mon, 25 Jul 2022 08:19:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFx2D-0006yu-3R for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFx2C-0005Ej-Qr for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFx2C-0002tT-F4 for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56759] [PATCH 06/20] gnu: Add ruby-link-header. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 12:18:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56759 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56759@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 56759-submit@debbugs.gnu.org id=B56759.165875147111010 (code B ref 56759); Mon, 25 Jul 2022 12:18:04 +0000 Received: (at 56759) by debbugs.gnu.org; 25 Jul 2022 12:17:51 +0000 Received: from localhost ([127.0.0.1]:49398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx1y-0002rV-E9 for submit@debbugs.gnu.org; Mon, 25 Jul 2022 08:17:50 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:46930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx1u-0002r0-VU for 56759@debbugs.gnu.org; Mon, 25 Jul 2022 08:17:47 -0400 Received: by mail-qk1-f176.google.com with SMTP id v28so8386927qkg.13 for <56759@debbugs.gnu.org>; Mon, 25 Jul 2022 05:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Od4q+5Ll0iFghRQFwd1EiqqP5Bwp0MrSPhnfuyT37mI=; b=QiZKLdBylbhtpmLV4B6MmnbMaGycbibl96CP46gKikWHj+kDEybQMtgfki05X/t3/5 vpT3gfvXtN9rfy3yT2A4BwLCntsXpOtaRQwbA2FN5Hrf0l2bAAb8fMMPzpRGKewB88Hj K+RYC4+sJMtpowK86DapyDVREL3CfXFCRwEMfhMYTw53JQ/MNNnllpyQZfxw6zTEs5oy m/q6mXbwR+wPiueOJHEdrZN4ZWKsST0fHBwLOCssSuCoqPzCZeVHZoUzkl/0X2dk1X43 5mMu05/fy8ktRTTllMg0x2rH+y40PweWUG/vuwvAdWlXix+270Uwr5l0h4Vm1B5k2Zsp 18ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Od4q+5Ll0iFghRQFwd1EiqqP5Bwp0MrSPhnfuyT37mI=; b=Vb/03M7EHJlS3ZrDshpAHDerNGZlHvrKE394m+KvHAR3F4CU+txCv851cOUuw7MTJW KU0eGNCp8gQLVcv9VWS1R1dgFHeSjoaPv2lT+vtZnyYmZT2HdjqcnPmYXU7WeZxlfjIB 0BzI418aaaFVMJLM/P0SMCI83lbV0SPMWeAVTbKEo1mIqc7yd1igtFypeOrNvLrSST9J 3cMXSwyVo9CTCRnizg4f+9e7cscgFj6q5h+bt732E8zOfQTG2f63matEDFLje8FGaSV1 TW06tP/DROrQnT0bhH+U5cerdR6HeojAPlTBWmwJgEKU4+C+X18QJa9JvCXwI4n7HjhI OVmQ== X-Gm-Message-State: AJIora/5PcK4IejndOj5LY8UlAJdxFAGuiJR3XegLFrP/rZ+4x3Moi2S vzTFtOkIzpzPpGoDBiKh+MwRmKrDYltJEFuX X-Google-Smtp-Source: AGRyM1t8hceLVOT6MZQC8D/hu0scm8uJnyFntn4QnKPXu3RxZU6W50tNbf+1LU4zkCpW5cvSkK0cVw== X-Received: by 2002:a05:620a:468d:b0:6b6:775:d5ab with SMTP id bq13-20020a05620a468d00b006b60775d5abmr9025701qkb.652.1658751461296; Mon, 25 Jul 2022 05:17:41 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id ew5-20020a05622a514500b0031ecb90454fsm7391857qtb.70.2022.07.25.05.17.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 05:17:41 -0700 (PDT) From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:21 -0400 Message-Id: <4de278fe252f3b20e37a852ca4fcd6980c5ae77e.1658750358.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658751545; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=Od4q+5Ll0iFghRQFwd1EiqqP5Bwp0MrSPhnfuyT37mI=; b=menp5nMe1Q4JB+ThIWadm0/16ndDUDKXg4QZQlgPxkGhX4/iyiy1JXDC3G8pdY+vj9IOiM DEf9MKaaMd3MkvVcuNq96b2OD69EprLJpvpc8ZRzqloTYVwjI+y1A5bBsKoO4xcJmpef/G Hcl3zErjZWndyY/2O7Uf11uk3cK4/0mZBTu7kj2tf7B0W5qApsIEawLTIOmUUrKmrySJQT OIfClmYlcStsQS0zdFXevZ89nVFnMyrk7pxV74Yc2vAJsSkD1jF9S+0Ls0n8Lf+/WaCKhZ oavOiXOykHgiohJ/A2CWy8SkAhgk8gFTDYA25sslGyk3n+/NzIcgEebqn0ZnrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658751545; a=rsa-sha256; cv=none; b=nhbu4hI1YVzAB/Uqo+Qqt0PiMv1N4D6rzVFZxPU3ZPkE4NwHEfW8QAyYxjj6femZAaWDEY jigDIdBUBJ2L5M7gWAciqI9nRX4rEedyVDzRark3ZfuIFy4yeTNB+9O32SzSu2oHrwn9lW gN1bj39LQrQild70FF7ZPikrkuW5mXZ1j2BXTBA/H5WzaapwbDrJ4bl0crMltND/PmHQcL EK0xMPfHgNvmHYqG3iLg3FtYBgk74FEJ1oth9Fg4Ccfzc0XMZ+4fWUE6pT97tNnzsLtibW GnTyjk4N284M3hou68WZfrifriJ1L4STY14pMba/+VWv1+VQB+3cPzPeASgqrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=QiZKLdBy; dmarc=none; spf=pass (aspmx1.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-Spam-Score: 3.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=QiZKLdBy; dmarc=none; spf=pass (aspmx1.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-Queue-Id: 2A5C496AA X-Spam-Score: 3.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: YYgTC//zOPoV * gnu/packages/ruby.scm (ruby-link-header): New variable. --- gnu/packages/ruby.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index fb9d5c53b9..d03d13371c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13161,3 +13161,24 @@ (define-public ruby-latex-decode independently to decode LaTeX. Many of the patterns used by this Ruby gem are based on François Charette's equivalent Perl module @code{LaTeX::Decode}.") (license license:gpl3+)))) + +(define-public ruby-link-header + (package + (name "ruby-link-header") + (version "0.0.8") + (source (origin + (method url-fetch) + (uri (rubygems-uri "link_header" version)) + (sha256 + (base32 + "1yamrdq4rywmnpdhbygnkkl9fdy249fg5r851nrkkxr97gj5rihm")))) + (build-system ruby-build-system) + (home-page "https://github.com/asplake/link_header") + (synopsis "Parse and format HTTP @code{Link} headers") + (description + "This gem provides the classes @code{LinkHeader} and +@code{LinkHeader::Link}, which represent HTTP @code{Link} headers conforming +to RFC 5988. Objects can be constructed from and converted to text or a +JSON-friendly @code{Array} representation. They can also be used to generate +corresponding HTML @code{link} elements.") + (license license:expat))) -- 2.32.0