svn commit: r510429 - head/databases/rubygem-activerecord4
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Aug 31 21:57:01 UTC 2019
Author: sunpoet
Date: Sat Aug 31 21:56:59 2019
New Revision: 510429
URL: https://svnweb.freebsd.org/changeset/ports/510429
Log:
Update version requirement of RUN_DEPENDS
- Add PORTSCOUT
- Update pkg-descr
- Take maintainership
Modified:
head/databases/rubygem-activerecord4/Makefile
head/databases/rubygem-activerecord4/pkg-descr
Modified: head/databases/rubygem-activerecord4/Makefile
==============================================================================
--- head/databases/rubygem-activerecord4/Makefile Sat Aug 31 21:56:54 2019 (r510428)
+++ head/databases/rubygem-activerecord4/Makefile Sat Aug 31 21:56:59 2019 (r510429)
@@ -7,7 +7,7 @@ CATEGORIES= databases rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 4
-MAINTAINER= ruby at FreeBSD.org
+MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Object-relational mapping layer for Rails MVC Framework
LICENSE= MIT
@@ -15,11 +15,13 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activemodel4>=${PORTVERSION}:databases/rubygem-activemodel4 \
rubygem-activesupport4>=${PORTVERSION}:devel/rubygem-activesupport4 \
- rubygem-arel6>=6.0:databases/rubygem-arel6
+ rubygem-arel6>=6.0<7:databases/rubygem-arel6
USES= gem
USE_RUBY= yes
NO_ARCH= yes
+
+PORTSCOUT= limit:^4\.2\.
.include <bsd.port.mk>
Modified: head/databases/rubygem-activerecord4/pkg-descr
==============================================================================
--- head/databases/rubygem-activerecord4/pkg-descr Sat Aug 31 21:56:54 2019 (r510428)
+++ head/databases/rubygem-activerecord4/pkg-descr Sat Aug 31 21:56:59 2019 (r510429)
@@ -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
-mapping layer entitled Active Record. This layer allows you to present
-the data from database rows as objects and embellish these data objects
-with business logic methods.
+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/master/activerecord
More information about the svn-ports-all
mailing list