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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-state_machine | 1.2.0 |
| DragonFly | devel/rubygem-state_machine | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 |
| FreeBSD:14:quarterly | 1.2.0 | 1.2.0 | n/a | 1.2.0 | 1.2.0 |
| FreeBSD:15:latest | 1.2.0 | 1.2.0 | n/a | 1.2.0 | 1.2.0 |
| FreeBSD:15:quarterly | 1.2.0 | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.0 | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| rubygem/state_machine-1.2.0.gem | 604160 | 80fcddc91976baec8713c37c28b5bc0655f5f2e0a1412a1a4a3aac41082cc2ed |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.