From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AE8lCQOXGGQxbgEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 18:25:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eB0qCQOXGGReFQEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 18:25:23 +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 aspmx1.migadu.com (Postfix) with ESMTPS id A4BBE39F8E for ; Mon, 20 Mar 2023 18:25:22 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LLzct4FW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679333122; 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=WQBPQeW9yIYpfcaR2sL610ewowsqbvdCoEcHWpZhlb8=; b=NJ7sJORUndOPMgLjhLPwS5j6B/6zxQ/X/M2lqrUHBfvEK8V1irbdJGEGen0Cer4611bgjm JsBm+KnUPnhsuEHRS4yq8LPqRZV4gNerkKNgbgfAODKilzBHqzFK4bc5XquW1SSRM9kHJl TPrDe5QDJr7EtHndJ7sMXs1TCl+f432yPTRar+Nqn7v8Nlj2bNDJ4hFqdHN7NNXj0DGlWw eG/mdnEf64d5Bp/+TuiZTTT/Lv77MOlV5faYDF4RMPAP+rWhcQpd54r1iG4CPPR4dzk6XT DOhGXuh5pwuduxsAgo2l+SFFV095E2EnjAaZJUmoPvzQF9+5/17Mw/AkbILA7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LLzct4FW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679333122; a=rsa-sha256; cv=none; b=JFv1/8qzi8i6gsybro9eFXEe68X1SF7fJfqj0c9rgHaG6jyD+tI6JYvba9ps47jk9kCgu1 2UbI/ZXTq43LjOTjl1hEE2I+q3tvxEVVA7FQO8oMLdzFARwzkq7WsL5v+0ws/2AgMmHgQN QX2PuDxSwDEZ34pIFGwiQcB2OH3ZfESQ+2P0+3nng0BX5DDQwJ3I9ac7eXhTJSU6UIubXK ODaEZroV2hjrhKF1cyfbKKmbpSRs+tNsSZcCU31E5Hm7GSNCdV1eQLm1pmA2g0fNs8BxhJ XWTnkf6KsgUIYGEZCZsH46KYaSvwOFi5zKJsCOGEMOZnZ7O0jin2llZNRSa+hQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJG1-0003eE-55; Mon, 20 Mar 2023 13:25:17 -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 1peJFr-0003Qr-Tw for guix-patches@gnu.org; Mon, 20 Mar 2023 13:25:07 -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 1peJFr-0004qs-Id for guix-patches@gnu.org; Mon, 20 Mar 2023 13:25:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJFr-0003jV-DC for guix-patches@gnu.org; Mon, 20 Mar 2023 13:25:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 114/223] gnu: Add ruby-mapping. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:25:07 +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.167933305413946 (code B ref 62196); Mon, 20 Mar 2023 17:25:07 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:24:14 +0000 Received: from localhost ([127.0.0.1]:55893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJEz-0003cl-O5 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:24:14 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:40509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJEv-0003Yo-Nb for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:24:10 -0400 Received: by mail-qt1-f181.google.com with SMTP id x1so13961967qtr.7 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333049; 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=WQBPQeW9yIYpfcaR2sL610ewowsqbvdCoEcHWpZhlb8=; b=LLzct4FWO1tTQyD5OcrEKsbz7GC54yQ+6DdR0Ky3ZrNAVSMzZcmyvPL499HECtHRsl rF91e53rAGePFRdVfWE9nNX57aBzuzBgNFXTt3nbO7/t98xC9OjIW64qk9zp0WVnxjug fM0zGD6SzdpATXscbVj8Ia2y2JdyTLNnDD/P3fdJU2XT+gMUHPcj1SvwQP0JoommIcBw B6nL8D0QfpXyB/LTs4D01EzVel2QOYZbveLH68AgfKmh7m/g1xvUZoDQ+PWy6P8xN5dt mIVOmm+w35koUMLBmQOfqidD6nPFGWDLpjD09RXIGtMZ7jUPVDrrSxEbUuWe8BpD2W7V bFvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333049; 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=WQBPQeW9yIYpfcaR2sL610ewowsqbvdCoEcHWpZhlb8=; b=AiWR/guoce4ln2g854ft8Jc9ZLDgMR5c4nFITnxEOnNTTH2WdWI5htMjVubVQFvq6R Oc2Ucd/4WomT+ZN0zLaMlAiVOb/8SRYlMeLg55OmXJuX9PojEunv+gKW/WWQ6n6dr/XU rSYy2nGQMP3vwFgdIvR3uVHZgdDTlWN2L9Sk0Nv+FeXlG37KNDivgYZmmR5UT8ZwkOSJ fix5UqI13E/hYSlSfn6KJWvlCN1T6Nb9XWYtUlir9wW7D0dRiZHhYMfYUqqqEysVhhyW Wcrfpxeg8G78WeF9FTeVnW14qxiPD9Is0hidYgZYOwB3WIDxwtL1ZkQ+L4IR4zOh7YvU JOQQ== X-Gm-Message-State: AO0yUKXOF5OcvLYfA386sgBj0JNEmPNTEtgGiKX40/leLu38qp1bmZfC sXb8WKWn3q81NcIARG7jdiI04MBVFko= X-Google-Smtp-Source: AK7set+rz/W9axS9Yn8hWvFh0tXw1DpjhkDX3OaNEivNHuVmfSTkPb8kiyE17eBtQuHk97bfPzlmGw== X-Received: by 2002:a05:622a:34c:b0:3bf:d8b6:4ca1 with SMTP id r12-20020a05622a034c00b003bfd8b64ca1mr28462097qtw.28.1679333049209; Mon, 20 Mar 2023 10:24:09 -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.24.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:24:08 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:22:00 -0400 Message-Id: <20230320172349.12752-13-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: A4BBE39F8E 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: +2zV8CI55fVm * gnu/packages/ruby.scm (ruby-mapping): New variable. --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 2345c344b9..6ac419edd6 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3940,6 +3940,30 @@ (define-public ruby-test-unit (home-page "https://test-unit.github.io/") (license (list license:psfl license:ruby)))) +(define-public ruby-mapping + (package + (name "ruby-mapping") + (version "1.1.1") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/ioquatix/mapping") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0yhmqp8mprjqf9m7wzc4hhi50qbfax86r89w852csns0ijaffjjs")))) + (build-system ruby-build-system) + (arguments (list #:test-target "spec")) + (native-inputs (list ruby-rspec)) + (synopsis "Map model objects based on their class to a given output model") + (description "The @code{mapping} gem maps model objects based on their +class to a given output model. It is useful for versioning external +interfaces (e.g. JSON APIs) or processing structured data from one format to +another.") + (home-page "https://github.com/ioquatix/mapping") + (license license:expat))) + (define-public ruby-markaby (package (name "ruby-markaby") -- 2.39.1