markos_validates_timeliness 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +121 -0
- data/LICENSE +20 -0
- data/README.rdoc +402 -0
- data/Rakefile +52 -0
- data/TODO +8 -0
- data/lib/validates_timeliness/action_view/instance_tag.rb +52 -0
- data/lib/validates_timeliness/active_record/attribute_methods.rb +77 -0
- data/lib/validates_timeliness/active_record/multiparameter_attributes.rb +69 -0
- data/lib/validates_timeliness/formats.rb +368 -0
- data/lib/validates_timeliness/locale/en.new.yml +18 -0
- data/lib/validates_timeliness/locale/en.old.yml +18 -0
- data/lib/validates_timeliness/matcher.rb +1 -0
- data/lib/validates_timeliness/parser.rb +44 -0
- data/lib/validates_timeliness/spec/rails/matchers/validate_timeliness.rb +162 -0
- data/lib/validates_timeliness/validation_methods.rb +46 -0
- data/lib/validates_timeliness/validator.rb +230 -0
- data/lib/validates_timeliness/version.rb +3 -0
- data/lib/validates_timeliness.rb +59 -0
- data/spec/action_view/instance_tag_spec.rb +194 -0
- data/spec/active_record/attribute_methods_spec.rb +157 -0
- data/spec/active_record/multiparameter_attributes_spec.rb +118 -0
- data/spec/formats_spec.rb +313 -0
- data/spec/ginger_scenarios.rb +19 -0
- data/spec/parser_spec.rb +65 -0
- data/spec/resources/application.rb +2 -0
- data/spec/resources/person.rb +3 -0
- data/spec/resources/schema.rb +10 -0
- data/spec/resources/sqlite_patch.rb +19 -0
- data/spec/spec/rails/matchers/validate_timeliness_spec.rb +245 -0
- data/spec/spec_helper.rb +58 -0
- data/spec/time_travel/MIT-LICENSE +20 -0
- data/spec/time_travel/time_extensions.rb +33 -0
- data/spec/time_travel/time_travel.rb +12 -0
- data/spec/validator_spec.rb +723 -0
- metadata +104 -0
metadata
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: markos_validates_timeliness
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 3
|
9
|
+
- 2
|
10
|
+
version: 2.3.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Adam Meehan
|
14
|
+
- Marko Iskander
|
15
|
+
autorequire: markos_validates_timeliness
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-11-07 00:00:00 -04:00
|
20
|
+
default_executable:
|
21
|
+
dependencies: []
|
22
|
+
|
23
|
+
description: Date and time validation plugin for Rails 2.x which allows custom formats
|
24
|
+
email: markoiskander@gmail.com
|
25
|
+
executables: []
|
26
|
+
|
27
|
+
extensions: []
|
28
|
+
|
29
|
+
extra_rdoc_files:
|
30
|
+
- README.rdoc
|
31
|
+
- LICENSE
|
32
|
+
- TODO
|
33
|
+
- CHANGELOG
|
34
|
+
files:
|
35
|
+
- LICENSE
|
36
|
+
- README.rdoc
|
37
|
+
- Rakefile
|
38
|
+
- TODO
|
39
|
+
- CHANGELOG
|
40
|
+
- lib/validates_timeliness/action_view/instance_tag.rb
|
41
|
+
- lib/validates_timeliness/active_record/attribute_methods.rb
|
42
|
+
- lib/validates_timeliness/active_record/multiparameter_attributes.rb
|
43
|
+
- lib/validates_timeliness/formats.rb
|
44
|
+
- lib/validates_timeliness/locale/en.new.yml
|
45
|
+
- lib/validates_timeliness/locale/en.old.yml
|
46
|
+
- lib/validates_timeliness/matcher.rb
|
47
|
+
- lib/validates_timeliness/parser.rb
|
48
|
+
- lib/validates_timeliness/spec/rails/matchers/validate_timeliness.rb
|
49
|
+
- lib/validates_timeliness/validation_methods.rb
|
50
|
+
- lib/validates_timeliness/validator.rb
|
51
|
+
- lib/validates_timeliness/version.rb
|
52
|
+
- lib/validates_timeliness.rb
|
53
|
+
- spec/action_view/instance_tag_spec.rb
|
54
|
+
- spec/active_record/attribute_methods_spec.rb
|
55
|
+
- spec/active_record/multiparameter_attributes_spec.rb
|
56
|
+
- spec/formats_spec.rb
|
57
|
+
- spec/ginger_scenarios.rb
|
58
|
+
- spec/parser_spec.rb
|
59
|
+
- spec/resources/application.rb
|
60
|
+
- spec/resources/person.rb
|
61
|
+
- spec/resources/schema.rb
|
62
|
+
- spec/resources/sqlite_patch.rb
|
63
|
+
- spec/spec/rails/matchers/validate_timeliness_spec.rb
|
64
|
+
- spec/spec_helper.rb
|
65
|
+
- spec/time_travel/MIT-LICENSE
|
66
|
+
- spec/time_travel/time_extensions.rb
|
67
|
+
- spec/time_travel/time_travel.rb
|
68
|
+
- spec/validator_spec.rb
|
69
|
+
has_rdoc: true
|
70
|
+
homepage: http://github.com/adzap/validates_timeliness
|
71
|
+
licenses: []
|
72
|
+
|
73
|
+
post_install_message:
|
74
|
+
rdoc_options: []
|
75
|
+
|
76
|
+
require_paths:
|
77
|
+
- lib
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
hash: 3
|
84
|
+
segments:
|
85
|
+
- 0
|
86
|
+
version: "0"
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 3
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
version: "0"
|
96
|
+
requirements: []
|
97
|
+
|
98
|
+
rubyforge_project: validatestime
|
99
|
+
rubygems_version: 1.3.7
|
100
|
+
signing_key:
|
101
|
+
specification_version: 3
|
102
|
+
summary: Date and time validation plugin for Rails 2.x which allows custom formats
|
103
|
+
test_files: []
|
104
|
+
|