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
This commit is contained in:
Muhammad Moinur Rahman 2022-11-19 00:23:07 -06:00
parent 8a01bbf0f3
commit 62433b47e5
4 changed files with 29 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1668838404
SHA256 (rubygem/discard-1.2.1.gem) = 37e63deae12e37c074b206e755074a2cdfbfdf26038cefcc4ff67bcf18945bf5
SIZE (rubygem/discard-1.2.1.gem) = 13824

View File

@ -0,0 +1,4 @@
Soft deletes for ActiveRecord done right.
A simple ActiveRecord mixin to add conventions for flagging records as
discarded.