summaryrefslogtreecommitdiff
path: root/devel/ruby-validatable
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-04 15:18:49 +0000
committerjlam <jlam@pkgsrc.org>2008-04-04 15:18:49 +0000
commit993ca7ab3c888a67663dcc0b9a27f00900422b62 (patch)
tree49d9ab25591e6b91245265b52c225dfee0173eb2 /devel/ruby-validatable
parentb7e3044d8a661372bc39a22f0ac652f0b4e836ad (diff)
downloadpkgsrc-993ca7ab3c888a67663dcc0b9a27f00900422b62.tar.gz
Initial import of ruby18-validatable-1.6.7 as devel/ruby-validatable.
The validatable library can be included with any Ruby class and provide validations similar to ActiveRecord's. The library follows ActiveRecord's lead for features that are similar and introduces new features.
Diffstat (limited to 'devel/ruby-validatable')
-rw-r--r--devel/ruby-validatable/DESCR3
-rw-r--r--devel/ruby-validatable/Makefile12
-rw-r--r--devel/ruby-validatable/PLIST52
-rw-r--r--devel/ruby-validatable/distinfo5
4 files changed, 72 insertions, 0 deletions
diff --git a/devel/ruby-validatable/DESCR b/devel/ruby-validatable/DESCR
new file mode 100644
index 00000000000..edb549d3c99
--- /dev/null
+++ b/devel/ruby-validatable/DESCR
@@ -0,0 +1,3 @@
+The validatable library can be included with any Ruby class and provide
+validations similar to ActiveRecord's. The library follows ActiveRecord's
+lead for features that are similar and introduces new features.
diff --git a/devel/ruby-validatable/Makefile b/devel/ruby-validatable/Makefile
new file mode 100644
index 00000000000..1d15c2abc8c
--- /dev/null
+++ b/devel/ruby-validatable/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:18:49 jlam Exp $
+
+DISTNAME= validatable-1.6.7
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://validatable.rubyforge.org/
+COMMENT= Library for adding database/object validations
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-validatable/PLIST b/devel/ruby-validatable/PLIST
new file mode 100644
index 00000000000..a0f4120cea8
--- /dev/null
+++ b/devel/ruby-validatable/PLIST
@@ -0,0 +1,52 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:18:49 jlam Exp $
+${GEM_HOME}/cache/validatable-${PKGVERSION}.gem
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/lib/child_validation.rb
+${GEM_LIBDIR}/lib/errors.rb
+${GEM_LIBDIR}/lib/included_validation.rb
+${GEM_LIBDIR}/lib/macros.rb
+${GEM_LIBDIR}/lib/object_extension.rb
+${GEM_LIBDIR}/lib/requireable.rb
+${GEM_LIBDIR}/lib/understandable.rb
+${GEM_LIBDIR}/lib/validatable.rb
+${GEM_LIBDIR}/lib/validatable_class_methods.rb
+${GEM_LIBDIR}/lib/validatable_instance_methods.rb
+${GEM_LIBDIR}/lib/validations/validates_acceptance_of.rb
+${GEM_LIBDIR}/lib/validations/validates_confirmation_of.rb
+${GEM_LIBDIR}/lib/validations/validates_each.rb
+${GEM_LIBDIR}/lib/validations/validates_format_of.rb
+${GEM_LIBDIR}/lib/validations/validates_length_of.rb
+${GEM_LIBDIR}/lib/validations/validates_numericality_of.rb
+${GEM_LIBDIR}/lib/validations/validates_presence_of.rb
+${GEM_LIBDIR}/lib/validations/validates_true_for.rb
+${GEM_LIBDIR}/lib/validations/validation_base.rb
+${GEM_LIBDIR}/rakefile.rb
+${GEM_LIBDIR}/test/all_tests.rb
+${GEM_LIBDIR}/test/functional/validatable_test.rb
+${GEM_LIBDIR}/test/functional/validates_acceptance_of_test.rb
+${GEM_LIBDIR}/test/functional/validates_confirmation_of_test.rb
+${GEM_LIBDIR}/test/functional/validates_each_test.rb
+${GEM_LIBDIR}/test/functional/validates_format_of_test.rb
+${GEM_LIBDIR}/test/functional/validates_length_of_test.rb
+${GEM_LIBDIR}/test/functional/validates_numericality_of_test.rb
+${GEM_LIBDIR}/test/functional/validates_presence_of_test.rb
+${GEM_LIBDIR}/test/functional/validates_true_for_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_LIBDIR}/test/unit/errors_test.rb
+${GEM_LIBDIR}/test/unit/understandable_test.rb
+${GEM_LIBDIR}/test/unit/validatable_test.rb
+${GEM_LIBDIR}/test/unit/validates_acceptance_of_test.rb
+${GEM_LIBDIR}/test/unit/validates_confirmation_of_test.rb
+${GEM_LIBDIR}/test/unit/validates_format_of_test.rb
+${GEM_LIBDIR}/test/unit/validates_length_of_test.rb
+${GEM_LIBDIR}/test/unit/validates_numericality_of_test.rb
+${GEM_LIBDIR}/test/unit/validates_presence_of_test.rb
+${GEM_LIBDIR}/test/unit/validates_true_for_test.rb
+${GEM_LIBDIR}/test/unit/validation_base_test.rb
+${GEM_HOME}/specifications/validatable-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test/unit
+@dirrm ${GEM_LIBDIR}/test/functional
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/validations
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}
diff --git a/devel/ruby-validatable/distinfo b/devel/ruby-validatable/distinfo
new file mode 100644
index 00000000000..cc085729eea
--- /dev/null
+++ b/devel/ruby-validatable/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:18:49 jlam Exp $
+
+SHA1 (validatable-1.6.7.gem) = a3cf58e5e441de86d5a532316fef0b264f1c8655
+RMD160 (validatable-1.6.7.gem) = a32528608fae27e37e5015c721201eb9bbf3204b
+Size (validatable-1.6.7.gem) = 15872 bytes