valid_email2 3.3.1 → 3.4.0
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/config/disposable_email_domains.txt +1 -0
- data/lib/valid_email2/address.rb +1 -0
- data/lib/valid_email2/version.rb +1 -1
- data/spec/valid_email2_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71c14200d42afbdf47d3222f443c72f81dd23af157f32baebbcc607d2ef09959
|
4
|
+
data.tar.gz: 67e841c534a03d363b118bc50026dcc54ee1550478a98d92e885d53c40905ffe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e0b370d3fc4fa2fb1530e931c9f06156c88045f9b55a4b9e038d521460b34ac4dc8b81f6194ea649477cb4169774cfe3b7a9ad15e06447f472b0742700433e
|
7
|
+
data.tar.gz: d160ab3de4196dc830e26aedab650c9839520b9aadccb9e6153305eb42ad796929cab5a209aef3ce869e1a801171b7de45fdc23d3e5ac6004436ad7e31a2a6ef
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## Version 3.4.0
|
2
|
+
* Disallow consecutive dots https://github.com/micke/valid_email2/pull/163
|
3
|
+
* Add andyes.net https://github.com/micke/valid_email2/pull/162
|
4
|
+
|
1
5
|
## Version 3.3.1
|
2
6
|
* Fix some performance regressions (https://github.com/micke/valid_email2/pull/150)
|
3
7
|
|
data/lib/valid_email2/address.rb
CHANGED
data/lib/valid_email2/version.rb
CHANGED
data/spec/valid_email2_spec.rb
CHANGED
@@ -87,6 +87,11 @@ describe ValidEmail2 do
|
|
87
87
|
expect(user.valid?).to be_falsey
|
88
88
|
end
|
89
89
|
|
90
|
+
it "is invalid if the address contains consecutive dots" do
|
91
|
+
user = TestUser.new(email: "foo..bar@gmail.com")
|
92
|
+
expect(user.valid?).to be_falsey
|
93
|
+
end
|
94
|
+
|
90
95
|
it "is invalid if the email contains emoticons" do
|
91
96
|
user = TestUser.new(email: "foo🙈@gmail.com")
|
92
97
|
expect(user.valid?).to be_falsy
|
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: 3.
|
4
|
+
version: 3.4.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: 2020-
|
11
|
+
date: 2020-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|