ports/157994: [new port] databases/rubygem-dm-rails

Ryan Steinmetz rpsfa at rit.edu
Sat Jun 18 15:40:07 UTC 2011


>Number:         157994
>Category:       ports
>Synopsis:       [new port] databases/rubygem-dm-rails
>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:   Sat Jun 18 15:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        8.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
>Description:
This port is dependent on ports/157993


This gem provides the railtie that allows datamapper to hook 
into rails3 and thus behave like a rails framework component. 
Just like activerecord does in rails, dm-rails uses the railtie 
API to hook into rails. The two are actually hooked into rails 
almost identically.

Creating new datamapper apps on rails3 from scratch is actually 
really easy. The following will guide you through the process.

WWW: http://rubygems.org/gems/dm-rails
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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-dm-rails
#	rubygem-dm-rails/Makefile
#	rubygem-dm-rails/distinfo
#	rubygem-dm-rails/pkg-descr
#
echo c - rubygem-dm-rails
mkdir -p rubygem-dm-rails > /dev/null 2>&1
echo x - rubygem-dm-rails/Makefile
sed 's/^X//' >rubygem-dm-rails/Makefile << '7e3d908552eab37dc0a41bad726029e1'
X# New ports collection makefile for:	rubygem-dm-rails
X# Date created:		2011-06-16
X# Whom:			Ryan Steinmetz <rpsfa at rit.edu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dm-rails
XPORTVERSION=	1.0.4
XCATEGORIES=	databases rubygems
XMASTER_SITES=	RG
X
XMAINTAINER=	rpsfa at rit.edu
XCOMMENT=	Integrate DataMapper with Rails 3
X
XRUN_DEPENDS=	rubygem-actionpack>=3.0.0:${PORTSDIR}/www/rubygem-actionpack \
X		rubygem-activesupport>=3.0.0:${PORTSDIR}/devel/rubygem-activesupport \
X		rubygem-dm-active_model>=1.0.3:${PORTSDIR}/databases/rubygem-dm-active_model \
X		rubygem-dm-core>=1.0.0:${PORTSDIR}/databases/rubygem-dm-core \
X		rubygem-railties>=3.0.0:${PORTSDIR}/www/rubygem-railties
X
XUSE_RUBY=	yes
XUSE_RUBYGEMS=	yes
XRUBYGEM_AUTOPLIST=	yes
X
X.include <bsd.port.mk>
7e3d908552eab37dc0a41bad726029e1
echo x - rubygem-dm-rails/distinfo
sed 's/^X//' >rubygem-dm-rails/distinfo << '6f5d6d1723a3caa3849c129f550389d1'
XSHA256 (rubygem/dm-rails-1.0.4.gem) = 138ad2bbd2f9aed7eeb235393493f53596a760c5fb35f9522221f29083a3c494
XSIZE (rubygem/dm-rails-1.0.4.gem) = 22528
6f5d6d1723a3caa3849c129f550389d1
echo x - rubygem-dm-rails/pkg-descr
sed 's/^X//' >rubygem-dm-rails/pkg-descr << 'f3b8823c2900dd687f625740afd2813b'
XThis gem provides the railtie that allows datamapper to hook 
Xinto rails3 and thus behave like a rails framework component. 
XJust like activerecord does in rails, dm-rails uses the railtie 
XAPI to hook into rails. The two are actually hooked into rails 
Xalmost identically.
X
XCreating new datamapper apps on rails3 from scratch is actually 
Xreally easy. The following will guide you through the process.
X
XWWW: http://rubygems.org/gems/dm-rails
f3b8823c2900dd687f625740afd2813b
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list