BSD Ports

devel/rubygem-state_machine 1.2.0 FreeBSD

Support for creating state machines for attributes on any Ruby class

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

Description

State machines make it simple to manage the behavior of a class. Too often, the state of an object is kept by creating multiple boolean attributes and deciding how to behave based on the values.

state_machine simplifies this design by introducing the various parts of a real state machine, including states, events, transitions, and callbacks. However, the api is designed to be so simple you do not even need to know what a state machine is.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-state_machine1.2.0
DragonFlydevel/rubygem-state_machine1.2.0

Install

Binary package:

pkg install rubygem-state_machine

From the ports tree:

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

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

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

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.2.01.2.01.2.01.2.01.2.0
FreeBSD:14:quarterly1.2.01.2.0n/a1.2.01.2.0
FreeBSD:15:latest1.2.01.2.0n/a1.2.01.2.0
FreeBSD:15:quarterly1.2.01.2.0n/an/an/a
FreeBSD:16:latest1.2.01.2.0n/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.

Build dependencies 6
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/state_machine-1.2.0.gem60416080fcddc91976baec8713c37c28b5bc0655f5f2e0a1412a1a4a3aac41082cc2ed
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.