validate_email 0.1.3 → 0.1.4
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/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'validate_email'
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
@@ -11,10 +11,10 @@ require 'active_record/migration'
|
|
11
11
|
ActiveRecord::Migration.verbose = false
|
12
12
|
ActiveRecord::Base.establish_connection(
|
13
13
|
"adapter" => "sqlite3",
|
14
|
-
"database" => ":memory"
|
14
|
+
"database" => ":memory:"
|
15
15
|
)
|
16
16
|
|
17
|
-
require File.join(File.dirname(__FILE__), '..', '
|
17
|
+
require File.join(File.dirname(__FILE__), '..', 'init')
|
18
18
|
|
19
19
|
autoload :User, 'resources/user'
|
20
20
|
autoload :UserWithNil, 'resources/user_with_nil'
|
File without changes
|
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
|
+
- 4
|
9
|
+
version: 0.1.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tanel Suurhans
|
@@ -115,16 +115,16 @@ extra_rdoc_files:
|
|
115
115
|
- README.markdown
|
116
116
|
files:
|
117
117
|
- README.markdown
|
118
|
+
- init.rb
|
118
119
|
- install.rb
|
119
|
-
- lib/
|
120
|
-
- rails/init.rb
|
120
|
+
- lib/validate_email.rb
|
121
121
|
- spec/resources/user_with_blank.rb
|
122
122
|
- spec/resources/user_with_nil.rb
|
123
123
|
- spec/resources/user_with_ar.rb
|
124
124
|
- spec/resources/user_with_ar_legacy.rb
|
125
125
|
- spec/resources/user_with_legacy.rb
|
126
126
|
- spec/resources/user.rb
|
127
|
-
- spec/
|
127
|
+
- spec/validate_email_spec.rb
|
128
128
|
- spec/spec_helper.rb
|
129
129
|
has_rdoc: true
|
130
130
|
homepage: http://github.com/perfectline/validates_email/tree/master
|
@@ -165,5 +165,5 @@ test_files:
|
|
165
165
|
- spec/resources/user_with_ar_legacy.rb
|
166
166
|
- spec/resources/user_with_legacy.rb
|
167
167
|
- spec/resources/user.rb
|
168
|
-
- spec/
|
168
|
+
- spec/validate_email_spec.rb
|
169
169
|
- spec/spec_helper.rb
|
data/rails/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'validates_email'
|