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 PR: ports/157994 Submitted by: Ryan Steinmetz <rpsfa at rit.edu>
This commit is contained in:
parent
977fa492b0
commit
7f7d05e7b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275798
4 changed files with 39 additions and 0 deletions
|
@ -757,6 +757,7 @@
|
|||
SUBDIR += rubygem-dm-pager
|
||||
SUBDIR += rubygem-dm-paperclip
|
||||
SUBDIR += rubygem-dm-postgres-adapter
|
||||
SUBDIR += rubygem-dm-rails
|
||||
SUBDIR += rubygem-dm-serializer
|
||||
SUBDIR += rubygem-dm-timestamps
|
||||
SUBDIR += rubygem-dm-transactions
|
||||
|
|
26
databases/rubygem-dm-rails/Makefile
Normal file
26
databases/rubygem-dm-rails/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# New ports collection makefile for: rubygem-dm-rails
|
||||
# Date created: 2011-06-16
|
||||
# Whom: Ryan Steinmetz <rpsfa@rit.edu>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dm-rails
|
||||
PORTVERSION= 1.0.4
|
||||
CATEGORIES= databases rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= rpsfa@rit.edu
|
||||
COMMENT= Integrate DataMapper with Rails 3
|
||||
|
||||
RUN_DEPENDS= rubygem-actionpack>=3.0.0:${PORTSDIR}/www/rubygem-actionpack \
|
||||
rubygem-activesupport>=3.0.0:${PORTSDIR}/devel/rubygem-activesupport \
|
||||
rubygem-dm-active_model>=1.0.3:${PORTSDIR}/databases/rubygem-dm-active_model \
|
||||
rubygem-dm-core>=1.0.0:${PORTSDIR}/databases/rubygem-dm-core \
|
||||
rubygem-railties>=3.0.0:${PORTSDIR}/www/rubygem-railties
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/rubygem-dm-rails/distinfo
Normal file
2
databases/rubygem-dm-rails/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (rubygem/dm-rails-1.0.4.gem) = 138ad2bbd2f9aed7eeb235393493f53596a760c5fb35f9522221f29083a3c494
|
||||
SIZE (rubygem/dm-rails-1.0.4.gem) = 22528
|
10
databases/rubygem-dm-rails/pkg-descr
Normal file
10
databases/rubygem-dm-rails/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
Loading…
Reference in a new issue