forked from codegram/date_validator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
date_validator.gemspec
28 lines (23 loc) · 1.26 KB
/
date_validator.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "date_validator/version"
Gem::Specification.new do |s|
s.name = "date_validator"
s.version = DateValidator::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Oriol Gual", "Josep M. Bach", "Josep Jaume Rey"]
s.email = ["info@codegram.com"]
s.homepage = "http://github.com/codegram/date_validator"
s.summary = %q{A simple, ORM agnostic, Ruby 1.9 compatible date validator for Rails 3, based on ActiveModel.}
s.description = %q{A simple, ORM agnostic, Ruby 1.9 compatible date validator for Rails 3, based on ActiveModel. Currently supporting :after, :before, :after_or_equal_to and :before_or_equal_to options.}
s.rubyforge_project = "date_validator"
s.add_runtime_dependency 'activemodel', ['>= 3.0.0', '< 3.3.0']
s.add_development_dependency 'minitest'
s.add_development_dependency 'rake'
s.add_development_dependency 'activesupport', ['>= 3.0.0', '< 3.3.0']
s.add_development_dependency 'tzinfo', '~> 0.3.0'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end