email_validator 2.2.1 → 2.2.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: faae1443109b7d1c95aca6addd9d2be7c3cfaf58a771e003d80a1ea75dd0993f
4
- data.tar.gz: c1094ac3f9d4887193eb2145c62f46cefe1d4ed0a734a6d7add1cf68222de1dd
3
+ metadata.gz: 9f5010b8d56592e8febeda1e96b6fa35a27e2dae75dab6277fbade5f35b74b18
4
+ data.tar.gz: 50bbb4a9c6abea2db5c2e887ba67a88739afccdb445c56be74c063b10993cef3
5
5
  SHA512:
6
- metadata.gz: e99e6549ebfa01f6fc43b0a8f8bfba80ce0037700f2672be89bb0936b71f929bde127d667fc634a38bc6ea9e26d08a61393c5f261db3581362f8497001305790
7
- data.tar.gz: 7e74593c1bb75c71d8864c1db31d9a415ec6fbc4d56a7f190363224f3906b884f0bd39af9208969112f12978b733ae09271e3a94b42ed1fc84b88553cd71df9d
6
+ metadata.gz: b520404b2777c72ac87eaccaaacb073b340ebca043d104d531d8d78c74fd413d2f0e1c5ef6b7d08529a23d2aad913c7e1d15ab16989ea5777b5f41d37539365b
7
+ data.tar.gz: 100eb11eaff2bd530d7a6c554655d93649a45aa6a5e5718a31cfa0c994f8e5341b57964d01c7f256ce4e8e927c3ba8e5610694cd293dda2d3241a2f2c187e1b9
@@ -5,6 +5,10 @@ This file is used to list changes made in `email_validator`.
5
5
  All notable changes to this project will be documented in this file.
6
6
  This project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
+ ## 2.2.2 (2020-12-10)
9
+
10
+ * [karlwilbur] - Fix includes for `:rfc` and `:strict` modes from `Gemfile`
11
+
8
12
  ## 2.2.1 (2020-12-10)
9
13
 
10
14
  * [karlwilbur] - Modify regexp to:
@@ -0,0 +1,4 @@
1
+ # require this file to enable `:rfc` mode by default
2
+
3
+ require 'email_validator'
4
+ EmailValidator.default_options[:mode] = :rfc
@@ -0,0 +1,4 @@
1
+ # require this file to enable `:strict` mode by default
2
+
3
+ require 'email_validator'
4
+ EmailValidator.default_options[:mode] = :strict
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Alexander
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-10 00:00:00.000000000 Z
12
+ date: 2020-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -38,6 +38,8 @@ files:
38
38
  - LICENSE
39
39
  - README.md
40
40
  - lib/email_validator.rb
41
+ - lib/email_validator/rfc.rb
42
+ - lib/email_validator/strict.rb
41
43
  - spec/email_validator_spec.rb
42
44
  - spec/spec_helper.rb
43
45
  homepage: https://github.com/K-and-R/email_validator