Clojure
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/validateur Fix format validator Apr 12, 2017
test/validateur Test update Dec 30, 2017
.gitignore Ignore pom.xml.asc Dec 14, 2014
.travis.yml sudo: false is sufficient for our needs Dec 30, 2017
ChangeLog.md 2.6.0 is out Dec 30, 2017
README.md 2.6.0 is out Dec 30, 2017
project.clj 2.6.0 is out Dec 30, 2017

README.md

Validateur, a Clojure(Script) Validation Library

Validateur is a Clojure(Script) validation library inspired by Ruby's ActiveModel. Validateur is functional: validators are functions, validation sets are higher-order functions, validation results are returned as values.

Supported Clojure versions

Validateur requires Clojure 1.7+/ClojureScript 0.0-2138+.

Maven Artifacts

Validateur artifacts are released to Clojars. If you are using Maven, add the following repository definition to your pom.xml:

<repository>
  <id>clojars.org</id>
  <url>http://clojars.org/repo</url>
</repository>

The Latest Release

With Leiningen:

[com.novemberain/validateur "2.6.0"]

With Maven:

<dependency>
  <groupId>com.novemberain</groupId>
  <artifactId>validateur</artifactId>
  <version>2.6.0</version>
</dependency>

Documentation & Examples

Please refer to the documentation guides for Validateur.

Our test suite has usage examples for each validator, built-in validation functions have docstrings.

Continuous Integration

Continuous Integration status

Development

Validateur uses Leiningen 2. Make sure you have it installed and then run tests against all supported Clojure versions and a recent release of ClojureScript using

lein all do clean, test

Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request on Github.

License

Copyright (C) 2011-2018 Michael S. Klishin, Alex Petrov, the ClojureWerkz team, and contributors.

Distributed under the Eclipse Public License, the same as Clojure.