aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-02 16:28:00 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-02 16:28:00 +0000
commit8e6d3761cc916b7edd534a9e5f2cb8ab599b3eb8 (patch)
treeb48fa7a03c240ce63a7da84efaa1fed1070277c6
parentddbf1a748991c9e9eb026ce3333b9d1f4cdabf31 (diff)
databases/rubygem-activerecord80: Add rubygem-activerecord80 8.0.1
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.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-activerecord80/Makefile25
-rw-r--r--databases/rubygem-activerecord80/distinfo3
-rw-r--r--databases/rubygem-activerecord80/pkg-descr11
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 0b697e598557..02d37c4de1c3 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -922,6 +922,7 @@
SUBDIR += rubygem-activerecord70
SUBDIR += rubygem-activerecord71
SUBDIR += rubygem-activerecord72
+ SUBDIR += rubygem-activerecord80
SUBDIR += rubygem-after_commit_queue
SUBDIR += rubygem-amalgalite
SUBDIR += rubygem-arel
diff --git a/databases/rubygem-activerecord80/Makefile b/databases/rubygem-activerecord80/Makefile
new file mode 100644
index 000000000000..5207347ae4ad
--- /dev/null
+++ b/databases/rubygem-activerecord80/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= activerecord
+PORTVERSION= 8.0.1
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 80
+
+MAINTAINER= sunpoet@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-activemodel80>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activemodel80 \
+ rubygem-activesupport80>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport80 \
+ rubygem-timeout>=0.4.0:devel/rubygem-timeout
+
+USES= gem
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^8\.0\.
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-activerecord80/distinfo b/databases/rubygem-activerecord80/distinfo
new file mode 100644
index 000000000000..7899b2903b21
--- /dev/null
+++ b/databases/rubygem-activerecord80/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735802470
+SHA256 (rubygem/activerecord-8.0.1.gem) = 34a7f0610660bb704f0363025d4b8d35ffe8ddc8f5b8147e0809171f724b5306
+SIZE (rubygem/activerecord-8.0.1.gem) = 543232
diff --git a/databases/rubygem-activerecord80/pkg-descr b/databases/rubygem-activerecord80/pkg-descr
new file mode 100644
index 000000000000..2ec976f87967
--- /dev/null
+++ b/databases/rubygem-activerecord80/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.