BSD Ports

databases/rubygem-activerecord71 7.1.6_1 MidnightBSD

Object-relational mapping layer for Rails MVC Framework

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
c9d179ba8e
License
mit
Categories
databases, rubygems

Description

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.

In the other systems

SystemPortVersion
MidnightBSDdatabases/rubygem-activerecord717.1.6_1
FreeBSDdatabases/rubygem-activerecord717.1.6
DragonFlydatabases/rubygem-activerecord717.1.5.1

Install

Binary package:

mport install activerecord71

From mports:

cd /usr/mports/databases/rubygem-activerecord71 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	activerecord71>0:databases/rubygem-activerecord71

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Build dependencies 3
Run dependencies 3

Configuration

No options to configure.

USES
gem cpe
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/activerecord-7.1.6.gem5488641aa298cd7fc97ed8639ebb05a46bd17243a1218d89945bdc2bac1e61e673f079
Master sites 1
  • RG

Commit history 2

DateCommitCreditsLog message
c9d179ba8e Lucas Holt databases/rubygem-activerecord71: fix the dependency version upper bound
mport.query does not match a package when the lower bound of a range equals the upper bound's base version and the upper bound carries a _N suffix: "version>=1.1.1<1.1.1_99" reports not found for an installed 1.1.1, while "version>=1.1.1<1.1.1.99" matches, including packages carrying a PORTREVISION. Spell the bound with .99 so the dependency resolves. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …