validate_email 0.1.4 → 0.1.5
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/README.markdown +1 -1
- data/lib/validate_email.rb +1 -1
- metadata +11 -11
data/README.markdown
CHANGED
@@ -39,7 +39,7 @@ The gem only supports Rails 3 (has dependencies in ActiveModel and ActiveSupport
|
|
39
39
|
|
40
40
|
#### I18n
|
41
41
|
|
42
|
-
The default error message `is not valid email`.
|
42
|
+
The default error message `is not a valid email address`.
|
43
43
|
You can pass the `:message => "my custom error"` option to your validation to define your own, custom message.
|
44
44
|
|
45
45
|
## Authors
|
data/lib/validate_email.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 5
|
9
|
+
version: 0.1.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tanel Suurhans
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-03 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -118,14 +118,14 @@ files:
|
|
118
118
|
- init.rb
|
119
119
|
- install.rb
|
120
120
|
- lib/validate_email.rb
|
121
|
-
- spec/resources/
|
122
|
-
- spec/resources/user_with_nil.rb
|
121
|
+
- spec/resources/user.rb
|
123
122
|
- spec/resources/user_with_ar.rb
|
124
123
|
- spec/resources/user_with_ar_legacy.rb
|
124
|
+
- spec/resources/user_with_blank.rb
|
125
125
|
- spec/resources/user_with_legacy.rb
|
126
|
-
- spec/resources/
|
127
|
-
- spec/validate_email_spec.rb
|
126
|
+
- spec/resources/user_with_nil.rb
|
128
127
|
- spec/spec_helper.rb
|
128
|
+
- spec/validate_email_spec.rb
|
129
129
|
has_rdoc: true
|
130
130
|
homepage: http://github.com/perfectline/validates_email/tree/master
|
131
131
|
licenses: []
|
@@ -159,11 +159,11 @@ signing_key:
|
|
159
159
|
specification_version: 3
|
160
160
|
summary: Library for validating email addresses in Rails 3 models.
|
161
161
|
test_files:
|
162
|
-
- spec/resources/
|
163
|
-
- spec/resources/user_with_nil.rb
|
162
|
+
- spec/resources/user.rb
|
164
163
|
- spec/resources/user_with_ar.rb
|
165
164
|
- spec/resources/user_with_ar_legacy.rb
|
165
|
+
- spec/resources/user_with_blank.rb
|
166
166
|
- spec/resources/user_with_legacy.rb
|
167
|
-
- spec/resources/
|
168
|
-
- spec/validate_email_spec.rb
|
167
|
+
- spec/resources/user_with_nil.rb
|
169
168
|
- spec/spec_helper.rb
|
169
|
+
- spec/validate_email_spec.rb
|