date_validator 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +1 -3
- data/VERSION +1 -1
- data/date_validator.gemspec +4 -5
- data/locales/en.yml +11 -0
- metadata +3 -3
- data/init.rb +0 -1
data/README.rdoc
CHANGED
@@ -26,9 +26,7 @@ Pretty much self-explanatory! :) And if you like remarkable, just install this g
|
|
26
26
|
* Make your feature addition or bug fix.
|
27
27
|
* Add tests for it. This is important so I don't break it in a
|
28
28
|
future version unintentionally.
|
29
|
-
* Commit, do not mess with rakefile, version, or history.
|
30
|
-
(if you want to have your own version, that is fine but
|
31
|
-
bump version in a commit by itself I can ignore when I pull)
|
29
|
+
* Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
32
30
|
* Send me a pull request. Bonus points for topic branches.
|
33
31
|
|
34
32
|
== Copyright
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/date_validator.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{date_validator}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Oriol Gual", "Josep M\302\252 Bach", "Josep Jaume Rey"]
|
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
"Rakefile",
|
25
25
|
"VERSION",
|
26
26
|
"date_validator.gemspec",
|
27
|
-
"init.rb",
|
28
27
|
"lib/date_validator.rb",
|
28
|
+
"locales/en.yml",
|
29
29
|
"spec/date_validator_spec.rb",
|
30
30
|
"spec/spec.opts",
|
31
31
|
"spec/spec_helper.rb"
|
@@ -56,4 +56,3 @@ Gem::Specification.new do |s|
|
|
56
56
|
s.add_dependency(%q<rspec>, [">= 0"])
|
57
57
|
end
|
58
58
|
end
|
59
|
-
|
data/locales/en.yml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
+
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
|
+
|
4
|
+
en:
|
5
|
+
errors:
|
6
|
+
messages:
|
7
|
+
not_a_date: "is not a date"
|
8
|
+
after: "must be after {{value}}"
|
9
|
+
after_or_equal_to: "must be after or equal to {{value}}"
|
10
|
+
before: "must be before {{value}}"
|
11
|
+
before_or_equal_to: "must be before or equal to {{value}}"
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 4
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.4.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Oriol Gual
|
@@ -63,8 +63,8 @@ files:
|
|
63
63
|
- Rakefile
|
64
64
|
- VERSION
|
65
65
|
- date_validator.gemspec
|
66
|
-
- init.rb
|
67
66
|
- lib/date_validator.rb
|
67
|
+
- locales/en.yml
|
68
68
|
- spec/date_validator_spec.rb
|
69
69
|
- spec/spec.opts
|
70
70
|
- spec/spec_helper.rb
|
data/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'date_validator'
|