valid_email2 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/valid_email2/address.rb +1 -3
- data/lib/valid_email2/version.rb +1 -1
- data/valid_email2.gemspec +1 -1
- data/vendor/disposable_emails.yml +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89124fcb3dcff8c5eb8833cfa0f4bc7e52777974
|
4
|
+
data.tar.gz: 4d11dd11352a95f1965d838567081839531b5859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbc8d2a1282dc1603bb086af4707500d8cb71e2f231d25a0bca4218762f8a9212ebe78ef8318ceb09b0ea75faed07a5b584dd6ee34cd868111688a2ce6f4bae5
|
7
|
+
data.tar.gz: 7ba94266099a2e3a453251d89d74b8d04f47f329d5d54b16787e06030edab5323a04da8769e32534fc9cf641e6791b928dd5da824bbd48b4d5e1597e3aa848be
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## Version 1.1.5
|
2
|
+
Be more lenient on the mail gem version dependency to allow people to use v2.6.
|
3
|
+
Added more disposable email domains (https://github.com/lisinge/valid_email2/pull/14 and https://github.com/lisinge/valid_email2/pull/15)
|
4
|
+
|
1
5
|
## Version 1.1.4
|
2
6
|
Added more disposable email domains (https://github.com/lisinge/valid_email2/commit/aedb51fadd5a05461d7f5ef7ea6942d7769f0c58)
|
3
7
|
|
data/lib/valid_email2/address.rb
CHANGED
@@ -21,10 +21,8 @@ module ValidEmail2
|
|
21
21
|
return false if @parse_error
|
22
22
|
|
23
23
|
if address.domain && address.address == @raw_address
|
24
|
-
tree = address.send(:tree)
|
25
|
-
|
26
24
|
# Valid address needs to have a dot in the domain
|
27
|
-
|
25
|
+
!!address.domain.match(/\./)
|
28
26
|
else
|
29
27
|
false
|
30
28
|
end
|
data/lib/valid_email2/version.rb
CHANGED
data/valid_email2.gemspec
CHANGED
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
24
24
|
spec.add_development_dependency "rake"
|
25
25
|
spec.add_development_dependency "rspec", "~> 2.14.1"
|
26
|
-
spec.add_runtime_dependency "mail", "~> 2.5
|
26
|
+
spec.add_runtime_dependency "mail", "~> 2.5"
|
27
27
|
spec.add_runtime_dependency "activemodel", ">= 3.2"
|
28
28
|
end
|
@@ -217,6 +217,7 @@
|
|
217
217
|
- keepmymail.com
|
218
218
|
- killmail.com
|
219
219
|
- killmail.net
|
220
|
+
- kiois.com
|
220
221
|
- kir.ch.tc
|
221
222
|
- klassmaster.com
|
222
223
|
- klassmaster.net
|
@@ -273,6 +274,7 @@
|
|
273
274
|
- mailzilla.com
|
274
275
|
- mailzilla.org
|
275
276
|
- mbx.cc
|
277
|
+
- mciek.com
|
276
278
|
- mega.zik.dj
|
277
279
|
- meinspamschutz.de
|
278
280
|
- meltmail.com
|
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: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micke Lisinge
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.5
|
61
|
+
version: '2.5'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.5
|
68
|
+
version: '2.5'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: activemodel
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|