Skip to content
Browse files

update docs

  • Loading branch information...
1 parent aa75c89 commit c798ff073272b3e7e97320e782758bbacfd16fc4 @redinger redinger committed Jun 11, 2010
Showing with 27 additions and 25 deletions.
  1. +21 −0 MIT-LICENSE
  2. +6 −2 README
  3. +0 −23 lib/validation_reflection.rb
View
21 MIT-LICENSE
@@ -0,0 +1,21 @@
+Copyright (c) 2009 Christopher Redinger
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
View
8 README
@@ -1,7 +1,7 @@
Validation Reflection
=====================
-Version 0.3.6, 2010-02-14
+Version 0.3.7, 2010-06-11
This plugin adds reflective access to validations
@@ -59,6 +59,10 @@ configuration using
config.plugins = [...]
+== Special Thanks
+To Michael Schuerig, michael@schuerig.de for his initial concept and implementation of this plugin.
-Copyright (c) 2006-2008, Michael Schuerig, michael@schuerig.de
+== License
+
+ValidationReflection uses the MIT license. Please check the LICENSE file for more details.
View
23 lib/validation_reflection.rb
@@ -1,26 +1,3 @@
-# encoding: utf-8
-#--
-# Copyright (c) 2006-2008, Michael Schuerig, michael@schuerig.de
-#
-# Permission is hereby granted, free of charge, to any person obtaining
-# a copy of this software and associated documentation files (the
-# "Software"), to deal in the Software without restriction, including
-# without limitation the rights to use, copy, modify, merge, publish,
-# distribute, sublicense, and/or sell copies of the Software, and to
-# permit persons to whom the Software is furnished to do so, subject to
-# the following conditions:
-#
-# The above copyright notice and this permission notice shall be
-# included in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#++
require 'active_record/reflection'
require 'ostruct'

0 comments on commit c798ff0

Please sign in to comment.
Something went wrong with that request. Please try again.