From nobody Sat Nov 19 06:24:34 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NDkC732L4z4j07L; Sat, 19 Nov 2022 06:24:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NDkC71zZZz43ws; Sat, 19 Nov 2022 06:24:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668839075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rNFBFiwgJ/H6IiggXJ3NjWBWofVme5D4AOubEpteTRM=; b=TE9p+xZ4S7kEN6MhNfGp07CuM9QkGENJNPibIwfkwnZkiQsEXgnEMQVQEGaRkJM8rqjRDS k8qZsv4J0x+AZT4pw4PvhZp+EDgDwFKHEGVnfAQ6Ca0IQosuNE6BvJDNBBZFu82ZfxTU14 LE4A4e5+SyrMI1iokkiSR65pZBZJOQQHID9JytoSTircEGdlRq69XiQc6/idjSk5CBeInZ hUANH7BmZHYnHuqltGX8NsR8vrqPbam3dZhMIt40Cd2cbDfNmrQiOsX28MQOuOiMyrg7wn OVuYE7w4/aHy2fITCsV8YIKj1F3DTPp7JR50o8631NoKcnoVW/K6azH2p2p63w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668839075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rNFBFiwgJ/H6IiggXJ3NjWBWofVme5D4AOubEpteTRM=; b=Dz4Pt91gvRXQM++S4B2/0WxMG5QbGBIgCkLhfPcsyyZd3ig6Gg3S5+q5RU0JdkxxyfQZza T+J5iGSJ1+OGeORh9Ptahv6CaBm6YmnqQfTGuf1lxNM2XjMHBjAnZHsC/idI6fHwfeQF/K 93ZiC5T+fnIWB+BIKrNfbDWHSECQqs6CuJjQjMyJzBykcTGdChMGMcGb2Y63VQ+OFD4A89 iAUr+8fQBb4SobITZzBj8Q7zIhZAp6NwIy2vz9356so3nZRv3wr7N9/QNY4kzLiGhpkFcD lVqFA1m10MYlFs8wfyRBP7rolqyR8M3g+iappuCj06YuN8xz4YMc+XgB9jwppA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668839075; a=rsa-sha256; cv=none; b=AIBlOokH3e8nUa59hCL1VzzofgBeRunAR9TDkv1xEf+z8zC8ikZON3/4DYeh1oMifRjroo m8TPq0iSsbVxpz45TbBWc7ZVxxQougJ61rwoQlPNN2EKhUUz1opfMxdn0DML3N/1v+7bzv 3LgcNLPSF6+7lF+Ag257VfSZD2CAeTSxhAAwFb3DOrzepNJne5+U376E885mPuX2sH0m6G c/q3uamfK6dTjiqahUkFKOMBP/yvjTQdhryA+EpE7Egf3mK4VxHtqCfLVonguXdyBRYbgi VIfp/LOyZARGiCHtnmoueI9ZYZFFx4u69mpqBdhESVJR9RKaMShtYyD1qUbUBw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NDkC70lZ3zbkN; Sat, 19 Nov 2022 06:24:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AJ6OY5I055671; Sat, 19 Nov 2022 06:24:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AJ6OYBQ055670; Sat, 19 Nov 2022 06:24:34 GMT (envelope-from git) Date: Sat, 19 Nov 2022 06:24:34 GMT Message-Id: <202211190624.2AJ6OYBQ055670@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 62433b47e503 - main - databases/rubygem-discard-rails61: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 62433b47e5034700836a01ed50df6532d496d1e3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=62433b47e5034700836a01ed50df6532d496d1e3 commit 62433b47e5034700836a01ed50df6532d496d1e3 Author: Muhammad Moinur Rahman AuthorDate: 2022-11-19 06:23:07 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-11-19 06:23:07 +0000 databases/rubygem-discard-rails61: New port Soft deletes for ActiveRecord done right. A simple ActiveRecord mixin to add conventions for flagging records as discarded. Sponsored by: Nepustil --- databases/Makefile | 1 + databases/rubygem-discard-rails61/Makefile | 21 +++++++++++++++++++++ databases/rubygem-discard-rails61/distinfo | 3 +++ databases/rubygem-discard-rails61/pkg-descr | 4 ++++ 4 files changed, 29 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 261dacee569f..83e8db631346 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -928,6 +928,7 @@ SUBDIR += rubygem-dbf SUBDIR += rubygem-dbi SUBDIR += rubygem-dbm + SUBDIR += rubygem-discard-rails61 SUBDIR += rubygem-dm-aggregates SUBDIR += rubygem-dm-chunked_query SUBDIR += rubygem-dm-constraints diff --git a/databases/rubygem-discard-rails61/Makefile b/databases/rubygem-discard-rails61/Makefile new file mode 100644 index 000000000000..05e889ee6202 --- /dev/null +++ b/databases/rubygem-discard-rails61/Makefile @@ -0,0 +1,21 @@ +PORTNAME= discard +PORTVERSION= 1.2.1 +CATEGORIES= databases rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -rails61 + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Allows marking ActiveRecord objects as discarded +WWW= https://github.com/jhawthorn/discard + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-activerecord61>=4.2<8:databases/rubygem-activerecord61 + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/databases/rubygem-discard-rails61/distinfo b/databases/rubygem-discard-rails61/distinfo new file mode 100644 index 000000000000..fd84e724da5d --- /dev/null +++ b/databases/rubygem-discard-rails61/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668838404 +SHA256 (rubygem/discard-1.2.1.gem) = 37e63deae12e37c074b206e755074a2cdfbfdf26038cefcc4ff67bcf18945bf5 +SIZE (rubygem/discard-1.2.1.gem) = 13824 diff --git a/databases/rubygem-discard-rails61/pkg-descr b/databases/rubygem-discard-rails61/pkg-descr new file mode 100644 index 000000000000..0671830a56e1 --- /dev/null +++ b/databases/rubygem-discard-rails61/pkg-descr @@ -0,0 +1,4 @@ +Soft deletes for ActiveRecord done right. + +A simple ActiveRecord mixin to add conventions for flagging records as +discarded.