Update version requirement of RUN_DEPENDS

- Add PORTSCOUT
- Update pkg-descr
- Take maintainership
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-08-31 21:56:59 +00:00
parent f487602508
commit c9afce1e74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510429
2 changed files with 15 additions and 7 deletions

View file

@ -7,7 +7,7 @@ CATEGORIES= databases rubygems
MASTER_SITES= RG MASTER_SITES= RG
PKGNAMESUFFIX= 4 PKGNAMESUFFIX= 4
MAINTAINER= ruby@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Object-relational mapping layer for Rails MVC Framework COMMENT= Object-relational mapping layer for Rails MVC Framework
LICENSE= MIT LICENSE= MIT
@ -15,11 +15,13 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activemodel4>=${PORTVERSION}:databases/rubygem-activemodel4 \ RUN_DEPENDS= rubygem-activemodel4>=${PORTVERSION}:databases/rubygem-activemodel4 \
rubygem-activesupport4>=${PORTVERSION}:devel/rubygem-activesupport4 \ rubygem-activesupport4>=${PORTVERSION}:devel/rubygem-activesupport4 \
rubygem-arel6>=6.0:databases/rubygem-arel6 rubygem-arel6>=6.0<7:databases/rubygem-arel6
USES= gem USES= gem
USE_RUBY= yes USE_RUBY= yes
NO_ARCH= yes NO_ARCH= yes
PORTSCOUT= limit:^4\.2\.
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,8 +1,14 @@
Action Record 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.
In Rails, the model is handled by what's called a object-relational Active Record relies heavily on naming in that it uses class and association
mapping layer entitled Active Record. This layer allows you to present names to establish mappings between respective database tables and foreign key
the data from database rows as objects and embellish these data objects columns. Although these mappings can be defined explicitly, it's recommended to
with business logic methods. follow naming conventions, especially when getting started with the library.
WWW: https://rubyonrails.org/ WWW: https://rubyonrails.org/
WWW: https://github.com/rails/rails/tree/master/activerecord