fat_fingers 0.1.34 → 0.1.35

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9e2fb174d542b7693f48077cf739a0c4bc640a2134c1d00d471f059e9cd327a
4
- data.tar.gz: d1f0cc6d93d1dfcae7cf181b9bcbdb37a0af197006daf867fdd4870f34a0efcb
3
+ metadata.gz: 62cbeca39129b05b857c99e73667f3796a6a132a3479ebed0c692cc26ced1e9f
4
+ data.tar.gz: 7870519d781db7f5e979308508019b1b9b008cd1fb8ee863df96c02eb48adae8
5
5
  SHA512:
6
- metadata.gz: 4fec6a9e549ff1aa059b50b5242b113b5034bcc0258852f9a3f887260647a716d685783a2e6eac0bf339899d4d908687a0e36f9773a9eb1eee91392d01a73062
7
- data.tar.gz: fd89cad6a08f5cbf4428a85681f773731b875c660d5bdab5dca57a1b3ada43c5f08dd732c984a9353ae3ed59365d56763228396189ee34473651beb7e039409c
6
+ metadata.gz: 25049cafe5a2138e964699965d6a3e88f44c64a90b59eada5a11e38d9bd796b250220c185327fb55dc9cb6505a0ea3ff050b414a2e699dc433066cd26720e0c7
7
+ data.tar.gz: 9d5f4d1a2e2494c2ab05a6dcef2e7f60043418aebe9af06706e770a601ac742be518512be8395d9bda028fc23da456ba3794e0e4608332aa3cb13dc569159a68
@@ -80,11 +80,11 @@ protected
80
80
  end
81
81
 
82
82
  def clean_up_googlemail
83
- gsub(/@go{0,3}g{0,2}o?le?[mn]?[ail]{1,2}m?[aikl]{0,3}\./,"@googlemail.")
83
+ gsub(/@go{0,3}g{0,2}o?le?[mn]?[ail]{1,2}m?[aikl]{0,3}\.(?!gov)(?!edu)(?!ac.in)/,"@googlemail.")
84
84
  end
85
85
 
86
86
  def clean_up_gmail
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
87
+ gsub(/@ga?e?i?o?r?g?[nm]{0,2}s?[ail]{1,2}[aiklmou]{0,3}\.(?!gov)(?!edu)(?!ac.in)/,"@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
@@ -278,6 +278,8 @@ class StringTest < MiniTest::Unit::TestCase
278
278
  "test@gmx.com",
279
279
  "test@gao.gov",
280
280
  "test@gial.edu",
281
+ "test@gial.ac.in",
282
+ "test@gla.gov",
281
283
  "test@googlemail.com",
282
284
  "test@something.cn",
283
285
  "test@something.com.co",
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.34
4
+ version: 0.1.35
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: 2020-09-08 00:00:00.000000000 Z
12
+ date: 2020-10-01 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',