ae-validates_timeliness 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ require 'bundler'
2
+ require 'bundler/setup'
3
+
4
+ require 'appraisal'
5
+
6
+ Bundler::GemHelper.install_tasks
7
+
8
+ require 'rdoc/task'
9
+ require 'rspec/core/rake_task'
10
+
11
+ desc "Run specs"
12
+ RSpec::Core::RakeTask.new(:spec)
13
+
14
+ desc "Generate code coverage"
15
+ RSpec::Core::RakeTask.new(:coverage) do |t|
16
+ t.rcov = true
17
+ t.rcov_opts = ['--exclude', 'spec']
18
+ end
19
+
20
+ desc 'Generate documentation for plugin.'
21
+ Rake::RDocTask.new(:rdoc) do |rdoc|
22
+ rdoc.rdoc_dir = 'rdoc'
23
+ rdoc.title = 'ValidatesTimeliness'
24
+ rdoc.options << '--line-numbers' << '--inline-source'
25
+ rdoc.rdoc_files.include('README')
26
+ rdoc.rdoc_files.include('lib/**/*.rb')
27
+ end
28
+
29
+ desc 'Default: run specs.'
30
+ task :default => :spec
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "ae-validates_timeliness/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "ae-validates_timeliness"
7
+ s.version = ValidatesTimeliness::VERSION
8
+ s.authors = ["Paul Kmiec"]
9
+ s.summary = %q{Date and time validation plugin for Rails which allows custom formats}
10
+ s.description = %q{Adds validation methods to ActiveModel for validating dates and times. Works with multiple ORMS.}
11
+ s.email = %q{paul.kmiec@appfolio.com}
12
+ s.homepage = %q{http://github.com/appfolio/validates_timeliness}
13
+
14
+ s.files = Dir['**/*'].reject{ |f| f[%r{^pkg/}] || f[%r{^spec/}] }
15
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
+ s.require_paths = ["lib"]
17
+
18
+ s.add_runtime_dependency(%q<rails>, ["~> 4.0"])
19
+ s.add_runtime_dependency(%q<timeliness>, ["~> 0.3.7"])
20
+
21
+ s.add_development_dependency "coveralls"
22
+ s.add_development_dependency "rspec", "~> 3.0"
23
+ s.add_development_dependency "rspec-rails", "~> 3.0"
24
+ s.add_development_dependency "rspec-collection_matchers"
25
+ end
@@ -0,0 +1 @@
1
+ Autotest.add_discovery { "rspec2" }
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 4.0.0"
6
+ gem "timecop"
7
+ gem "appraisal"
8
+ gem "sqlite3"
9
+ gem "nokogiri"
10
+
11
+ group :active_record do
12
+ gem "sqlite3-ruby", :require => "sqlite3"
13
+ end
14
+
15
+ gemspec :path => "../"
@@ -0,0 +1,152 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ ae-validates_timeliness (3.1.3)
5
+ rails (~> 4.0)
6
+ timeliness (~> 0.3.7)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionmailer (4.0.13)
12
+ actionpack (= 4.0.13)
13
+ mail (~> 2.5, >= 2.5.4)
14
+ actionpack (4.0.13)
15
+ activesupport (= 4.0.13)
16
+ builder (~> 3.1.0)
17
+ erubis (~> 2.7.0)
18
+ rack (~> 1.5.2)
19
+ rack-test (~> 0.6.2)
20
+ activemodel (4.0.13)
21
+ activesupport (= 4.0.13)
22
+ builder (~> 3.1.0)
23
+ activerecord (4.0.13)
24
+ activemodel (= 4.0.13)
25
+ activerecord-deprecated_finders (~> 1.0.2)
26
+ activesupport (= 4.0.13)
27
+ arel (~> 4.0.0)
28
+ activerecord-deprecated_finders (1.0.4)
29
+ activesupport (4.0.13)
30
+ i18n (~> 0.6, >= 0.6.9)
31
+ minitest (~> 4.2)
32
+ multi_json (~> 1.3)
33
+ thread_safe (~> 0.1)
34
+ tzinfo (~> 0.3.37)
35
+ appraisal (2.0.2)
36
+ bundler
37
+ rake
38
+ thor (>= 0.14.0)
39
+ arel (4.0.2)
40
+ builder (3.1.4)
41
+ coveralls (0.8.2)
42
+ json (~> 1.8)
43
+ rest-client (>= 1.6.8, < 2)
44
+ simplecov (~> 0.10.0)
45
+ term-ansicolor (~> 1.3)
46
+ thor (~> 0.19.1)
47
+ diff-lcs (1.2.5)
48
+ docile (1.1.5)
49
+ domain_name (0.5.24)
50
+ unf (>= 0.0.5, < 1.0.0)
51
+ erubis (2.7.0)
52
+ http-cookie (1.0.2)
53
+ domain_name (~> 0.5)
54
+ i18n (0.7.0)
55
+ json (1.8.3)
56
+ mail (2.6.3)
57
+ mime-types (>= 1.16, < 3)
58
+ mime-types (2.6.1)
59
+ mini_portile (0.6.2)
60
+ minitest (4.7.5)
61
+ multi_json (1.11.2)
62
+ netrc (0.10.3)
63
+ nokogiri (1.6.6.2)
64
+ mini_portile (~> 0.6.0)
65
+ rack (1.5.5)
66
+ rack-test (0.6.3)
67
+ rack (>= 1.0)
68
+ rails (4.0.13)
69
+ actionmailer (= 4.0.13)
70
+ actionpack (= 4.0.13)
71
+ activerecord (= 4.0.13)
72
+ activesupport (= 4.0.13)
73
+ bundler (>= 1.3.0, < 2.0)
74
+ railties (= 4.0.13)
75
+ sprockets-rails (~> 2.0)
76
+ railties (4.0.13)
77
+ actionpack (= 4.0.13)
78
+ activesupport (= 4.0.13)
79
+ rake (>= 0.8.7)
80
+ thor (>= 0.18.1, < 2.0)
81
+ rake (10.4.2)
82
+ rest-client (1.8.0)
83
+ http-cookie (>= 1.0.2, < 2.0)
84
+ mime-types (>= 1.16, < 3.0)
85
+ netrc (~> 0.7)
86
+ rspec (3.3.0)
87
+ rspec-core (~> 3.3.0)
88
+ rspec-expectations (~> 3.3.0)
89
+ rspec-mocks (~> 3.3.0)
90
+ rspec-collection_matchers (1.1.2)
91
+ rspec-expectations (>= 2.99.0.beta1)
92
+ rspec-core (3.3.2)
93
+ rspec-support (~> 3.3.0)
94
+ rspec-expectations (3.3.1)
95
+ diff-lcs (>= 1.2.0, < 2.0)
96
+ rspec-support (~> 3.3.0)
97
+ rspec-mocks (3.3.2)
98
+ diff-lcs (>= 1.2.0, < 2.0)
99
+ rspec-support (~> 3.3.0)
100
+ rspec-rails (3.3.3)
101
+ actionpack (>= 3.0, < 4.3)
102
+ activesupport (>= 3.0, < 4.3)
103
+ railties (>= 3.0, < 4.3)
104
+ rspec-core (~> 3.3.0)
105
+ rspec-expectations (~> 3.3.0)
106
+ rspec-mocks (~> 3.3.0)
107
+ rspec-support (~> 3.3.0)
108
+ rspec-support (3.3.0)
109
+ simplecov (0.10.0)
110
+ docile (~> 1.1.0)
111
+ json (~> 1.8)
112
+ simplecov-html (~> 0.10.0)
113
+ simplecov-html (0.10.0)
114
+ sprockets (3.2.0)
115
+ rack (~> 1.0)
116
+ sprockets-rails (2.3.2)
117
+ actionpack (>= 3.0)
118
+ activesupport (>= 3.0)
119
+ sprockets (>= 2.8, < 4.0)
120
+ sqlite3 (1.3.10)
121
+ sqlite3-ruby (1.3.3)
122
+ sqlite3 (>= 1.3.3)
123
+ term-ansicolor (1.3.2)
124
+ tins (~> 1.0)
125
+ thor (0.19.1)
126
+ thread_safe (0.3.5)
127
+ timecop (0.7.4)
128
+ timeliness (0.3.7)
129
+ tins (1.5.4)
130
+ tzinfo (0.3.44)
131
+ unf (0.1.4)
132
+ unf_ext
133
+ unf_ext (0.0.7.1)
134
+
135
+ PLATFORMS
136
+ ruby
137
+
138
+ DEPENDENCIES
139
+ ae-validates_timeliness!
140
+ appraisal
141
+ coveralls
142
+ nokogiri
143
+ rails (~> 4.0.0)
144
+ rspec (~> 3.0)
145
+ rspec-collection_matchers
146
+ rspec-rails (~> 3.0)
147
+ sqlite3
148
+ sqlite3-ruby
149
+ timecop
150
+
151
+ BUNDLED WITH
152
+ 1.10.5
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 4.1.0"
6
+ gem "timecop"
7
+ gem "appraisal"
8
+ gem "sqlite3"
9
+ gem "nokogiri"
10
+
11
+ group :active_record do
12
+ gem "sqlite3-ruby", :require => "sqlite3"
13
+ end
14
+
15
+ gemspec :path => "../"
@@ -0,0 +1,156 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ ae-validates_timeliness (3.1.3)
5
+ rails (~> 4.0)
6
+ timeliness (~> 0.3.7)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionmailer (4.1.12)
12
+ actionpack (= 4.1.12)
13
+ actionview (= 4.1.12)
14
+ mail (~> 2.5, >= 2.5.4)
15
+ actionpack (4.1.12)
16
+ actionview (= 4.1.12)
17
+ activesupport (= 4.1.12)
18
+ rack (~> 1.5.2)
19
+ rack-test (~> 0.6.2)
20
+ actionview (4.1.12)
21
+ activesupport (= 4.1.12)
22
+ builder (~> 3.1)
23
+ erubis (~> 2.7.0)
24
+ activemodel (4.1.12)
25
+ activesupport (= 4.1.12)
26
+ builder (~> 3.1)
27
+ activerecord (4.1.12)
28
+ activemodel (= 4.1.12)
29
+ activesupport (= 4.1.12)
30
+ arel (~> 5.0.0)
31
+ activesupport (4.1.12)
32
+ i18n (~> 0.6, >= 0.6.9)
33
+ json (~> 1.7, >= 1.7.7)
34
+ minitest (~> 5.1)
35
+ thread_safe (~> 0.1)
36
+ tzinfo (~> 1.1)
37
+ appraisal (2.0.2)
38
+ bundler
39
+ rake
40
+ thor (>= 0.14.0)
41
+ arel (5.0.1.20140414130214)
42
+ builder (3.2.2)
43
+ coveralls (0.8.2)
44
+ json (~> 1.8)
45
+ rest-client (>= 1.6.8, < 2)
46
+ simplecov (~> 0.10.0)
47
+ term-ansicolor (~> 1.3)
48
+ thor (~> 0.19.1)
49
+ diff-lcs (1.2.5)
50
+ docile (1.1.5)
51
+ domain_name (0.5.24)
52
+ unf (>= 0.0.5, < 1.0.0)
53
+ erubis (2.7.0)
54
+ http-cookie (1.0.2)
55
+ domain_name (~> 0.5)
56
+ i18n (0.7.0)
57
+ json (1.8.3)
58
+ mail (2.6.3)
59
+ mime-types (>= 1.16, < 3)
60
+ mime-types (2.6.1)
61
+ mini_portile (0.6.2)
62
+ minitest (5.7.0)
63
+ netrc (0.10.3)
64
+ nokogiri (1.6.6.2)
65
+ mini_portile (~> 0.6.0)
66
+ rack (1.5.5)
67
+ rack-test (0.6.3)
68
+ rack (>= 1.0)
69
+ rails (4.1.12)
70
+ actionmailer (= 4.1.12)
71
+ actionpack (= 4.1.12)
72
+ actionview (= 4.1.12)
73
+ activemodel (= 4.1.12)
74
+ activerecord (= 4.1.12)
75
+ activesupport (= 4.1.12)
76
+ bundler (>= 1.3.0, < 2.0)
77
+ railties (= 4.1.12)
78
+ sprockets-rails (~> 2.0)
79
+ railties (4.1.12)
80
+ actionpack (= 4.1.12)
81
+ activesupport (= 4.1.12)
82
+ rake (>= 0.8.7)
83
+ thor (>= 0.18.1, < 2.0)
84
+ rake (10.4.2)
85
+ rest-client (1.8.0)
86
+ http-cookie (>= 1.0.2, < 2.0)
87
+ mime-types (>= 1.16, < 3.0)
88
+ netrc (~> 0.7)
89
+ rspec (3.3.0)
90
+ rspec-core (~> 3.3.0)
91
+ rspec-expectations (~> 3.3.0)
92
+ rspec-mocks (~> 3.3.0)
93
+ rspec-collection_matchers (1.1.2)
94
+ rspec-expectations (>= 2.99.0.beta1)
95
+ rspec-core (3.3.2)
96
+ rspec-support (~> 3.3.0)
97
+ rspec-expectations (3.3.1)
98
+ diff-lcs (>= 1.2.0, < 2.0)
99
+ rspec-support (~> 3.3.0)
100
+ rspec-mocks (3.3.2)
101
+ diff-lcs (>= 1.2.0, < 2.0)
102
+ rspec-support (~> 3.3.0)
103
+ rspec-rails (3.3.3)
104
+ actionpack (>= 3.0, < 4.3)
105
+ activesupport (>= 3.0, < 4.3)
106
+ railties (>= 3.0, < 4.3)
107
+ rspec-core (~> 3.3.0)
108
+ rspec-expectations (~> 3.3.0)
109
+ rspec-mocks (~> 3.3.0)
110
+ rspec-support (~> 3.3.0)
111
+ rspec-support (3.3.0)
112
+ simplecov (0.10.0)
113
+ docile (~> 1.1.0)
114
+ json (~> 1.8)
115
+ simplecov-html (~> 0.10.0)
116
+ simplecov-html (0.10.0)
117
+ sprockets (3.2.0)
118
+ rack (~> 1.0)
119
+ sprockets-rails (2.3.2)
120
+ actionpack (>= 3.0)
121
+ activesupport (>= 3.0)
122
+ sprockets (>= 2.8, < 4.0)
123
+ sqlite3 (1.3.10)
124
+ sqlite3-ruby (1.3.3)
125
+ sqlite3 (>= 1.3.3)
126
+ term-ansicolor (1.3.2)
127
+ tins (~> 1.0)
128
+ thor (0.19.1)
129
+ thread_safe (0.3.5)
130
+ timecop (0.7.4)
131
+ timeliness (0.3.7)
132
+ tins (1.5.4)
133
+ tzinfo (1.2.2)
134
+ thread_safe (~> 0.1)
135
+ unf (0.1.4)
136
+ unf_ext
137
+ unf_ext (0.0.7.1)
138
+
139
+ PLATFORMS
140
+ ruby
141
+
142
+ DEPENDENCIES
143
+ ae-validates_timeliness!
144
+ appraisal
145
+ coveralls
146
+ nokogiri
147
+ rails (~> 4.1.0)
148
+ rspec (~> 3.0)
149
+ rspec-collection_matchers
150
+ rspec-rails (~> 3.0)
151
+ sqlite3
152
+ sqlite3-ruby
153
+ timecop
154
+
155
+ BUNDLED WITH
156
+ 1.10.5
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 4.2.0"
6
+ gem "timecop"
7
+ gem "appraisal"
8
+ gem "sqlite3"
9
+ gem "nokogiri"
10
+
11
+ group :active_record do
12
+ gem "sqlite3-ruby", :require => "sqlite3"
13
+ end
14
+
15
+ gemspec :path => "../"
@@ -0,0 +1,178 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ ae-validates_timeliness (3.1.3)
5
+ rails (~> 4.0)
6
+ timeliness (~> 0.3.7)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionmailer (4.2.3)
12
+ actionpack (= 4.2.3)
13
+ actionview (= 4.2.3)
14
+ activejob (= 4.2.3)
15
+ mail (~> 2.5, >= 2.5.4)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ actionpack (4.2.3)
18
+ actionview (= 4.2.3)
19
+ activesupport (= 4.2.3)
20
+ rack (~> 1.6)
21
+ rack-test (~> 0.6.2)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
24
+ actionview (4.2.3)
25
+ activesupport (= 4.2.3)
26
+ builder (~> 3.1)
27
+ erubis (~> 2.7.0)
28
+ rails-dom-testing (~> 1.0, >= 1.0.5)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
+ activejob (4.2.3)
31
+ activesupport (= 4.2.3)
32
+ globalid (>= 0.3.0)
33
+ activemodel (4.2.3)
34
+ activesupport (= 4.2.3)
35
+ builder (~> 3.1)
36
+ activerecord (4.2.3)
37
+ activemodel (= 4.2.3)
38
+ activesupport (= 4.2.3)
39
+ arel (~> 6.0)
40
+ activesupport (4.2.3)
41
+ i18n (~> 0.7)
42
+ json (~> 1.7, >= 1.7.7)
43
+ minitest (~> 5.1)
44
+ thread_safe (~> 0.3, >= 0.3.4)
45
+ tzinfo (~> 1.1)
46
+ appraisal (2.0.2)
47
+ bundler
48
+ rake
49
+ thor (>= 0.14.0)
50
+ arel (6.0.2)
51
+ builder (3.2.2)
52
+ coveralls (0.8.2)
53
+ json (~> 1.8)
54
+ rest-client (>= 1.6.8, < 2)
55
+ simplecov (~> 0.10.0)
56
+ term-ansicolor (~> 1.3)
57
+ thor (~> 0.19.1)
58
+ diff-lcs (1.2.5)
59
+ docile (1.1.5)
60
+ domain_name (0.5.24)
61
+ unf (>= 0.0.5, < 1.0.0)
62
+ erubis (2.7.0)
63
+ globalid (0.3.5)
64
+ activesupport (>= 4.1.0)
65
+ http-cookie (1.0.2)
66
+ domain_name (~> 0.5)
67
+ i18n (0.7.0)
68
+ json (1.8.3)
69
+ loofah (2.0.2)
70
+ nokogiri (>= 1.5.9)
71
+ mail (2.6.3)
72
+ mime-types (>= 1.16, < 3)
73
+ mime-types (2.6.1)
74
+ mini_portile (0.6.2)
75
+ minitest (5.7.0)
76
+ netrc (0.10.3)
77
+ nokogiri (1.6.6.2)
78
+ mini_portile (~> 0.6.0)
79
+ rack (1.6.4)
80
+ rack-test (0.6.3)
81
+ rack (>= 1.0)
82
+ rails (4.2.3)
83
+ actionmailer (= 4.2.3)
84
+ actionpack (= 4.2.3)
85
+ actionview (= 4.2.3)
86
+ activejob (= 4.2.3)
87
+ activemodel (= 4.2.3)
88
+ activerecord (= 4.2.3)
89
+ activesupport (= 4.2.3)
90
+ bundler (>= 1.3.0, < 2.0)
91
+ railties (= 4.2.3)
92
+ sprockets-rails
93
+ rails-deprecated_sanitizer (1.0.3)
94
+ activesupport (>= 4.2.0.alpha)
95
+ rails-dom-testing (1.0.6)
96
+ activesupport (>= 4.2.0.beta, < 5.0)
97
+ nokogiri (~> 1.6.0)
98
+ rails-deprecated_sanitizer (>= 1.0.1)
99
+ rails-html-sanitizer (1.0.2)
100
+ loofah (~> 2.0)
101
+ railties (4.2.3)
102
+ actionpack (= 4.2.3)
103
+ activesupport (= 4.2.3)
104
+ rake (>= 0.8.7)
105
+ thor (>= 0.18.1, < 2.0)
106
+ rake (10.4.2)
107
+ rest-client (1.8.0)
108
+ http-cookie (>= 1.0.2, < 2.0)
109
+ mime-types (>= 1.16, < 3.0)
110
+ netrc (~> 0.7)
111
+ rspec (3.3.0)
112
+ rspec-core (~> 3.3.0)
113
+ rspec-expectations (~> 3.3.0)
114
+ rspec-mocks (~> 3.3.0)
115
+ rspec-collection_matchers (1.1.2)
116
+ rspec-expectations (>= 2.99.0.beta1)
117
+ rspec-core (3.3.2)
118
+ rspec-support (~> 3.3.0)
119
+ rspec-expectations (3.3.1)
120
+ diff-lcs (>= 1.2.0, < 2.0)
121
+ rspec-support (~> 3.3.0)
122
+ rspec-mocks (3.3.2)
123
+ diff-lcs (>= 1.2.0, < 2.0)
124
+ rspec-support (~> 3.3.0)
125
+ rspec-rails (3.3.3)
126
+ actionpack (>= 3.0, < 4.3)
127
+ activesupport (>= 3.0, < 4.3)
128
+ railties (>= 3.0, < 4.3)
129
+ rspec-core (~> 3.3.0)
130
+ rspec-expectations (~> 3.3.0)
131
+ rspec-mocks (~> 3.3.0)
132
+ rspec-support (~> 3.3.0)
133
+ rspec-support (3.3.0)
134
+ simplecov (0.10.0)
135
+ docile (~> 1.1.0)
136
+ json (~> 1.8)
137
+ simplecov-html (~> 0.10.0)
138
+ simplecov-html (0.10.0)
139
+ sprockets (3.2.0)
140
+ rack (~> 1.0)
141
+ sprockets-rails (2.3.2)
142
+ actionpack (>= 3.0)
143
+ activesupport (>= 3.0)
144
+ sprockets (>= 2.8, < 4.0)
145
+ sqlite3 (1.3.10)
146
+ sqlite3-ruby (1.3.3)
147
+ sqlite3 (>= 1.3.3)
148
+ term-ansicolor (1.3.2)
149
+ tins (~> 1.0)
150
+ thor (0.19.1)
151
+ thread_safe (0.3.5)
152
+ timecop (0.7.4)
153
+ timeliness (0.3.7)
154
+ tins (1.5.4)
155
+ tzinfo (1.2.2)
156
+ thread_safe (~> 0.1)
157
+ unf (0.1.4)
158
+ unf_ext
159
+ unf_ext (0.0.7.1)
160
+
161
+ PLATFORMS
162
+ ruby
163
+
164
+ DEPENDENCIES
165
+ ae-validates_timeliness!
166
+ appraisal
167
+ coveralls
168
+ nokogiri
169
+ rails (~> 4.2.0)
170
+ rspec (~> 3.0)
171
+ rspec-collection_matchers
172
+ rspec-rails (~> 3.0)
173
+ sqlite3
174
+ sqlite3-ruby
175
+ timecop
176
+
177
+ BUNDLED WITH
178
+ 1.10.5