deeply_valid 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/deeply_valid.gemspec +1 -1
- data/lib/deeply_valid/validation_helpers.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/deeply_valid.gemspec
CHANGED
@@ -174,7 +174,7 @@ module DeeplyValid
|
|
174
174
|
# @param [Validation] rule The validation rule
|
175
175
|
# @return [Validation] The validation
|
176
176
|
#
|
177
|
-
def array(rule)
|
177
|
+
def array(rule = nil)
|
178
178
|
return instance_of(Array) unless rule
|
179
179
|
|
180
180
|
validation = rule.is_a?(Validation) ? rule : Validation.new(rule)
|