validates_email_format_of 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6220bc1f3cb06d9af63e0bcf8ccfcc6e1dc795a59a5c08cd817ac921a057585b
|
4
|
+
data.tar.gz: 6c0f414549308510ad6434c71b3a1d0cabd88c4fc18cb3a3fb02135b862f3f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91e1f3eb18440c304f144d81b346134d9c6d7bc747e43fe464edeebb9e3a02e972e7fa4b4283d7b9eed6e4556f37a578d11bb4a9bb0328e93f5f2f2658625a30
|
7
|
+
data.tar.gz: 2e3c8cc64f8d860c0fb1e7771197942901a4fae28b166376b613bbef6262275003bbad62b23e244a3a9887ecb99c5f1dad7bc3f3b973150beaa5774782baed2d
|
data/{CHANGELOG → CHANGELOG.md}
RENAMED
@@ -1,9 +1,23 @@
|
|
1
|
-
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## [Unreleased]
|
4
|
+
|
5
|
+
[Unreleased]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.7.2...master
|
6
|
+
|
7
|
+
## [1.7.2]
|
8
|
+
|
9
|
+
* Fix regression that disallowed domains starting with number - https://github.com/validates-email-format-of/validates_email_format_of/issues/88
|
10
|
+
|
11
|
+
[Unreleased]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.7.1...v1.7.2
|
12
|
+
|
13
|
+
## [1.7.1] (3 Aug 2022)
|
2
14
|
|
3
15
|
* Fix invalid symbols being allowed in the local part - https://github.com/validates-email-format-of/validates_email_format_of/issues/86
|
4
16
|
* Fix rspec_matcher when using a custom error message - https://github.com/validates-email-format-of/validates_email_format_of/pull/85 - thanks https://github.com/luuqnhu !
|
5
17
|
|
6
|
-
|
18
|
+
[1.7.1]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.7.0...v1.7.1
|
19
|
+
|
20
|
+
## [1.7.0] (29 July 2022)
|
7
21
|
|
8
22
|
* Use Standard.rb for internal code formatting - https://github.com/validates-email-format-of/validates_email_format_of/commit/db1b0a86af58e478b7f9f2f269bf93bf48dc13c1
|
9
23
|
* Add support for comments in the local part and improve quoted character handling - https://github.com/validates-email-format-of/validates_email_format_of/issues/69
|
@@ -13,6 +27,9 @@
|
|
13
27
|
* Fix regex duplicate character warning - https://github.com/validates-email-format-of/validates_email_format_of/pull/71
|
14
28
|
* Update CI to include Ruby 2.6 to 3.1 and Rails 4.2 to 7.0
|
15
29
|
|
16
|
-
|
30
|
+
[1.7.0]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.6.1...v1.7.0
|
31
|
+
## [1.6.1] (8 Sept 2014)
|
17
32
|
|
18
33
|
* In a Rails context, this gem now uses ActiveModel's default logic for constructing I18n keys, to make it easier to override them on a model/attribute basis.
|
34
|
+
|
35
|
+
[1.6.1]: https://github.com/validates-email-format-of/validates_email_format_of/compare/v1.6.0...v1.6.1
|
@@ -70,7 +70,14 @@ module ValidatesEmailFormatOf
|
|
70
70
|
# <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>
|
71
71
|
# <let-dig-hyp> ::= <let-dig> | "-"
|
72
72
|
# <let-dig> ::= <letter> | <digit>
|
73
|
-
|
73
|
+
#
|
74
|
+
# Additionally, from https://datatracker.ietf.org/doc/html/rfc1123#section-2.1
|
75
|
+
#
|
76
|
+
# > One aspect of host name syntax is hereby changed: the
|
77
|
+
# > restriction on the first character is relaxed to allow either a
|
78
|
+
# > letter or a digit. Host software MUST support this more liberal
|
79
|
+
# > syntax.
|
80
|
+
DOMAIN_PART_LABEL = /\A[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9]?\Z/
|
74
81
|
|
75
82
|
# From https://tools.ietf.org/id/draft-liman-tld-names-00.html#rfc.section.2
|
76
83
|
#
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validates_email_format_of
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dunae
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-08-
|
12
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -121,7 +121,7 @@ files:
|
|
121
121
|
- ".gitignore"
|
122
122
|
- ".rspec"
|
123
123
|
- Appraisals
|
124
|
-
- CHANGELOG
|
124
|
+
- CHANGELOG.md
|
125
125
|
- Gemfile
|
126
126
|
- MIT-LICENSE
|
127
127
|
- README.rdoc
|