forked from joshwlewis/validates_by_schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalidates_by_schema.gemspec
28 lines (23 loc) · 1.17 KB
/
validates_by_schema.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
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
# Maintain your gem's version:
require 'validates_by_schema/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'codez-validates_by_schema'
s.version = ValidatesBySchema::VERSION
s.authors = ['Josh Lewis', 'Pascal Zumkehr']
s.email = ['josh.w.lewis@gmail.com', 'spam@codez.ch']
s.homepage = 'http://github.com/codez/validates_by_schema'
s.summary = 'Automatic validation based on your database schema column types and limits.'
s.description = 'Keep your code DRY by inferring column validations from table properties! Automagically validate presence, length, numericality, and inclusion of ActiveRecord backed columns.'
s.files = Dir['{lib}/**/*'] + ['MIT-LICENSE', 'Rakefile', 'README.md']
s.test_files = Dir['test/**/*']
s.require_paths = ['lib']
s.add_dependency 'activerecord', '>= 3.1.0'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'shoulda-matchers'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'pg'
s.add_development_dependency 'mysql2'
end