modalh 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/h/active_record_extensions.rb +1 -1
- data/modalh.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
@@ -16,7 +16,7 @@ module H
|
|
16
16
|
class_eval do
|
17
17
|
|
18
18
|
validates_each attr do |record, attr_name, value|
|
19
|
-
record.errors.add attr_name.to_s if record.send(:"
|
19
|
+
record.errors.add attr_name.to_s if record.send(:"#{attr_name}_h_invalid?")
|
20
20
|
end
|
21
21
|
|
22
22
|
# attr=(v)
|
data/modalh.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modalh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
segments:
|
132
132
|
- 0
|
133
|
-
hash:
|
133
|
+
hash: 4607328478238746917
|
134
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
135
|
none: false
|
136
136
|
requirements:
|