ports/156672: [NEW PORT] devel/rubygem-state_machine (state machine funcitonality for ruby classes)
Eric Freeman
freebsdports at chillibear.com
Wed Apr 27 08:40:07 UTC 2011
>Number: 156672
>Category: ports
>Synopsis: [NEW PORT] devel/rubygem-state_machine (state machine funcitonality for ruby classes)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 27 08:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Eric Freeman
>Release: 8.0
>Organization:
>Environment:
>Description:
Simple port of the state_machine gem.
https://github.com/pluginaweek/state_machine
>How-To-Repeat:
n/a
>Fix:
# Ports collection makefile for: rubygem-state_machine
# Date created: 27 April 2011
# Whom: Eric Freeman <freebsdports at chillibear.com>
#
# $FreeBSD$
#
PORTNAME= state_machine
PORTVERSION= 0.10.4
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= freebsdports at chillibear.com
COMMENT= Adds support for creating state machines for attributes on any Ruby class
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>
sundive# cd ../
sundive# shar `find rubygem-state_machine`
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# rubygem-state_machine
# rubygem-state_machine/Makefile
# rubygem-state_machine/distinfo
# rubygem-state_machine/pkg-descr
#
echo c - rubygem-state_machine
mkdir -p rubygem-state_machine > /dev/null 2>&1
echo x - rubygem-state_machine/Makefile
sed 's/^X//' >rubygem-state_machine/Makefile << '830b188d7b98c8b26ddb871eaddb6758'
X# Ports collection makefile for: rubygem-state_machine
X# Date created: 27 April 2011
X# Whom: Eric Freeman <freebsdports at chillibear.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= state_machine
XPORTVERSION= 0.10.4
XCATEGORIES= devel rubygems
XMASTER_SITES= RG
X
XMAINTAINER= freebsdports at chillibear.com
XCOMMENT= Adds support for creating state machines for attributes on any Ruby class
X
XUSE_RUBY= yes
XUSE_RUBYGEMS= yes
XRUBYGEM_AUTOPLIST= yes
X
X.include <bsd.port.mk>
830b188d7b98c8b26ddb871eaddb6758
echo x - rubygem-state_machine/distinfo
sed 's/^X//' >rubygem-state_machine/distinfo << '53a8f117bfa480d23e58991dcfa2fcef'
XSHA256 (rubygem/state_machine-0.10.4.gem) = 1ef55ec0817a5af69d5804820c56b141531479ccb856f03f7e6f3b2e1b1efcf9
XSIZE (rubygem/state_machine-0.10.4.gem) = 352768
53a8f117bfa480d23e58991dcfa2fcef
echo x - rubygem-state_machine/pkg-descr
sed 's/^X//' >rubygem-state_machine/pkg-descr << '956f96ebf3df6fdd1ae578b2d6acefa9'
XState machines make it simple to manage the behavior of a class.
XToo often, the state of an object is kept by creating multiple
Xboolean attributes and deciding how to behave based on the values.
X
Xstate_machine simplifies this design by introducing the various
Xparts of a real state machine, including states, events,
Xtransitions, and callbacks. However, the api is designed to be
Xso simple you do not even need to know what a state machine is.
X
XWWW: http://www.pluginaweek.org/
956f96ebf3df6fdd1ae578b2d6acefa9
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list