Date: Thu, 2 Jan 2025 16:30:14 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: 8e6d3761cc91 - main - databases/rubygem-activerecord80: Add rubygem-activerecord80 8.0.1 Message-ID: <202501021630.502GUEgt045743@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=8e6d3761cc916b7edd534a9e5f2cb8ab599b3eb8 commit 8e6d3761cc916b7edd534a9e5f2cb8ab599b3eb8 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-01-02 16:28:00 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-01-02 16:28:00 +0000 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. --- databases/Makefile | 1 + databases/rubygem-activerecord80/Makefile | 25 +++++++++++++++++++++++++ databases/rubygem-activerecord80/distinfo | 3 +++ databases/rubygem-activerecord80/pkg-descr | 11 +++++++++++ 4 files changed, 40 insertions(+) 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501021630.502GUEgt045743>