-
Notifications
You must be signed in to change notification settings - Fork 12
/
uniqueness.gemspec
29 lines (24 loc) · 1.12 KB
/
uniqueness.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
26
27
28
29
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'uniqueness/version'
Gem::Specification.new do |spec|
spec.name = 'uniqueness'
spec.version = Uniqueness::VERSION
spec.authors = ['Omar Abdel-Wahab']
spec.email = ['[email protected]']
spec.summary = 'Adds unique attribute support to ActiveModel models.'
spec.homepage = 'https://github.com/eventtus/uniqueness'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.license = 'MIT'
spec.add_development_dependency 'bundler', '~> 1.17'
spec.add_development_dependency 'rake', '~> 12.0'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'sqlite3', '~> 1.3', '< 1.4'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'appraisal'
spec.add_dependency 'activerecord', '>= 4.0.0'
spec.add_dependency 'railties', '>= 4.0.0'
end