BSD Ports

devel/rubygem-protected_attributes 1.1.4 FreeBSD

Protect attributes from mass assignment

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
13.4 KiB, 48.9 KiB installed

Description

Protect attributes from mass-assignment in Active Record models.

This plugin adds the class methods attr_accessible and attr_protected to your models to be able to declare white or black lists of attributes.

Note: This plugin will be officially supported until the release of Rails 5.0.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-protected_attributes1.1.4
DragonFlydevel/rubygem-protected_attributes1.1.4

Install

Binary package:

pkg install rubygem-protected_attributes

From the ports tree:

cd /usr/ports/devel/rubygem-protected_attributes/ && make install clean

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

RUN_DEPENDS=	rubygem-protected_attributes>0:devel/rubygem-protected_attributes

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.41.1.41.1.41.1.41.1.4
FreeBSD:14:quarterly1.1.41.1.4n/a1.1.41.1.4
FreeBSD:15:latest1.1.41.1.4n/a1.1.41.1.4
FreeBSD:15:quarterly1.1.41.1.4n/an/an/a
FreeBSD:16:latest1.1.41.1.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 14

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/protected_attributes-1.1.4.gem15360597908250577a07e62a8c025cfc8ab0603858c531b089babc8724bceeace9ba2
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.