validation_reflection 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/{LICENSE → MIT-LICENSE} +2 -1
- data/README +6 -2
- data/VERSION.yml +1 -1
- data/lib/validation_reflection.rb +0 -24
- data/validation_reflection.gemspec +4 -5
- metadata +4 -5
data/{LICENSE → MIT-LICENSE}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2009 Christopher Redinger
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -18,3 +18,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
18
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
19
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
20
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
data/README
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Validation Reflection
|
2
2
|
=====================
|
3
3
|
|
4
|
-
Version 0.3.
|
4
|
+
Version 0.3.7, 2010-06-11
|
5
5
|
|
6
6
|
This plugin adds reflective access to validations
|
7
7
|
|
@@ -59,6 +59,10 @@ configuration using
|
|
59
59
|
config.plugins = [...]
|
60
60
|
|
61
61
|
|
62
|
+
== Special Thanks
|
62
63
|
|
64
|
+
To Michael Schuerig, michael@schuerig.de for his initial concept and implementation of this plugin.
|
63
65
|
|
64
|
-
|
66
|
+
== License
|
67
|
+
|
68
|
+
ValidationReflection uses the MIT license. Please check the LICENSE file for more details.
|
data/VERSION.yml
CHANGED
@@ -1,26 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
#--
|
3
|
-
# Copyright (c) 2006-2008, Michael Schuerig, michael@schuerig.de
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
# a copy of this software and associated documentation files (the
|
7
|
-
# "Software"), to deal in the Software without restriction, including
|
8
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
# the following conditions:
|
12
|
-
#
|
13
|
-
# The above copyright notice and this permission notice shall be
|
14
|
-
# included in all copies or substantial portions of the Software.
|
15
|
-
#
|
16
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
-
#++
|
24
1
|
require 'active_record/reflection'
|
25
2
|
require 'ostruct'
|
26
3
|
|
@@ -99,7 +76,6 @@ module ActiveRecordExtensions # :nodoc:
|
|
99
76
|
}, __FILE__, __LINE__
|
100
77
|
end
|
101
78
|
end
|
102
|
-
alias :reload :install
|
103
79
|
|
104
80
|
module ClassMethods
|
105
81
|
|
@@ -5,21 +5,20 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{validation_reflection}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Christopher Redinger"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-07-30}
|
13
13
|
s.description = %q{Adds reflective access to validations}
|
14
14
|
s.email = %q{redinger@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
|
-
"
|
17
|
-
"README"
|
16
|
+
"README"
|
18
17
|
]
|
19
18
|
s.files = [
|
20
19
|
".gitignore",
|
21
20
|
"CHANGELOG",
|
22
|
-
"LICENSE",
|
21
|
+
"MIT-LICENSE",
|
23
22
|
"README",
|
24
23
|
"Rakefile",
|
25
24
|
"VERSION.yml",
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 8
|
9
|
+
version: 0.3.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Christopher Redinger
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-07-30 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -25,12 +25,11 @@ executables: []
|
|
25
25
|
extensions: []
|
26
26
|
|
27
27
|
extra_rdoc_files:
|
28
|
-
- LICENSE
|
29
28
|
- README
|
30
29
|
files:
|
31
30
|
- .gitignore
|
32
31
|
- CHANGELOG
|
33
|
-
- LICENSE
|
32
|
+
- MIT-LICENSE
|
34
33
|
- README
|
35
34
|
- Rakefile
|
36
35
|
- VERSION.yml
|