fat_fingers 0.1.33 → 0.1.34

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
- SHA1:
3
- metadata.gz: eb6f8a7cc2412733c32efd0e9f23c192bb1641fc
4
- data.tar.gz: 2289eca30c478e4e617412e21ac7982c254147ad
2
+ SHA256:
3
+ metadata.gz: c9e2fb174d542b7693f48077cf739a0c4bc640a2134c1d00d471f059e9cd327a
4
+ data.tar.gz: d1f0cc6d93d1dfcae7cf181b9bcbdb37a0af197006daf867fdd4870f34a0efcb
5
5
  SHA512:
6
- metadata.gz: c4b4e398176bf666670e52236a8c40d47939348957b7b90c519dfaa6025500c2283c8cf0a6a961ef6be1f84e7718e9d60be2b30b7dddb31d2bb1502b681553c9
7
- data.tar.gz: 3c5f94cabcc0f7e473d89dbfefc8d3047dff14806ea9bd7b14cd4b4944b48aabe9e35eafd3b62768af5b54c66da0298ffc30e9fade6802d3ee7c3b9f8868e5e7
6
+ metadata.gz: 4fec6a9e549ff1aa059b50b5242b113b5034bcc0258852f9a3f887260647a716d685783a2e6eac0bf339899d4d908687a0e36f9773a9eb1eee91392d01a73062
7
+ data.tar.gz: fd89cad6a08f5cbf4428a85681f773731b875c660d5bdab5dca57a1b3ada43c5f08dd732c984a9353ae3ed59365d56763228396189ee34473651beb7e039409c
@@ -84,11 +84,11 @@ protected
84
84
  end
85
85
 
86
86
  def clean_up_gmail
87
- gsub(/@g[nm]{0,2}s?[ail]{1,2}[aiklmou]{0,3}\.(?!gov)(?!edu)/,"@gmail.") # match a broad variety of mispellings of gmail, but not if it's .gov or .edu
87
+ gsub(/@ga?e?i?o?r?g?[nm]{0,2}s?[ail]{1,2}[aiklmou]{0,3}\.(?!gov)(?!edu)/,"@gmail.") # match a broad variety of mispellings of gmail, but not if it's .gov or .edu
88
88
  end
89
89
 
90
90
  def clean_up_hotmail
91
- gsub(/@h(i|o|p)?y?t?o?a?m?n?t?[aikl]{1,3}l?\./,"@hotmail.")
91
+ gsub(/@h(i|o|p)?y?t?o?a?r?m?n?t?m?[aikl]{1,3}l?\./,"@hotmail.")
92
92
  end
93
93
 
94
94
  def clean_up_yahoo
@@ -24,6 +24,12 @@ class StringTest < MiniTest::Unit::TestCase
24
24
  "test@gmaill.com",
25
25
  "test@gamil.com",
26
26
  "test@gnail.com",
27
+ "test@gamail.com",
28
+ "test@gemail.com",
29
+ "test@gimail.com",
30
+ "test@gomail.com",
31
+ "test@ggmail.com",
32
+ "test@grmail.com",
27
33
  "test@gmailc.om",
28
34
  "test.@gmail.com",
29
35
  "test.@gmail.co",
@@ -100,6 +106,8 @@ class StringTest < MiniTest::Unit::TestCase
100
106
  "test@hotmaill.com",
101
107
  "test@hotmaik.com",
102
108
  "test@hoymail.com",
109
+ "test@hormail.com",
110
+ "test@hortmail.com",
103
111
  "test@hptmail.com",
104
112
  "test@hitmail.com",
105
113
  "test@hotnail.com",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_fingers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.33
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Park
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-07-22 00:00:00.000000000 Z
12
+ date: 2020-09-08 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Makes sure users don't accidentally create an account for the wrong e-mail
15
15
  address. Because 'gmial' isn't actually what they meant to type. Similarly, 'yaho.com',
@@ -42,8 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  - !ruby/object:Gem::Version
43
43
  version: '0'
44
44
  requirements: []
45
- rubyforge_project:
46
- rubygems_version: 2.6.12
45
+ rubygems_version: 3.0.6
47
46
  signing_key:
48
47
  specification_version: 4
49
48
  summary: Clean up e-mail strings when the user's made a typo (like 'gmail.cmo').