deeply_valid 0.1.2 → 0.1.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/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)
|