forked from anthonator/paranoia_uniqueness_validator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
paranoia_uniqueness_validator.gemspec
25 lines (21 loc) · 1.1 KB
/
paranoia_uniqueness_validator.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'paranoia_uniqueness_validator/version'
Gem::Specification.new do |gem|
gem.name = "paranoia_uniqueness_validator"
gem.version = ParanoiaUniquenessValidator::VERSION
gem.authors = ["Anthony Smith"]
gem.email = ["[email protected]"]
gem.description = %q{Adds the validates_uniqueness_without_deleted validator to ignore deleted fields when validating for uniqueness.}
gem.summary = %q{Validate unique fields without letting those pesky deleted records get in the way. Great for use with Paranoia.}
gem.homepage = ""
gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_dependency "activerecord", ">= 4.0.0"
gem.add_development_dependency "paranoia"
gem.add_development_dependency "database_cleaner"
gem.add_development_dependency "rspec-rails"
end