whyvalidationssuckin96 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.4
|
@@ -44,6 +44,12 @@ module WhyValidationsSuckIn96
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
private
|
48
|
+
|
49
|
+
def attribute_value
|
50
|
+
options[:set] ? Array(super) : super
|
51
|
+
end
|
52
|
+
|
47
53
|
end # Validation
|
48
54
|
|
49
55
|
ValidationBuilder.register_macro :validates_exclusion_of, WhyValidationsSuckIn96::ValidatesExclusion
|
@@ -44,6 +44,12 @@ module WhyValidationsSuckIn96
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
private
|
48
|
+
|
49
|
+
def attribute_value
|
50
|
+
options[:set] ? Array(super) : super
|
51
|
+
end
|
52
|
+
|
47
53
|
end # Validation
|
48
54
|
|
49
55
|
ValidationBuilder.register_macro :validates_inclusion_of, WhyValidationsSuckIn96::ValidatesInclusion
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{whyvalidationssuckin96}
|
8
|
-
s.version = "1.5.
|
8
|
+
s.version = "1.5.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["gabrielg", "douglasmeyer"]
|