email_address 0.2.8 → 0.2.9
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f208df87862abc3af2936e9f6780e12409ed4430353125829cdeed515bffe044
|
|
4
|
+
data.tar.gz: 9c5573440c5759d71d172e2a534b14050375a0a66351c01ddafabd6a5db5cb26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67fd95a7991cd3c6acd3cc0a0f955de58597435297ccf7a7edd57e92cf9aed9b4cd523655bfb9775cd03f477c4a06d86f7195fb5b7a257fde96dcdc36ca21cca
|
|
7
|
+
data.tar.gz: 437e9173744dccba78cef4301e3a4b107a977017cb58d273896c5ea4c05e41389c3b638819767658d03878f808e09e06b480a33ce0ca7ef446641d98a20475f8
|
|
@@ -31,6 +31,10 @@ class TestAR < MiniTest::Test
|
|
|
31
31
|
user = User.new(email: "Pat.Jones+ASDF@GMAIL.com")
|
|
32
32
|
assert_equal "pat.jones+asdf@gmail.com", user.email
|
|
33
33
|
assert_equal "patjones@gmail.com", user.canonical_email
|
|
34
|
+
|
|
35
|
+
user = User.new(email: nil)
|
|
36
|
+
assert_nil user.email
|
|
37
|
+
assert_nil user.canonical_email
|
|
34
38
|
end
|
|
35
39
|
end
|
|
36
40
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: email_address
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allen Fair
|
|
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
263
263
|
- !ruby/object:Gem::Version
|
|
264
264
|
version: '0'
|
|
265
265
|
requirements: []
|
|
266
|
-
rubygems_version: 4.0.
|
|
266
|
+
rubygems_version: 4.0.6
|
|
267
267
|
specification_version: 4
|
|
268
268
|
summary: This gem provides a ruby language library for working with and validating
|
|
269
269
|
email addresses. By default, it validates against conventional usage, the format
|