validates_email 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -1
- data/lib/validates_email/validates_email.rb +1 -1
- data/lib/validates_email/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +1 -1
data/History.txt
CHANGED
@@ -7,7 +7,7 @@ module ActiveRecord
|
|
7
7
|
configuration.update(attr_names.pop) if attr_names.last.is_a?(Hash)
|
8
8
|
|
9
9
|
|
10
|
-
validates_each
|
10
|
+
validates_each(attr_names, configuration) do |record, attr_name, value|
|
11
11
|
record.errors.add(attr_name, configuration[:message]) unless EmailValidation.valid_email?(value, configuration[:level], configuration[:pass_on_unable_to_verify], configuration[:from])
|
12
12
|
end
|
13
13
|
end
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>validates_email</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/validates_email"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/validates_email" class="numbers">0.0.
|
36
|
+
<a href="http://rubyforge.org/projects/validates_email" class="numbers">0.0.2</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘validates_email’</h1>
|
39
39
|
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: validates_email
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
6
|
+
version: 0.0.2
|
7
7
|
date: 2007-06-18 00:00:00 -05:00
|
8
8
|
summary: Three level validation on email addresses for ActiveRecord.
|
9
9
|
require_paths:
|