date_validator 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +3 -3
- data/Gemfile.lock +14 -13
- data/README.rdoc +1 -5
- data/Rakefile +11 -5
- data/VERSION +1 -1
- data/date_validator.gemspec +14 -14
- metadata +8 -11
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
source :gemcutter
|
3
3
|
|
4
4
|
group :development do
|
5
|
-
gem "rspec", ">= 2.0.0.beta.
|
6
|
-
gem "activesupport", "3.0.0
|
5
|
+
gem "rspec", ">= 2.0.0.beta.20"
|
6
|
+
gem "activesupport", "3.0.0"
|
7
7
|
gem "tzinfo"
|
8
8
|
end
|
9
9
|
|
10
|
-
gem "activemodel", "3.0.0
|
10
|
+
gem "activemodel", "3.0.0"
|
data/Gemfile.lock
CHANGED
@@ -1,29 +1,30 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activemodel (3.0.0
|
5
|
-
activesupport (= 3.0.0
|
4
|
+
activemodel (3.0.0)
|
5
|
+
activesupport (= 3.0.0)
|
6
6
|
builder (~> 2.1.2)
|
7
7
|
i18n (~> 0.4.1)
|
8
|
-
activesupport (3.0.0
|
8
|
+
activesupport (3.0.0)
|
9
9
|
builder (2.1.2)
|
10
10
|
diff-lcs (1.1.2)
|
11
11
|
i18n (0.4.1)
|
12
|
-
rspec (2.0.0.beta.
|
13
|
-
rspec-core (= 2.0.0.beta.
|
14
|
-
rspec-expectations (= 2.0.0.beta.
|
15
|
-
rspec-mocks (= 2.0.0.beta.
|
16
|
-
rspec-core (2.0.0.beta.
|
17
|
-
rspec-expectations (2.0.0.beta.
|
12
|
+
rspec (2.0.0.beta.20)
|
13
|
+
rspec-core (= 2.0.0.beta.20)
|
14
|
+
rspec-expectations (= 2.0.0.beta.20)
|
15
|
+
rspec-mocks (= 2.0.0.beta.20)
|
16
|
+
rspec-core (2.0.0.beta.20)
|
17
|
+
rspec-expectations (2.0.0.beta.20)
|
18
18
|
diff-lcs (>= 1.1.2)
|
19
|
-
rspec-mocks (2.0.0.beta.
|
19
|
+
rspec-mocks (2.0.0.beta.20)
|
20
20
|
tzinfo (0.3.22)
|
21
21
|
|
22
22
|
PLATFORMS
|
23
|
+
java
|
23
24
|
ruby
|
24
25
|
|
25
26
|
DEPENDENCIES
|
26
|
-
activemodel (= 3.0.0
|
27
|
-
activesupport (= 3.0.0
|
28
|
-
rspec (>= 2.0.0.beta.
|
27
|
+
activemodel (= 3.0.0)
|
28
|
+
activesupport (= 3.0.0)
|
29
|
+
rspec (>= 2.0.0.beta.20)
|
29
30
|
tzinfo
|
data/README.rdoc
CHANGED
@@ -17,11 +17,7 @@ For now these are the available options you can use:
|
|
17
17
|
:after_or_equal_to
|
18
18
|
:before_or_equal_to
|
19
19
|
|
20
|
-
Pretty much self-explanatory! :)
|
21
|
-
|
22
|
-
gem install remarkable_date_validator
|
23
|
-
|
24
|
-
(source on http://github.com/codegram/remarkable_date_validator/)
|
20
|
+
Pretty much self-explanatory! :)
|
25
21
|
|
26
22
|
== Note on Patches/Pull Requests
|
27
23
|
|
data/Rakefile
CHANGED
@@ -12,11 +12,11 @@ begin
|
|
12
12
|
gem.homepage = "http://github.com/codegram/date_validator"
|
13
13
|
gem.authors = ["Oriol Gual", "Josep M. Bach", "Josep Jaume Rey"]
|
14
14
|
|
15
|
-
gem.add_dependency 'activemodel', '>= 3.0.0
|
15
|
+
gem.add_dependency 'activemodel', '>= 3.0.0'
|
16
16
|
|
17
|
-
gem.add_development_dependency "rspec", '>= 2.0.0.beta.
|
18
|
-
gem.add_development_dependency "activesupport", '>= 3.0.0
|
19
|
-
gem.add_development_dependency "bundler", '>= 1.0.0
|
17
|
+
gem.add_development_dependency "rspec", '>= 2.0.0.beta.20'
|
18
|
+
gem.add_development_dependency "activesupport", '>= 3.0.0'
|
19
|
+
gem.add_development_dependency "bundler", '>= 1.0.0'
|
20
20
|
gem.add_development_dependency "tzinfo"
|
21
21
|
end
|
22
22
|
Jeweler::GemcutterTasks.new
|
@@ -26,7 +26,7 @@ end
|
|
26
26
|
|
27
27
|
|
28
28
|
# Rake RSpec2 task stuff
|
29
|
-
gem 'rspec', '>= 2.0.0.beta.
|
29
|
+
gem 'rspec', '>= 2.0.0.beta.20'
|
30
30
|
gem 'rspec-expectations'
|
31
31
|
|
32
32
|
require 'rspec/core/rake_task'
|
@@ -38,6 +38,12 @@ end
|
|
38
38
|
|
39
39
|
task :default => :spec
|
40
40
|
|
41
|
+
desc 'Run the test suite against 1.8.7-p249, 1.9.2-p0 and jruby-1.5.1'
|
42
|
+
task :multitest do
|
43
|
+
system('rvm 1.8.7-p249@date_validator, 1.9.2-p0@date_validator, jruby-1.5.1@date_validator rake')
|
44
|
+
end
|
45
|
+
|
46
|
+
|
41
47
|
require 'rake/rdoctask'
|
42
48
|
Rake::RDocTask.new do |rdoc|
|
43
49
|
if File.exist?('VERSION')
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.8
|
data/date_validator.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{date_validator}
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.8"
|
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. Bach", "Josep Jaume Rey"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-10}
|
13
13
|
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.}
|
14
14
|
s.email = %q{info@codegram.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -50,23 +50,23 @@ Gem::Specification.new do |s|
|
|
50
50
|
s.specification_version = 3
|
51
51
|
|
52
52
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
53
|
-
s.add_runtime_dependency(%q<activemodel>, [">= 3.0.0
|
54
|
-
s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.
|
55
|
-
s.add_development_dependency(%q<activesupport>, [">= 3.0.0
|
56
|
-
s.add_development_dependency(%q<bundler>, [">= 1.0.0
|
53
|
+
s.add_runtime_dependency(%q<activemodel>, [">= 3.0.0"])
|
54
|
+
s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.20"])
|
55
|
+
s.add_development_dependency(%q<activesupport>, [">= 3.0.0"])
|
56
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
57
57
|
s.add_development_dependency(%q<tzinfo>, [">= 0"])
|
58
58
|
else
|
59
|
-
s.add_dependency(%q<activemodel>, [">= 3.0.0
|
60
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.
|
61
|
-
s.add_dependency(%q<activesupport>, [">= 3.0.0
|
62
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0
|
59
|
+
s.add_dependency(%q<activemodel>, [">= 3.0.0"])
|
60
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.20"])
|
61
|
+
s.add_dependency(%q<activesupport>, [">= 3.0.0"])
|
62
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
63
63
|
s.add_dependency(%q<tzinfo>, [">= 0"])
|
64
64
|
end
|
65
65
|
else
|
66
|
-
s.add_dependency(%q<activemodel>, [">= 3.0.0
|
67
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.
|
68
|
-
s.add_dependency(%q<activesupport>, [">= 3.0.0
|
69
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0
|
66
|
+
s.add_dependency(%q<activemodel>, [">= 3.0.0"])
|
67
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.20"])
|
68
|
+
s.add_dependency(%q<activesupport>, [">= 3.0.0"])
|
69
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
70
70
|
s.add_dependency(%q<tzinfo>, [">= 0"])
|
71
71
|
end
|
72
72
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 8
|
9
|
+
version: 0.5.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Oriol Gual
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-09-10 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -30,8 +30,7 @@ dependencies:
|
|
30
30
|
- 3
|
31
31
|
- 0
|
32
32
|
- 0
|
33
|
-
|
34
|
-
version: 3.0.0.rc
|
33
|
+
version: 3.0.0
|
35
34
|
type: :runtime
|
36
35
|
version_requirements: *id001
|
37
36
|
- !ruby/object:Gem::Dependency
|
@@ -46,8 +45,8 @@ dependencies:
|
|
46
45
|
- 0
|
47
46
|
- 0
|
48
47
|
- beta
|
49
|
-
-
|
50
|
-
version: 2.0.0.beta.
|
48
|
+
- 20
|
49
|
+
version: 2.0.0.beta.20
|
51
50
|
type: :development
|
52
51
|
version_requirements: *id002
|
53
52
|
- !ruby/object:Gem::Dependency
|
@@ -61,8 +60,7 @@ dependencies:
|
|
61
60
|
- 3
|
62
61
|
- 0
|
63
62
|
- 0
|
64
|
-
|
65
|
-
version: 3.0.0.rc
|
63
|
+
version: 3.0.0
|
66
64
|
type: :development
|
67
65
|
version_requirements: *id003
|
68
66
|
- !ruby/object:Gem::Dependency
|
@@ -76,8 +74,7 @@ dependencies:
|
|
76
74
|
- 1
|
77
75
|
- 0
|
78
76
|
- 0
|
79
|
-
|
80
|
-
version: 1.0.0.rc3
|
77
|
+
version: 1.0.0
|
81
78
|
type: :development
|
82
79
|
version_requirements: *id004
|
83
80
|
- !ruby/object:Gem::Dependency
|