validate_email 0.1.0 → 0.1.1
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/lib/{validate_email.rb → validates_email.rb} +2 -2
- data/rails/init.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/validate_email_spec.rb +1 -1
- metadata +5 -5
@@ -4,7 +4,7 @@ require 'active_support/concern'
|
|
4
4
|
require 'mail'
|
5
5
|
|
6
6
|
module Perfectline
|
7
|
-
module
|
7
|
+
module ValidatesEmail
|
8
8
|
extend ActiveSupport::Concern
|
9
9
|
|
10
10
|
class EmailValidator < ActiveModel::EachValidator
|
@@ -33,4 +33,4 @@ module Perfectline
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
ActiveModel::Validations.send(:include, Perfectline::
|
36
|
+
ActiveModel::Validations.send(:include, Perfectline::ValidatesEmail)
|
data/rails/init.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require '
|
1
|
+
require 'validates_email'
|
data/spec/spec_helper.rb
CHANGED
data/spec/validate_email_spec.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
|
+
- 1
|
9
|
+
version: 0.1.1
|
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-09-
|
18
|
+
date: 2010-09-08 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -102,7 +102,7 @@ extra_rdoc_files:
|
|
102
102
|
files:
|
103
103
|
- README.markdown
|
104
104
|
- install.rb
|
105
|
-
- lib/
|
105
|
+
- lib/validates_email.rb
|
106
106
|
- rails/init.rb
|
107
107
|
- spec/resources/user.rb
|
108
108
|
- spec/resources/user_with_blank.rb
|
@@ -111,7 +111,7 @@ files:
|
|
111
111
|
- spec/spec_helper.rb
|
112
112
|
- spec/validate_email_spec.rb
|
113
113
|
has_rdoc: true
|
114
|
-
homepage: http://github.com/perfectline/
|
114
|
+
homepage: http://github.com/perfectline/validates_email/tree/master
|
115
115
|
licenses: []
|
116
116
|
|
117
117
|
post_install_message:
|