summaryrefslogtreecommitdiff
path: root/databases/ruby-dm-sweatshop
diff options
context:
space:
mode:
authortaca <taca>2011-12-17 17:32:33 +0000
committertaca <taca>2011-12-17 17:32:33 +0000
commit3642c0fad7c4a74238642bd57e7d7b11257f750e (patch)
tree4dfefd2e2bdd2080b5f36ecf2d2314e97218083d /databases/ruby-dm-sweatshop
parentc36213615706a98ac4b55a6d494a2726a3e2db7f (diff)
downloadpkgsrc-3642c0fad7c4a74238642bd57e7d7b11257f750e.tar.gz
Importing databases/ruby-dm-sweatshop package version 1.2.0.
dm-sweatshop is a model factory for DataMapper. It makes it easy & painless to crank out complex pseudo random models -- useful for tests and seed data. Production Goals: * Easy generation of random models with data that fits the application domain. * Simple syntax for declaring and generating model patterns. * Add context to model patterns, allowing grouping and * Effortlessly generate or fill in associations for creating complex models with few lines of code.
Diffstat (limited to 'databases/ruby-dm-sweatshop')
-rw-r--r--databases/ruby-dm-sweatshop/DESCR9
-rw-r--r--databases/ruby-dm-sweatshop/Makefile16
-rw-r--r--databases/ruby-dm-sweatshop/PLIST23
-rw-r--r--databases/ruby-dm-sweatshop/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/databases/ruby-dm-sweatshop/DESCR b/databases/ruby-dm-sweatshop/DESCR
new file mode 100644
index 00000000000..9152c3b2e12
--- /dev/null
+++ b/databases/ruby-dm-sweatshop/DESCR
@@ -0,0 +1,9 @@
+dm-sweatshop is a model factory for DataMapper. It makes it easy & painless
+to crank out complex pseudo random models -- useful for tests and seed data.
+Production Goals:
+
+* Easy generation of random models with data that fits the application domain.
+* Simple syntax for declaring and generating model patterns.
+* Add context to model patterns, allowing grouping and
+* Effortlessly generate or fill in associations for creating complex models
+ with few lines of code.
diff --git a/databases/ruby-dm-sweatshop/Makefile b/databases/ruby-dm-sweatshop/Makefile
new file mode 100644
index 00000000000..6bac26c76d5
--- /dev/null
+++ b/databases/ruby-dm-sweatshop/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/12/17 17:32:33 taca Exp $
+
+DISTNAME= dm-sweatshop-1.2.0
+CATEGORIES= databases
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/datamapper/dm-sweatshop
+COMMENT= DataMapper plugin for building pseudo random models
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-dm-core>=1.2.0<1.3:../../databases/ruby-dm-core
+DEPENDS+= ${RUBY_PKGPREFIX}-randexp>=0.1.5<0.2:../../devel/ruby-randexp
+DEPENDS+= ${RUBY_PKGPREFIX}-parsetree>=3.0.7<3.1:../../devel/ruby-parsetree
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-dm-sweatshop/PLIST b/databases/ruby-dm-sweatshop/PLIST
new file mode 100644
index 00000000000..2b57546e236
--- /dev/null
+++ b/databases/ruby-dm-sweatshop/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/17 17:32:33 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/VERSION
+${GEM_LIBDIR}/dm-sweatshop.gemspec
+${GEM_LIBDIR}/lib/dm-sweatshop.rb
+${GEM_LIBDIR}/lib/dm-sweatshop/model.rb
+${GEM_LIBDIR}/lib/dm-sweatshop/support/class_attributes.rb
+${GEM_LIBDIR}/lib/dm-sweatshop/sweatshop.rb
+${GEM_LIBDIR}/lib/dm-sweatshop/unique.rb
+${GEM_LIBDIR}/spec/dm-sweatshop/model_spec.rb
+${GEM_LIBDIR}/spec/dm-sweatshop/sweatshop_spec.rb
+${GEM_LIBDIR}/spec/dm-sweatshop/unique_spec.rb
+${GEM_LIBDIR}/spec/rcov.opts
+${GEM_LIBDIR}/spec/spec.opts
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/tasks/spec.rake
+${GEM_LIBDIR}/tasks/yard.rake
+${GEM_LIBDIR}/tasks/yardstick.rake
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/databases/ruby-dm-sweatshop/distinfo b/databases/ruby-dm-sweatshop/distinfo
new file mode 100644
index 00000000000..77a1520e61f
--- /dev/null
+++ b/databases/ruby-dm-sweatshop/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/12/17 17:32:33 taca Exp $
+
+SHA1 (dm-sweatshop-1.2.0.gem) = 3e159e7fae38b2b3ced2526b69ef17c65e7cb68f
+RMD160 (dm-sweatshop-1.2.0.gem) = 8ee7fb6a78d5c5b9ab1a85c8e3660754c87a6bda
+Size (dm-sweatshop-1.2.0.gem) = 15360 bytes