diff options
author | taca <taca@pkgsrc.org> | 2011-12-17 17:35:27 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-12-17 17:35:27 +0000 |
commit | 0f7a470ae61cd036c1674feb7dfc03b15a7f2c2d (patch) | |
tree | 23fdefd72f523a9f4630fbfdc4c5c04e9e264b2d /databases/ruby-dm-rails | |
parent | bd50e22071883f067e451af1ef22cbb961370090 (diff) | |
download | pkgsrc-0f7a470ae61cd036c1674feb7dfc03b15a7f2c2d.tar.gz |
Importing databases/ruby-dm-rails package version 1.2.0.
Dm-rails 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.
Diffstat (limited to 'databases/ruby-dm-rails')
-rw-r--r-- | databases/ruby-dm-rails/DESCR | 7 | ||||
-rw-r--r-- | databases/ruby-dm-rails/Makefile | 19 | ||||
-rw-r--r-- | databases/ruby-dm-rails/PLIST | 40 | ||||
-rw-r--r-- | databases/ruby-dm-rails/distinfo | 5 |
4 files changed, 71 insertions, 0 deletions
diff --git a/databases/ruby-dm-rails/DESCR b/databases/ruby-dm-rails/DESCR new file mode 100644 index 00000000000..eab2cd0da0b --- /dev/null +++ b/databases/ruby-dm-rails/DESCR @@ -0,0 +1,7 @@ +Dm-rails 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. diff --git a/databases/ruby-dm-rails/Makefile b/databases/ruby-dm-rails/Makefile new file mode 100644 index 00000000000..4d2227a9dc8 --- /dev/null +++ b/databases/ruby-dm-rails/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/12/17 17:35:27 taca Exp $ + +DISTNAME= dm-rails-1.2.0 +CATEGORIES= databases + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/datamapper/dm-rails +COMMENT= Use DataMapper with Rails 3 +LICENSE= mit + +DEPENDS+= ${RUBY_PKGPREFIX}-dm-core>=1.2.0<1.3:../../databases/ruby-dm-core +DEPENDS+= ${RUBY_PKGPREFIX}-dm-active_model>=1.2.0<1.3:../../databases/ruby-dm-active_model +DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS} +DEPENDS+= ${RUBY_RAILTIES_DEPENDS} + +RUBY_RAILS_SUPPORTED= 31 + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-dm-rails/PLIST b/databases/ruby-dm-rails/PLIST new file mode 100644 index 00000000000..d61ff1fdaec --- /dev/null +++ b/databases/ruby-dm-rails/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/17 17:35:27 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.document +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/VERSION +${GEM_LIBDIR}/dm-rails.gemspec +${GEM_LIBDIR}/lib/dm-rails.rb +${GEM_LIBDIR}/lib/dm-rails/configuration.rb +${GEM_LIBDIR}/lib/dm-rails/mass_assignment_security.rb +${GEM_LIBDIR}/lib/dm-rails/middleware/identity_map.rb +${GEM_LIBDIR}/lib/dm-rails/multiparameter_attributes.rb +${GEM_LIBDIR}/lib/dm-rails/railtie.rb +${GEM_LIBDIR}/lib/dm-rails/railties/controller_runtime.rb +${GEM_LIBDIR}/lib/dm-rails/railties/database.rake +${GEM_LIBDIR}/lib/dm-rails/railties/i18n_support.rb +${GEM_LIBDIR}/lib/dm-rails/railties/log_listener.rb +${GEM_LIBDIR}/lib/dm-rails/railties/log_subscriber.rb +${GEM_LIBDIR}/lib/dm-rails/session_store.rb +${GEM_LIBDIR}/lib/dm-rails/setup.rb +${GEM_LIBDIR}/lib/dm-rails/storage.rb +${GEM_LIBDIR}/lib/generators/data_mapper.rb +${GEM_LIBDIR}/lib/generators/data_mapper/migration/migration_generator.rb +${GEM_LIBDIR}/lib/generators/data_mapper/migration/templates/migration.rb +${GEM_LIBDIR}/lib/generators/data_mapper/model/model_generator.rb +${GEM_LIBDIR}/lib/generators/data_mapper/model/templates/model.rb +${GEM_LIBDIR}/lib/generators/data_mapper/observer/observer_generator.rb +${GEM_LIBDIR}/lib/generators/data_mapper/observer/templates/observer.rb +${GEM_LIBDIR}/spec/models/fake.rb +${GEM_LIBDIR}/spec/models/topic.rb +${GEM_LIBDIR}/spec/spec.opts +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_LIBDIR}/spec/unit/mass_assignment_security_spec.rb +${GEM_LIBDIR}/spec/unit/multiparameter_attributes_spec.rb +${GEM_LIBDIR}/tasks/clean.rake +${GEM_LIBDIR}/tasks/yard.rake +${GEM_LIBDIR}/tasks/yardstick.rake +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/databases/ruby-dm-rails/distinfo b/databases/ruby-dm-rails/distinfo new file mode 100644 index 00000000000..23176d899b6 --- /dev/null +++ b/databases/ruby-dm-rails/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/12/17 17:35:27 taca Exp $ + +SHA1 (dm-rails-1.2.0.gem) = 9c6221575b38c984701e250741d0e07e314c699c +RMD160 (dm-rails-1.2.0.gem) = 8ca5d92d1454e60b6cb1ebc5b16d35bcc74ccd54 +Size (dm-rails-1.2.0.gem) = 27136 bytes |