-
Notifications
You must be signed in to change notification settings - Fork 11
/
validation_scopes.gemspec
32 lines (26 loc) · 1.05 KB
/
validation_scopes.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
version = File.read(File.expand_path("../VERSION",__FILE__)).strip
Gem::Specification.new do |s|
s.name = "validation_scopes"
s.version = version
s.authors = ["Gabe da Silveira"]
s.description = "Define additional sets of validations beyond the standard \"errors\" that is tied to the ActiveRecord life-cycle. These additional sets can be defined with all the standard ActiveRecord::Validation macros, and the resulting collection is a standard ActiveRecord::Errors object."
s.email = "gabe@websaviour.com"
s.extra_rdoc_files = [
"LICENSE",
"README.md"
]
s.files = [
"CHANGELOG.md",
"LICENSE",
"README.md",
"lib/validation_scopes.rb"
]
s.homepage = "http://github.com/gtd/validation_scopes"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.22"
s.summary = "Create sets of validations independent of the life-cycle of an ActiveRecord object"
s.required_ruby_version = '>= 1.9.2'
s.add_dependency 'activerecord', '>= 3', '< 6.2'
s.add_development_dependency 'rake'
s.add_development_dependency 'sqlite3'
end