summaryrefslogtreecommitdiff
path: root/databases/ruby-dm-validations
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-11 23:54:24 +0000
committertaca <taca@pkgsrc.org>2010-09-11 23:54:24 +0000
commit27ce295f576a535e7ada8fe5cbc66181286857cb (patch)
tree328676a8bdc28aaa03b6a87da31b67032993918a /databases/ruby-dm-validations
parentcd91a93aa043240a2c7cb5bf6e461a00b99b3010 (diff)
downloadpkgsrc-27ce295f576a535e7ada8fe5cbc66181286857cb.tar.gz
Importing databases/ruby-dm-validations 1.0.2.
This is a DataMapper plugin that provides validations for DataMapper model classes.
Diffstat (limited to 'databases/ruby-dm-validations')
-rw-r--r--databases/ruby-dm-validations/DESCR2
-rw-r--r--databases/ruby-dm-validations/Makefile14
-rw-r--r--databases/ruby-dm-validations/PLIST148
-rw-r--r--databases/ruby-dm-validations/distinfo5
4 files changed, 169 insertions, 0 deletions
diff --git a/databases/ruby-dm-validations/DESCR b/databases/ruby-dm-validations/DESCR
new file mode 100644
index 00000000000..0c0e7c8c348
--- /dev/null
+++ b/databases/ruby-dm-validations/DESCR
@@ -0,0 +1,2 @@
+This is a DataMapper plugin that provides validations for DataMapper
+model classes.
diff --git a/databases/ruby-dm-validations/Makefile b/databases/ruby-dm-validations/Makefile
new file mode 100644
index 00000000000..eedc7f10b18
--- /dev/null
+++ b/databases/ruby-dm-validations/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/11 23:54:24 taca Exp $
+
+DISTNAME= dm-validations-1.0.2
+CATEGORIES= databases
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/datamapper/dm-validations
+COMMENT= Library for validations on DM models and pure Ruby object
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-dm-core>=1.0.2:../../databases/ruby-dm-core
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-dm-validations/PLIST b/databases/ruby-dm-validations/PLIST
new file mode 100644
index 00000000000..bee1f625dbc
--- /dev/null
+++ b/databases/ruby-dm-validations/PLIST
@@ -0,0 +1,148 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/11 23:54:25 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/VERSION
+${GEM_LIBDIR}/dm-validations.gemspec
+${GEM_LIBDIR}/lib/dm-validations.rb
+${GEM_LIBDIR}/lib/dm-validations/auto_validate.rb
+${GEM_LIBDIR}/lib/dm-validations/contextual_validators.rb
+${GEM_LIBDIR}/lib/dm-validations/exceptions.rb
+${GEM_LIBDIR}/lib/dm-validations/formats/email.rb
+${GEM_LIBDIR}/lib/dm-validations/formats/url.rb
+${GEM_LIBDIR}/lib/dm-validations/support/context.rb
+${GEM_LIBDIR}/lib/dm-validations/support/object.rb
+${GEM_LIBDIR}/lib/dm-validations/validation_errors.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/absent_field_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/acceptance_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/block_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/confirmation_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/format_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/generic_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/length_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/method_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/numeric_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/primitive_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/required_field_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/uniqueness_validator.rb
+${GEM_LIBDIR}/lib/dm-validations/validators/within_validator.rb
+${GEM_LIBDIR}/spec/fixtures/barcode.rb
+${GEM_LIBDIR}/spec/fixtures/basketball_court.rb
+${GEM_LIBDIR}/spec/fixtures/basketball_player.rb
+${GEM_LIBDIR}/spec/fixtures/beta_tester_account.rb
+${GEM_LIBDIR}/spec/fixtures/bill_of_landing.rb
+${GEM_LIBDIR}/spec/fixtures/boat_dock.rb
+${GEM_LIBDIR}/spec/fixtures/city.rb
+${GEM_LIBDIR}/spec/fixtures/company.rb
+${GEM_LIBDIR}/spec/fixtures/corporate_world.rb
+${GEM_LIBDIR}/spec/fixtures/country.rb
+${GEM_LIBDIR}/spec/fixtures/ethernet_frame.rb
+${GEM_LIBDIR}/spec/fixtures/event.rb
+${GEM_LIBDIR}/spec/fixtures/g3_concert.rb
+${GEM_LIBDIR}/spec/fixtures/jabberwock.rb
+${GEM_LIBDIR}/spec/fixtures/kayak.rb
+${GEM_LIBDIR}/spec/fixtures/lernean_hydra.rb
+${GEM_LIBDIR}/spec/fixtures/mathematical_function.rb
+${GEM_LIBDIR}/spec/fixtures/memory_object.rb
+${GEM_LIBDIR}/spec/fixtures/mittelschnauzer.rb
+${GEM_LIBDIR}/spec/fixtures/motor_launch.rb
+${GEM_LIBDIR}/spec/fixtures/multibyte.rb
+${GEM_LIBDIR}/spec/fixtures/page.rb
+${GEM_LIBDIR}/spec/fixtures/phone_number.rb
+${GEM_LIBDIR}/spec/fixtures/pirogue.rb
+${GEM_LIBDIR}/spec/fixtures/programming_language.rb
+${GEM_LIBDIR}/spec/fixtures/reservation.rb
+${GEM_LIBDIR}/spec/fixtures/scm_operation.rb
+${GEM_LIBDIR}/spec/fixtures/sms_message.rb
+${GEM_LIBDIR}/spec/fixtures/udp_packet.rb
+${GEM_LIBDIR}/spec/integration/absent_field_validator/absent_field_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/absent_field_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/acceptance_validator/acceptance_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/acceptance_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/custom_messages_for_inferred_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/disabling_inferred_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_boolean_properties_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_float_property_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_format_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_integer_properties_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_length_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_presence_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_primitive_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/inferred_within_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/automatic_validation/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/block_validator/block_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/block_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/conditional_validation/if_condition_spec.rb
+${GEM_LIBDIR}/spec/integration/conditional_validation/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/confirmation_validator/confirmation_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/confirmation_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/datamapper_models/association_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/datamapper_models/inheritance_spec.rb
+${GEM_LIBDIR}/spec/integration/duplicated_validations/duplicated_validations_spec.rb
+${GEM_LIBDIR}/spec/integration/duplicated_validations/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/format_validator/email_format_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/format_validator/format_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/format_validator/regexp_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/format_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/format_validator/url_format_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/length_validator/default_value_spec.rb
+${GEM_LIBDIR}/spec/integration/length_validator/equality_spec.rb
+${GEM_LIBDIR}/spec/integration/length_validator/error_message_spec.rb
+${GEM_LIBDIR}/spec/integration/length_validator/maximum_spec.rb
+${GEM_LIBDIR}/spec/integration/length_validator/minimum_spec.rb
+${GEM_LIBDIR}/spec/integration/length_validator/range_spec.rb
+${GEM_LIBDIR}/spec/integration/length_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/method_validator/method_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/method_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/equality_with_float_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/equality_with_integer_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/float_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/gt_with_float_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/gte_with_float_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/integer_only_true_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/integer_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/lt_with_float_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/lte_with_float_type_spec.rb
+${GEM_LIBDIR}/spec/integration/numeric_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/primitive_validator/primitive_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/primitive_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/pure_ruby_objects/plain_old_ruby_object_validation_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/association_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/boolean_type_value_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/date_type_value_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/datetime_type_value_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/float_type_value_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/integer_type_value_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/plain_old_ruby_object_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/shared_examples.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/string_type_value_spec.rb
+${GEM_LIBDIR}/spec/integration/required_field_validator/text_type_value_spec.rb
+${GEM_LIBDIR}/spec/integration/shared/default_validation_context.rb
+${GEM_LIBDIR}/spec/integration/shared/valid_and_invalid_model.rb
+${GEM_LIBDIR}/spec/integration/uniqueness_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/uniqueness_validator/uniqueness_validator_spec.rb
+${GEM_LIBDIR}/spec/integration/within_validator/spec_helper.rb
+${GEM_LIBDIR}/spec/integration/within_validator/within_validator_spec.rb
+${GEM_LIBDIR}/spec/public/resource_spec.rb
+${GEM_LIBDIR}/spec/rcov.opts
+${GEM_LIBDIR}/spec/spec.opts
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/unit/contextual_validators/emptiness_spec.rb
+${GEM_LIBDIR}/spec/unit/contextual_validators/execution_spec.rb
+${GEM_LIBDIR}/spec/unit/contextual_validators/spec_helper.rb
+${GEM_LIBDIR}/spec/unit/generic_validator/equality_operator_spec.rb
+${GEM_LIBDIR}/spec/unit/validation_errors/adding_spec.rb
+${GEM_LIBDIR}/spec/unit/validation_errors/emptiness_spec.rb
+${GEM_LIBDIR}/spec/unit/validation_errors/enumerable_spec.rb
+${GEM_LIBDIR}/spec/unit/validation_errors/reading_spec.rb
+${GEM_LIBDIR}/tasks/ci.rake
+${GEM_LIBDIR}/tasks/local_gemfile.rake
+${GEM_LIBDIR}/tasks/metrics.rake
+${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-validations/distinfo b/databases/ruby-dm-validations/distinfo
new file mode 100644
index 00000000000..d606e5cf64d
--- /dev/null
+++ b/databases/ruby-dm-validations/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/11 23:54:25 taca Exp $
+
+SHA1 (dm-validations-1.0.2.gem) = 9dce1cb422aeb6c44d62907ef112e26e7a2b25d8
+RMD160 (dm-validations-1.0.2.gem) = de40c2a484ea82474976df15cccebcb21081055f
+Size (dm-validations-1.0.2.gem) = 51712 bytes