Date: Wed, 18 Sep 2024 06:18:22 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 076016303350 - main - databases/rubygem-activerecord72: Add rubygem-activerecord72 7.2.1 Message-ID: <202409180618.48I6IME4031155@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=076016303350e28cf2236effdf3c3887887153b1 commit 076016303350e28cf2236effdf3c3887887153b1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-18 05:50:59 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-09-18 06:13:00 +0000 databases/rubygem-activerecord72: Add rubygem-activerecord72 7.2.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. --- databases/Makefile | 1 + databases/rubygem-activerecord72/Makefile | 25 +++++++++++++++++++++++++ databases/rubygem-activerecord72/distinfo | 3 +++ databases/rubygem-activerecord72/pkg-descr | 11 +++++++++++ 4 files changed, 40 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 026102eacd36..94be7a06026d 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -929,6 +929,7 @@ SUBDIR += rubygem-activerecord61 SUBDIR += rubygem-activerecord70 SUBDIR += rubygem-activerecord71 + SUBDIR += rubygem-activerecord72 SUBDIR += rubygem-after_commit_queue SUBDIR += rubygem-amalgalite SUBDIR += rubygem-arel diff --git a/databases/rubygem-activerecord72/Makefile b/databases/rubygem-activerecord72/Makefile new file mode 100644 index 000000000000..8a576de9e4ce --- /dev/null +++ b/databases/rubygem-activerecord72/Makefile @@ -0,0 +1,25 @@ +PORTNAME= activerecord +PORTVERSION= 7.2.1 +CATEGORIES= databases rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 72 + +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-activemodel72>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activemodel72 \ + rubygem-activesupport72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport72 \ + rubygem-timeout>=0.4.0:devel/rubygem-timeout + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= limit:^7\.2\. + +.include <bsd.port.mk> diff --git a/databases/rubygem-activerecord72/distinfo b/databases/rubygem-activerecord72/distinfo new file mode 100644 index 000000000000..5da934dcacee --- /dev/null +++ b/databases/rubygem-activerecord72/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726487282 +SHA256 (rubygem/activerecord-7.2.1.gem) = b58a26b9337594f2639cafcc443f4d28d786289f5b5b07b810e8251eeace533c +SIZE (rubygem/activerecord-7.2.1.gem) = 543232 diff --git a/databases/rubygem-activerecord72/pkg-descr b/databases/rubygem-activerecord72/pkg-descr new file mode 100644 index 000000000000..2ec976f87967 --- /dev/null +++ b/databases/rubygem-activerecord72/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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409180618.48I6IME4031155>