-
Notifications
You must be signed in to change notification settings - Fork 5
/
validates_by_schema.gemspec
35 lines (29 loc) · 1.48 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
29
30
31
32
33
34
35
$LOAD_PATH.push File.expand_path('lib', __dir__)
# Maintain your gem's version:
require 'validates_by_schema/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'validates_by_schema'
s.version = ValidatesBySchema::VERSION
s.authors = ['Josh Lewis', 'Pascal Zumkehr']
s.email = ['[email protected]', '[email protected]']
s.homepage = 'https://github.com/joshwlewis/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, inclusion and ' \
'uniqueness of ActiveRecord backed columns.'
s.license = 'MIT'
s.metadata['homepage_uri'] = s.homepage
s.metadata['source_code_uri'] = 'https://github.com/joshwlewis/validates_by_schema'
s.metadata['changelog_uri'] = 'https://github.com/joshwlewis/validates_by_schema/blob/master/CHANGELOG.md'
s.files = Dir['{lib}/**/*'] + ['MIT-LICENSE', 'Rakefile', 'README.md']
s.test_files = Dir['spec/**/*']
s.require_paths = ['lib']
s.add_dependency 'activerecord', '>= 7.0.0'
s.add_development_dependency 'mysql2'
s.add_development_dependency 'pg'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'shoulda-matchers'
s.add_development_dependency 'sqlite3'
end