BSD Ports

databases/rubygem-activerecord61 6.1.7.10_1 MidnightBSD

Object-relational mapping layer for Rails MVC Framework

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
05e3d6cd86
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-activerecord616.1.7.10_1
FreeBSDdatabases/rubygem-activerecord616.1.7.10
DragonFlydatabases/rubygem-activerecord616.1.7.10

Install

Binary package:

mport install activerecord61

From mports:

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

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

RUN_DEPENDS=	activerecord61>0:databases/rubygem-activerecord61

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
gem cpe
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/activerecord-6.1.7.10.gem434176db1719ef443a5437badcaa1d0fb5da7db985988fb69cc37085ca6bcc569fb31a
Master sites 1
  • RG

Commit history 2

DateCommitCreditsLog message
05e3d6cd86 Lucas Holt databases/rubygem-activerecord61: 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, …