Bug 156672 - [NEW PORT] devel/rubygem-state_machine (state machine funcitonality for ruby classes)
Summary: [NEW PORT] devel/rubygem-state_machine (state machine funcitonality for ruby ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 09:40 UTC by Eric Freeman
Modified: 2011-05-03 04:00 UTC (History)
0 users

See Also:


Attachments
file.shar (2.02 KB, text/plain)
2011-04-27 09:40 UTC, Eric Freeman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Freeman 2011-04-27 09:40:07 UTC
Simple port of the state_machine gem.

https://github.com/pluginaweek/state_machine

Fix: # Ports collection makefile for:	rubygem-state_machine
# Date created:				27 April 2011
# Whom:					Eric Freeman <freebsdports@chillibear.com>
#
# $FreeBSD$
#

PORTNAME=	state_machine
PORTVERSION=	0.10.4
CATEGORIES=	devel rubygems
MASTER_SITES=	RG

MAINTAINER=	freebsdports@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`
How-To-Repeat: n/a
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-04-27 09:40:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Eric Freeman 2011-04-27 15:12:36 UTC
My apologies for the cut and paste mess prefixing my shar...
Comment 3 Steve Wills freebsd_committer freebsd_triage 2011-05-02 04:59:35 UTC
Responsible Changed
From-To: ruby->swills

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-05-03 03:54:51 UTC
swills      2011-05-03 02:54:43 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/rubygem-state_machine Makefile distinfo pkg-descr 
  Log:
  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.
  
  WWW: http://www.pluginaweek.org/
  
  PR:             ports/156672
  Submitted by:   Eric Freeman <freebsdports at chillibear.com>
  
  Revision  Changes    Path
  1.4314    +1 -0      ports/devel/Makefile
  1.1       +20 -0     ports/devel/rubygem-state_machine/Makefile (new)
  1.1       +2 -0      ports/devel/rubygem-state_machine/distinfo (new)
  1.1       +10 -0     ports/devel/rubygem-state_machine/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Steve Wills freebsd_committer freebsd_triage 2011-05-03 03:55:26 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!