remarkable_date_validator 0.4.2 → 0.4.3
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/VERSION +1 -1
- data/lib/remarkable/date_validator.rb +5 -0
- data/remarkable_date_validator.gemspec +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.3
|
|
@@ -8,7 +8,12 @@ Dir["#{dir}/../../locale/*yml"].each {|f| Remarkable.add_locale(f) }
|
|
|
8
8
|
|
|
9
9
|
# Add matchers
|
|
10
10
|
Dir[File.join(dir, 'date_validator', 'matchers', '*.rb')].each do |file|
|
|
11
|
+
puts "Requiring #{file.inspect}"
|
|
11
12
|
require file
|
|
12
13
|
end
|
|
14
|
+
puts "CLASS:"
|
|
15
|
+
puts Remarkable::ActiveModel::Matchers::ValidateDateOfMatcher.inspect
|
|
16
|
+
puts "END CLASS"
|
|
17
|
+
|
|
13
18
|
|
|
14
19
|
Remarkable.include_matchers!(Remarkable::ActiveModel, Rspec::Core::ExampleGroup)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{remarkable_date_validator}
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.3"
|
|
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"]
|
data/spec/spec_helper.rb
CHANGED
|
@@ -27,4 +27,4 @@ require File.join(dir, "..", "lib", "remarkable", "date_validator.rb")
|
|
|
27
27
|
require File.join(dir, "model_builder")
|
|
28
28
|
include ModelBuilder
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Remarkable.include_matchers!(Remarkable::ActiveModel, Rspec::Core::ExampleGroup)
|