README.md in hydra-validations-0.3.0 vs README.md in hydra-validations-0.3.1
- old
+ new
@@ -8,11 +8,10 @@
## Dependencies
* Ruby >= 1.9.3
* ActiveModel 4.x
-* ActiveFedora 7.x
## Installation
Include in your Gemfile:
@@ -90,12 +89,14 @@
=> ["value \"spam\" is not included in the list", "value \"eggs\" is not included in the list"]
> v.errors.full_messages
=> ["Field value \"spam\" is not included in the list", "Field value \"eggs\" is not included in the list"]
```
-### UniquenessValidator (ActiveFedora)
+### UniquenessValidator
Validates the uniqueness of an attribute based on a Solr index query.
+
+Intended for ActiveFedora 7.x.
```ruby
class UniquenessValidatable < ActiveFedora::Base
include Hydra::Validations
has_metadata name: 'descMetadata', type: ActiveFedora::QualifiedDublinCoreDatastream