fat_fingers 0.1.31 → 0.1.32

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
  SHA1:
3
- metadata.gz: 5e30e60bb255687718c1b10d4648e5daaa481b9c
4
- data.tar.gz: 3a7afcd520520ab409f4e738e97ea039ec894ff8
3
+ metadata.gz: bce5a6d2ded77a98b67261a3b996a989d311250e
4
+ data.tar.gz: a56146c9f262b8d1bc4485f4acab8b33764f9061
5
5
  SHA512:
6
- metadata.gz: fdb149c7eebbcd888ebc68d2ee5c4df7b69fc1d23213f4d5220b4b9dd3b1dc0618cd07fe061d86c4cabd96461d0fbb226ec6f76fdd370867d4145fe1bee9ebd9
7
- data.tar.gz: fdfbe2c63919b36e18f7e3e59e549fae7e15e5d36b841a083585fe151d5bd158278bbc5832cd9018dbe258d135e7bd054f3d9951f975caa8ae79a7cceaa6eda2
6
+ metadata.gz: 5b6f5814019a2878b2a196a4afa90f1062494a3cfe6af17315c20467c7d358181a55e0a8ff1b32c8b0d4e22ab7c4a285cfa47e48c94b3c372d3b12b9ddcc26fa
7
+ data.tar.gz: 60490922091ccde39178c4c0689ebbf15e782e0433e4b76df3ffc85cb302c8725bad7c5200f78ff8c716058fcf801926667d05c465f6fc93e3eb5c375d857baf
data/lib/fat_fingers.rb CHANGED
@@ -68,7 +68,7 @@ protected
68
68
 
69
69
  def clean_up_funky_coms
70
70
  gsub(/\.c*(c|ck|ci|coi|l|m|n|o|op|cp|0|9)*m+o*$/,".com").
71
- gsub(/\.(c|f|v|x)o+(m|n)$/,".com")
71
+ gsub(/\.(c|f|v|x|vc|xc)o+(m|n)$/,".com")
72
72
  end
73
73
 
74
74
  def clean_up_funky_nets
@@ -106,7 +106,8 @@ class StringTest < MiniTest::Unit::TestCase
106
106
  "test@htomali.com",
107
107
  "test@homtail.com",
108
108
  "test@hotmail.co",
109
- "test@hotmail.net"
109
+ "test@hotmail.net",
110
+ "test@hotmail.vcom"
110
111
  ]
111
112
  },
112
113
  # aol.com
@@ -219,7 +220,9 @@ class StringTest < MiniTest::Unit::TestCase
219
220
  "test@something.com ",
220
221
  "TEST@SOMETHING.COM",
221
222
  "test@something.c9m",
222
- "mailto:test@something.com"
223
+ "mailto:test@something.com",
224
+ "test@something.vcom",
225
+ "test@something.xcom"
223
226
  ]
224
227
  },
225
228
  # generic .net
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.31
4
+ version: 0.1.32
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: 2018-06-27 00:00:00.000000000 Z
12
+ date: 2019-04-03 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',