FreeBSD Ports

security/rubygem-cancancan 3.6.1

Simple authorization solution for Rails with all permissions stored in a single location

Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
security, rubygems
Package size
27.1 KiB, 101.7 KiB installed

Description

CanCanCan is an authorization library for Ruby and Ruby on Rails which restricts what resources a given user is allowed to access.

All permissions can be defined in one or multiple ability files and not duplicated across controllers, views, and database queries, keeping your permissions logic in one place for easy maintenance and testing.

It consists of two main parts:

  • Authorizations library that allows you to define the rules to access different objects, and provides helpers to check for those permissions.
  • Rails helpers to simplify the code in Rails Controllers by performing the loading and checking of permissions of models automatically and reduce duplicated code.

Install

As a binary package — by origin, or by package name:

pkg install security/rubygem-cancancan
pkg install rubygem-cancancan

From the ports tree:

cd /usr/ports/security/rubygem-cancancan/ && make install clean

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

RUN_DEPENDS=	rubygem-cancancan>0:security/rubygem-cancancan

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:latest3.6.13.6.1-3.6.13.6.1
FreeBSD:14:quarterly3.6.13.6.1n/a3.6.13.6.1
FreeBSD:15:latest3.6.13.6.1n/a3.6.13.6.1
FreeBSD:15:quarterly3.6.13.6.1n/an/an/a
FreeBSD:16:latest3.6.13.6.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

All build dependencies 6
All run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/cancancan-3.6.1.gem30208975c1d5cbf58d5df48a9452a7f61ae3d254608cd87570402f5925a8864c56b62
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.