mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
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
This commit is contained in:
parent
8dec7dd7c1
commit
2e6439f199
@ -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
|
||||
|
23
databases/rubygem-activerecord70/Makefile
Normal file
23
databases/rubygem-activerecord70/Makefile
Normal file
@ -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>
|
3
databases/rubygem-activerecord70/distinfo
Normal file
3
databases/rubygem-activerecord70/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1641045756
|
||||
SHA256 (rubygem/activerecord-7.0.0.gem) = bda71d8c2679ec2fde2ab1b5d27e16872ca9bf60a660c57ee7e76b98a9a3850f
|
||||
SIZE (rubygem/activerecord-7.0.0.gem) = 470528
|
14
databases/rubygem-activerecord70/pkg-descr
Normal file
14
databases/rubygem-activerecord70/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user