-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvalidates_type.gemspec
29 lines (24 loc) · 1.12 KB
/
validates_type.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__)
$:.unshift lib unless $:.include?(lib)
require './version'
Gem::Specification.new do |s|
s.name = 'validates_type'
s.version = ValidatesType::VERSION
s.summary = %q{Type validation for ActiveModel/ActiveRecord attributes}
s.description = %q{This library helps validate attributes to specific types in the same way that ActiveModel valiations work. Able to chain additional modifiers to each validation.}
s.authors = ['Jake Yesbeck']
s.email = '[email protected]'
s.homepage = 'http://rubygems.org/gems/validates_type'
s.license = 'MIT'
s.require_paths = ['lib']
s.files = `git ls-files`.split("\n")
s.test_files = s.files.grep(/^spec\//)
s.required_ruby_version = '>= 3.1.0'
s.add_dependency 'ruby-boolean', '~> 1.0'
s.add_dependency 'activemodel', '~> 7.0'
s.add_development_dependency 'bundler', '~> 2.0'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', '3.4'
s.add_development_dependency 'activerecord', '>= 3.0.0'
s.add_development_dependency 'sqlite3', '~> 1.3'
end