git: 62433b47e503 - main - databases/rubygem-discard-rails61: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Nov 2022 06:24:34 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=62433b47e5034700836a01ed50df6532d496d1e3
commit 62433b47e5034700836a01ed50df6532d496d1e3
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 06:23:07 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
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 <bsd.port.mk>
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.