valid_email2 2.1.2 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valid_email2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micke Lisinge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-25 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,7 +98,6 @@ files:
98
98
  - gemfiles/activemodel3.gemfile
99
99
  - gemfiles/activemodel4.gemfile
100
100
  - gemfiles/activemodel5.gemfile
101
- - lib/email_validator.rb
102
101
  - lib/valid_email2.rb
103
102
  - lib/valid_email2/address.rb
104
103
  - lib/valid_email2/email_validator.rb
@@ -1,10 +0,0 @@
1
- # This is a shim for keeping backwards compatibility.
2
- # See the discussion in: https://github.com/lisinge/valid_email2/pull/79
3
- class EmailValidator < ValidEmail2::EmailValidator
4
- def validate_each(record, attribute, value)
5
- warn "DEPRECATION WARNING: The email validator from valid_email2 has been " +
6
- "deprecated in favour of using the namespaced 'valid_email_2/email' validator. " +
7
- "For more information see https://github.com/lisinge/valid_email2#upgrading-to-v200"
8
- super
9
- end
10
- end