redinger-validation_reflection 0.3.2 → 0.3.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/CHANGELOG +3 -0
- data/VERSION.yml +1 -1
- data/lib/validation_reflection.rb +7 -2
- data/rails/init.rb +1 -5
- data/validation_reflection.gemspec +1 -1
- metadata +3 -2
data/CHANGELOG
CHANGED
data/VERSION.yml
CHANGED
|
@@ -122,6 +122,11 @@ module ActiveRecordExtensions # :nodoc:
|
|
|
122
122
|
ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation = save_ignore
|
|
123
123
|
end
|
|
124
124
|
end
|
|
125
|
-
|
|
126
125
|
end
|
|
127
|
-
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
ActiveRecord::Base.class_eval do
|
|
129
|
+
include ActiveRecordExtensions::ValidationReflection
|
|
130
|
+
ActiveRecordExtensions::ValidationReflection.load_config
|
|
131
|
+
ActiveRecordExtensions::ValidationReflection.install(self)
|
|
132
|
+
end
|
data/rails/init.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redinger-validation_reflection
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Redinger
|
|
@@ -36,6 +36,7 @@ files:
|
|
|
36
36
|
- validation_reflection.gemspec
|
|
37
37
|
has_rdoc: false
|
|
38
38
|
homepage: http://github.com/redinger/validation_reflection
|
|
39
|
+
licenses:
|
|
39
40
|
post_install_message:
|
|
40
41
|
rdoc_options:
|
|
41
42
|
- --charset=UTF-8
|
|
@@ -56,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
57
|
requirements: []
|
|
57
58
|
|
|
58
59
|
rubyforge_project:
|
|
59
|
-
rubygems_version: 1.
|
|
60
|
+
rubygems_version: 1.3.5
|
|
60
61
|
signing_key:
|
|
61
62
|
specification_version: 3
|
|
62
63
|
summary: Adds reflective access to validations
|