summaryrefslogtreecommitdiff
path: root/databases/rubygem-activerecord-gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rubygem-activerecord-gitlab')
-rw-r--r--databases/rubygem-activerecord-gitlab/Makefile26
-rw-r--r--databases/rubygem-activerecord-gitlab/distinfo3
-rw-r--r--databases/rubygem-activerecord-gitlab/pkg-descr11
3 files changed, 40 insertions, 0 deletions
diff --git a/databases/rubygem-activerecord-gitlab/Makefile b/databases/rubygem-activerecord-gitlab/Makefile
new file mode 100644
index 000000000000..182cb62b8dd2
--- /dev/null
+++ b/databases/rubygem-activerecord-gitlab/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= activerecord
+PORTVERSION= ${RAILS_VERSION}
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Object-relational mapping layer for Rails MVC Framework
+WWW= https://github.com/rails/rails/tree/main/activerecord \
+ https://rubyonrails.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-activemodel-gitlab>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activemodel-gitlab \
+ rubygem-activesupport-gitlab>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport-gitlab \
+ rubygem-timeout>=0.4.0:devel/rubygem-timeout
+
+USES= gem
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^7\.1\.
+
+.include "${.CURDIR}/../../www/gitlab/Makefile.common"
+.include <bsd.port.mk>
diff --git a/databases/rubygem-activerecord-gitlab/distinfo b/databases/rubygem-activerecord-gitlab/distinfo
new file mode 100644
index 000000000000..d5e0a1e9d921
--- /dev/null
+++ b/databases/rubygem-activerecord-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734888806
+SHA256 (rubygem/activerecord-7.1.5.1.gem) = f40ad1609bf33b9ba5bdc4e16d80a77b1517153234ceb413d31d635d7b91f1e3
+SIZE (rubygem/activerecord-7.1.5.1.gem) = 548352
diff --git a/databases/rubygem-activerecord-gitlab/pkg-descr b/databases/rubygem-activerecord-gitlab/pkg-descr
new file mode 100644
index 000000000000..2ec976f87967
--- /dev/null
+++ b/databases/rubygem-activerecord-gitlab/pkg-descr
@@ -0,0 +1,11 @@
+Active Record connects classes to relational database tables to establish an
+almost zero-configuration persistence layer for applications. The library
+provides a base class that, when subclassed, sets up a mapping between the new
+class and an existing table in the database. In the context of an application,
+these classes are commonly referred to as models. Models can also be connected
+to other models; this is done by defining associations.
+
+Active Record relies heavily on naming in that it uses class and association
+names to establish mappings between respective database tables and foreign key
+columns. Although these mappings can be defined explicitly, it's recommended to
+follow naming conventions, especially when getting started with the library.