emailness 0.1.0.alpha → 0.1.0.alpha.2
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 +4 -4
- data/README.md +5 -2
- data/emailness.gemspec +12 -1
- data/lib/emailness/version.rb +2 -1
- metadata +11 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41fd5b6b799bfc5f93a7e4cbdbcf2c73900811ca580f04115858ffbd06e4e03c
|
|
4
|
+
data.tar.gz: e9f4eb4fd8b10c9ea7e3810e6f6e0cbeb0cf02cba0abb87099bc688ba1ecab49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cad4e4961e2b076570a968a473a96796f9293ab68e7c89631717539e93e63325598f5099adf6ce047b14056e11a0b6ebdf2b4bae0bdb3209c5565a7270ec731a
|
|
7
|
+
data.tar.gz: 616e222f01899aea2cd02fd3ef5e19cd784a4847374cbcd19e135eb50fe88a13bfdd136b28fe748f19b62d6ea3063a4143d9cdc67c5fc77ebe1779bc2c076a40
|
data/README.md
CHANGED
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
Email validation with sensible defaults so you can go care about more important things.
|
|
5
5
|
|
|
6
|
+
***TODO: The Rails validator isn't finished yet.***
|
|
7
|
+
|
|
8
|
+
* Strives to be trivially easy to choose and use
|
|
6
9
|
* Meant to match HTML5 email validation, happily deviates from RFC 5322
|
|
7
10
|
* Email tags with '+' are allowed
|
|
8
11
|
* Two consecutive dots ('..') are not
|
|
9
12
|
* Cares very little about most other things
|
|
10
13
|
|
|
11
|
-
**TODO: Make the Rails validator work/test it.**
|
|
12
|
-
**TODO: Publish gem**
|
|
13
14
|
|
|
14
15
|
Add the gem:
|
|
15
16
|
|
|
@@ -25,6 +26,8 @@ validates_emailness_of :email
|
|
|
25
26
|
|
|
26
27
|
And have a great day.
|
|
27
28
|
|
|
29
|
+
*If this gem is what you needed but had any hesitation or cognitive load in choosing it, please let me know!*
|
|
30
|
+
|
|
28
31
|
---
|
|
29
32
|
|
|
30
33
|
## Test cases
|
data/emailness.gemspec
CHANGED
|
@@ -7,7 +7,18 @@ Gem::Specification.new do |spec|
|
|
|
7
7
|
spec.email = ["jonathan@allard.io"]
|
|
8
8
|
|
|
9
9
|
spec.summary = %q{Care very little about email validation}
|
|
10
|
-
|
|
10
|
+
spec.description = <<~md
|
|
11
|
+
|
|
12
|
+
Email validation with sensible defaults so you can go care about more
|
|
13
|
+
important things.
|
|
14
|
+
|
|
15
|
+
* Strives to be trivially easy to choose and use
|
|
16
|
+
* Meant to match HTML5 email validation, happily deviates from RFC 5322
|
|
17
|
+
* Email tags with '+' are allowed
|
|
18
|
+
* Two consecutive dots ('..') are not
|
|
19
|
+
* Cares very little about most other things
|
|
20
|
+
md
|
|
21
|
+
|
|
11
22
|
spec.homepage = "https://github.com/joallard/emailness"
|
|
12
23
|
spec.license = "MIT"
|
|
13
24
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
data/lib/emailness/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: emailness
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.alpha
|
|
4
|
+
version: 0.1.0.alpha.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Allard
|
|
@@ -10,7 +10,16 @@ bindir: exe
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2020-12-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description:
|
|
13
|
+
description: |2
|
|
14
|
+
|
|
15
|
+
Email validation with sensible defaults so you can go care about more
|
|
16
|
+
important things.
|
|
17
|
+
|
|
18
|
+
* Strives to be trivially easy to choose and use
|
|
19
|
+
* Meant to match HTML5 email validation, happily deviates from RFC 5322
|
|
20
|
+
* Email tags with '+' are allowed
|
|
21
|
+
* Two consecutive dots ('..') are not
|
|
22
|
+
* Cares very little about most other things
|
|
14
23
|
email:
|
|
15
24
|
- jonathan@allard.io
|
|
16
25
|
executables: []
|