diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-01-12 00:56:45 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-01-12 02:43:50 +0800 |
commit | 2e6439f199ba140900eba02fbe483774426e53c3 (patch) | |
tree | fafe37e2e8af159e364042a759488844f1bc5af2 /databases | |
parent | databases/rubygem-activemodel70: Add rubygem-activemodel70 7.0.0 (diff) |
databases/rubygem-activerecord70: Add rubygem-activerecord70 7.0.0
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.
WWW: https://rubyonrails.org/
WWW: https://github.com/rails/rails/tree/main/activerecord
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/rubygem-activerecord70/Makefile | 23 | ||||
-rw-r--r-- | databases/rubygem-activerecord70/distinfo | 3 | ||||
-rw-r--r-- | databases/rubygem-activerecord70/pkg-descr | 14 |
4 files changed, 41 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index d8c84dafdb60..371cf14a59cb 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -914,6 +914,7 @@ SUBDIR += rubygem-activerecord52 SUBDIR += rubygem-activerecord60 SUBDIR += rubygem-activerecord61 + SUBDIR += rubygem-activerecord70 SUBDIR += rubygem-after_commit_queue SUBDIR += rubygem-amalgalite SUBDIR += rubygem-arel diff --git a/databases/rubygem-activerecord70/Makefile b/databases/rubygem-activerecord70/Makefile new file mode 100644 index 000000000000..8b497a61077c --- /dev/null +++ b/databases/rubygem-activerecord70/Makefile @@ -0,0 +1,23 @@ +PORTNAME= activerecord +PORTVERSION= 7.0.0 +CATEGORIES= databases rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 70 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Object-relational mapping layer for Rails MVC Framework + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-activemodel70>=${PORTVERSION}:databases/rubygem-activemodel70 \ + rubygem-activesupport70>=${PORTVERSION}:devel/rubygem-activesupport70 + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +PORTSCOUT= limit:^7\.0\. + +.include <bsd.port.mk> diff --git a/databases/rubygem-activerecord70/distinfo b/databases/rubygem-activerecord70/distinfo new file mode 100644 index 000000000000..2acb03304066 --- /dev/null +++ b/databases/rubygem-activerecord70/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1641045756 +SHA256 (rubygem/activerecord-7.0.0.gem) = bda71d8c2679ec2fde2ab1b5d27e16872ca9bf60a660c57ee7e76b98a9a3850f +SIZE (rubygem/activerecord-7.0.0.gem) = 470528 diff --git a/databases/rubygem-activerecord70/pkg-descr b/databases/rubygem-activerecord70/pkg-descr new file mode 100644 index 000000000000..0688737cb23f --- /dev/null +++ b/databases/rubygem-activerecord70/pkg-descr @@ -0,0 +1,14 @@ +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. + +WWW: https://rubyonrails.org/ +WWW: https://github.com/rails/rails/tree/main/activerecord |