-
Notifications
You must be signed in to change notification settings - Fork 232
/
validates_timeliness.gemspec
33 lines (27 loc) · 1.33 KB
/
validates_timeliness.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "validates_timeliness/version"
Gem::Specification.new do |s|
github_url = 'https://github.com/adzap/validates_timeliness'
s.name = "validates_timeliness"
s.version = ValidatesTimeliness::VERSION
s.authors = ["Adam Meehan"]
s.summary = %q{Date and time validation plugin for Rails which allows custom formats}
s.description = %q{Adds validation methods to ActiveModel for validating dates and times. Works with multiple ORMS.}
s.homepage = github_url
s.license = "MIT"
s.require_paths = ["lib"]
s.files = `git ls-files`.split("\n") - %w{ .gitignore .rspec Gemfile Gemfile.lock autotest/discover.rb Appraisals } - Dir['gemsfiles/*']
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE"]
s.metadata = {
"rubygems_mfa_required" => "true",
"bug_tracker_uri" => "#{github_url}/issues",
"changelog_uri" => "#{github_url}/blob/master/CHANGELOG.md",
"source_code_uri" => "#{github_url}",
"wiki_uri" => "#{github_url}/wiki",
}
s.add_runtime_dependency("activemodel", [">= 7.0.0", "< 8"])
s.add_runtime_dependency("timeliness", [">= 0.3.10", "< 1"])
end