validates_email_whitelist_of 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -12,6 +12,8 @@ Add the gem to your Rails Gemfile
12
12
 
13
13
  gem 'validates_email_whitelist_of'
14
14
 
15
+ Then on ActiveRecord 2.0+ you can do
16
+
15
17
  class User < ActiveRecord::Base
16
18
  validates_email_whitelist_of :email, :whitelist => ['example.com', 'google.com']
17
19
  end
@@ -1,7 +1,7 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'validates_email_whitelist_of'
3
3
 
4
- s.version = '1.0.1'
4
+ s.version = '1.0.2'
5
5
  s.summary = 'Validates e-mail address format (RFC2822 and RFC3696) and whitelist the domain part.'
6
6
  s.description = "Rails 2 and Rails 3 plugin. #{s.summary}"
7
7
  s.homepage = 'https://github.com/rubenfonseca/validates_email_whitelist_of'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_email_whitelist_of
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ruben Fonseca