email_typo 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4e88660e5189aac9b6ae40fcd5adb231927d2dee
4
+ data.tar.gz: 0d3954d0d96e5ba9d9fe234c249703620b0d2453
5
+ SHA512:
6
+ metadata.gz: 1197d3487cfb81baea410d12ee935aa94b4dd4531ce4b0e142951ad92e26462118a6749a4d6c691a7fefd852757c2e3925dc460264ad428006c7018434386285
7
+ data.tar.gz: f79ea6363bfb8ef43ec3b055b601edcad0a075f5782f05abdefb9271c5d81845ffb7f8c56b089782268b66b4d5ad69d724e9026748b35e2c629c33a7b1d3ba6e
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,14 @@
1
+ sudo: false
2
+ cache: bundler
3
+ language: ruby
4
+ rvm:
5
+ - 2.4.1
6
+ before_install: gem install bundler
7
+ script: bundle exec rake
8
+ notifications:
9
+ email: false
10
+ after_success:
11
+ - bundle exec codeclimate-test-reporter
12
+ env:
13
+ global:
14
+ secure: NxLs+gcCgqm0cweEQ6abyZ7njE9JUNzycrSFO0OmEQUfiKl0ArIu26NrcjQvL3XvUiikmAcdzavA+5P4vMsQGFkjwqE0bwGxg+cu5a3nzNBoyhOKlQZQ+MTsWs3kX8VqADNa2VdosVkbf/n8Q9eFmV712NWZqPHGvT56HCpkQIQMo5h1/SuUJzVfbw+3P4x11++/hifodhq2xsGEzvaY0vThEk1BbVO2REeQsvnZx3Vs3m+wjmovhlpbL2PqAVBshbrlsBx6PKo55ubQjv4z0PByPAkk5bn5CY/SXw7xItw8s0camHj8bYCzJyjvsCFkLbKYiwcymy4mCAZz8SHZWf7FzKrZFYBQfPIlvcaIdN0gxYSmhUTZ+F7/Q12GS8ZNxi0QKyy7/crib1NKCYea+fYp9tX+RR+kTDRgxadzZDtHywjuwG9ttHuki8yQiL2Ma7Ecw1LbFVeKz2v/L3oxINUJ+uMHZVPOrpd+sO5+YTHN2xmuqPNbQnoOdNiT06fRQkbIPD11UfgRb1zegyxRmgc4H4n/Ps0OpuI5S4fafINFW9W0EhJjtOT/WJTy6nbKL1Rk8YeZBrK0JZSr/zZc6dt9FrZZaj2gjko9Zvb/wIP+nACXm1fV9+jIEoE2CzYdFaOQT0uAKbhQqnArZ5/RXg98nmuPoEPyjtgfWjPcINU=
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at fnando.vieira@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in email_typo.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Nando Vieira
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,62 @@
1
+ # EmailTypo
2
+
3
+ [![Travis-CI](https://travis-ci.org/fnando/email_typo.png)](https://travis-ci.org/fnando/email_typo)
4
+ [![Code Climate](https://codeclimate.com/github/fnando/email_typo/badges/gpa.svg)](https://codeclimate.com/github/fnando/email_typo)
5
+ [![Test Coverage](https://codeclimate.com/github/fnando/email_typo/badges/coverage.svg)](https://codeclimate.com/github/fnando/email_typo/coverage)
6
+ [![Gem](https://img.shields.io/gem/v/email_typo.svg)](https://rubygems.org/gems/email_typo)
7
+ [![Gem](https://img.shields.io/gem/dt/email_typo.svg)](https://rubygems.org/gems/email_typo)
8
+
9
+ EmailTypo is a Ruby gem that gives you an easy, tested method that fixes email typos.
10
+
11
+ As an example: A user with the email "joe@gmail.com" accidentally enters in "joe@gmal.cmo", EmailTypo will fix it automatically.
12
+
13
+ EmailTypo is concerned with incorrectly-entered data (email provider names, TLDs), not with evaluating whether a particular domain is valid, or whether a particular email address is legitimate. (That is, it's focused on fixing the part that comes after the "@" in the email address.) It works really well for helping you — and your users — when they accidentally type something in wrong.
14
+
15
+ **NOTE**: This is based on https://github.com/charliepark/fat_fingers, but without polluting the `String` class and with easier extension support.
16
+
17
+ ## Installation
18
+
19
+ Add this line to your application's Gemfile:
20
+
21
+ ```ruby
22
+ gem "email_typo"
23
+ ```
24
+
25
+ And then execute:
26
+
27
+ $ bundle
28
+
29
+ Or install it yourself as:
30
+
31
+ $ gem install email_typo
32
+
33
+ ## Usage
34
+
35
+ To fix any typos, just use `EmailTypo.fix(email)`.
36
+
37
+ ```ruby
38
+ EmailTypo.fix("john.doe@gmail.co")
39
+ #=> "john.doe@gmail.com"
40
+ ```
41
+
42
+ To add/change the processors, add any object that responds to `#call(email)` to `EmailTypo.default_processors`. The following example adds a processor for `.uol.com.br`, a Brazilian email provider:
43
+
44
+ ```ruby
45
+ EmailTypo.default_processors << lambda do |email|
46
+ email.gsub(/@uol\.com(\..*?)?/, "@uol.com.br")
47
+ end
48
+ ```
49
+
50
+ ## Development
51
+
52
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
53
+
54
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
55
+
56
+ ## Contributing
57
+
58
+ Bug reports and pull requests are welcome on GitHub at https://github.com/fnando/email_typo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
59
+
60
+ ## License
61
+
62
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "email_typo"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "./lib/email_typo/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "email_typo"
7
+ spec.version = EmailTypo::VERSION
8
+ spec.authors = ["Nando Vieira"]
9
+ spec.email = ["fnando.vieira@gmail.com"]
10
+
11
+ spec.summary = "Clean up e-mail strings when the user's made a typo (like 'gmail.cmo')."
12
+ spec.description = spec.summary
13
+ spec.homepage = "https://github.com/fnando/email_typo"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency "minitest-utils"
26
+ spec.add_development_dependency "pry-meta"
27
+ spec.add_development_dependency "simplecov"
28
+ spec.add_development_dependency "codeclimate-test-reporter"
29
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "./email_typo/version"
4
+
5
+ require_relative "./email_typo/add_missing_m"
6
+ require_relative "./email_typo/add_missing_period"
7
+ require_relative "./email_typo/aol"
8
+ require_relative "./email_typo/different_tlds"
9
+ require_relative "./email_typo/dot_com"
10
+ require_relative "./email_typo/dot_net"
11
+ require_relative "./email_typo/dot_org"
12
+ require_relative "./email_typo/gmail"
13
+ require_relative "./email_typo/googlemail"
14
+ require_relative "./email_typo/hotmail"
15
+ require_relative "./email_typo/known_dot_com"
16
+ require_relative "./email_typo/period_around_at_sign"
17
+ require_relative "./email_typo/providers"
18
+ require_relative "./email_typo/remove_invalid_chars"
19
+ require_relative "./email_typo/transposed_periods"
20
+ require_relative "./email_typo/yahoo"
21
+
22
+ module EmailTypo
23
+ class << self
24
+ # List of default processors that will be applied to fix any email's typos.
25
+ attr_accessor :default_processors
26
+ end
27
+
28
+ self.default_processors = [
29
+ RemoveInvalidChars,
30
+ TransposedPeriods,
31
+ PeriodAroundAtSign,
32
+ DifferentTlds,
33
+ AddMissingM,
34
+ AddMissingPeriod,
35
+ Providers,
36
+ Aol,
37
+ DotCom,
38
+ DotNet,
39
+ DotOrg,
40
+ Gmail,
41
+ Googlemail,
42
+ Hotmail,
43
+ KnownDotCom,
44
+ Yahoo
45
+ ]
46
+
47
+ def self.fix(email, processors = default_processors)
48
+ return unless email
49
+
50
+ processors.reduce(email.downcase) do |processed_email, processor|
51
+ processor.call(processed_email)
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ AddMissingM = lambda do |email|
5
+ email.gsub(/(aol|googlemail|gmail|hotmail|yahoo).co$/, "\\1.com")
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ AddMissingPeriod = lambda do |email|
5
+ email.gsub(/([^\.])(com|org|net)$/, "\\1.\\2")
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ Aol = lambda do |email|
5
+ email.gsub(/@(ol|ao|ail)\./, "@aol.")
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ DifferentTlds = lambda do |email|
5
+ email
6
+ .gsub(/\.(o\.uk|couk|co\.um)$/, ".co.uk")
7
+ .gsub(/\.(cojp|co\.lp)$/, ".co.jp")
8
+ end
9
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ DotCom = lambda do |email|
5
+ email
6
+ .gsub(/\.co[mn]\.com/, ".com")
7
+ .gsub(/\.com\.$/, ".com")
8
+ .gsub(/\.com(?!cast|\.|@).{1,3}$/, ".com")
9
+ .gsub(/\.co[^op]$/, ".com")
10
+ .gsub(/\.c*(c|ci|coi|l|m|n|o|op|cp|0)*m+o*$/, ".com")
11
+ .gsub(/\.(c|v|x)o+(m|n)$/, ".com")
12
+ end
13
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ DotNet = lambda do |email|
5
+ email.gsub(/\.(nte*|n*et*)$/, ".net")
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ # require the o, to not false-positive .gr e-mails
5
+ DotOrg = lambda do |email|
6
+ email.gsub(/\.og?r?g{0,2}$/, ".org")
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ Gmail = lambda do |email|
5
+ email.gsub(/@g[nm]{0,2}s?[ail]{1,2}[aiklmou]{0,3}\.(?!gov)/, "@gmail.")
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ Googlemail = lambda do |email|
5
+ email
6
+ .gsub(/@go{0,3}g{0,2}o?le?[mn]?[ail]{1,2}m?[aikl]{0,3}\./, "@googlemail.")
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ Hotmail = lambda do |email|
5
+ email.gsub(/@h(i|o|p)?y?t?o?a?m?n?t?[aikl]{1,3}l?\./, "@hotmail.")
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ KnownDotCom = lambda do |email|
5
+ email
6
+ .gsub(/@(aol|googlemail|gmail|hotmail|yahoo|icloud|outlook)\.([a-z]+)$/, "@\\1.com")
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ PeriodAroundAtSign = lambda do |email|
5
+ email.gsub(/(\.@|@\.)/, "@")
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ Providers = lambda do |email|
5
+ email
6
+ .gsub(/@co?(m|n)a?cas?t{0,2}\./, "@comcast.")
7
+ .gsub(/@sbc?gl?ob[al]{0,2}l?\./, "@sbcglobal.")
8
+ .gsub(/@ver?i?z?on\./, "@verizon.")
9
+ .gsub(/@icl{0,2}oud\./, "@icloud.")
10
+ .gsub(/@outl?ook?\./, "@outlook.")
11
+ end
12
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ RemoveInvalidChars = lambda do |email|
5
+ email
6
+ .gsub(/(\s|\#|\'|\"|\\)*/, "")
7
+ .gsub(/(\,|\.\.)/, ".")
8
+ .gsub("@@", "@")
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ # can't do "o.gr" => ".org", as ".gr" is a valid TLD
5
+ TransposedPeriods = lambda do |email|
6
+ email
7
+ .gsub(/c\.om$/, ".com")
8
+ .gsub(/n\.et$/, ".net")
9
+ end
10
+ end
@@ -0,0 +1,3 @@
1
+ module EmailTypo
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EmailTypo
4
+ Yahoo = lambda do |email|
5
+ email.gsub(/@(ya|yh|ua|ah)+h*a*o+\./, "@yahoo.")
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: email_typo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Nando Vieira
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest-utils
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-meta
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: codeclimate-test-reporter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Clean up e-mail strings when the user's made a typo (like 'gmail.cmo').
98
+ email:
99
+ - fnando.vieira@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".travis.yml"
106
+ - CODE_OF_CONDUCT.md
107
+ - Gemfile
108
+ - LICENSE.txt
109
+ - README.md
110
+ - Rakefile
111
+ - bin/console
112
+ - bin/setup
113
+ - email_typo.gemspec
114
+ - lib/email_typo.rb
115
+ - lib/email_typo/add_missing_m.rb
116
+ - lib/email_typo/add_missing_period.rb
117
+ - lib/email_typo/aol.rb
118
+ - lib/email_typo/different_tlds.rb
119
+ - lib/email_typo/dot_com.rb
120
+ - lib/email_typo/dot_net.rb
121
+ - lib/email_typo/dot_org.rb
122
+ - lib/email_typo/gmail.rb
123
+ - lib/email_typo/googlemail.rb
124
+ - lib/email_typo/hotmail.rb
125
+ - lib/email_typo/known_dot_com.rb
126
+ - lib/email_typo/period_around_at_sign.rb
127
+ - lib/email_typo/providers.rb
128
+ - lib/email_typo/remove_invalid_chars.rb
129
+ - lib/email_typo/transposed_periods.rb
130
+ - lib/email_typo/version.rb
131
+ - lib/email_typo/yahoo.rb
132
+ homepage: https://github.com/fnando/email_typo
133
+ licenses:
134
+ - MIT
135
+ metadata: {}
136
+ post_install_message:
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ requirements: []
151
+ rubyforge_project:
152
+ rubygems_version: 2.6.11
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: Clean up e-mail strings when the user's made a typo (like 'gmail.cmo').
156
+ test_files: []