Sha256: 209ee6ec4be0bc2fdff8c875879e47d4d3179618b89934470a2395a102cba098

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# -*- 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         = ["anthony@sticksnleaves.com"]
  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", ">= 5.0.0", "< 5.1"

  gem.add_development_dependency "paranoia"
  gem.add_development_dependency "database_cleaner"
  gem.add_development_dependency "rspec-rails"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paranoia_uniqueness_validator-2.0.0 paranoia_uniqueness_validator.gemspec