fat_fingers 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fat_fingers.rb +2 -1
- data/test/test_fat_fingers.rb +1 -1
- metadata +1 -1
data/lib/fat_fingers.rb
CHANGED
@@ -84,7 +84,8 @@ protected
|
|
84
84
|
|
85
85
|
def clean_up_other_providers
|
86
86
|
gsub(/@co*ma*cas*t\.net/,"@comcast.net").
|
87
|
-
gsub(/@sbcglob(a|l)\.net/, "@sbcglobal.net")
|
87
|
+
gsub(/@sbcglob(a|l)\.net/, "@sbcglobal.net").
|
88
|
+
gsub(/@veri*z*on\.net/,"@verizon.net")
|
88
89
|
end
|
89
90
|
|
90
91
|
def add_a_period_if_they_forgot_it
|
data/test/test_fat_fingers.rb
CHANGED
@@ -216,7 +216,7 @@ class StringTest < MiniTest::Unit::TestCase
|
|
216
216
|
@bad_msn_com = ["test@msn.com"]
|
217
217
|
|
218
218
|
@good_verizon_net = "test@verizon.net"
|
219
|
-
@bad_verizon_net = ["test@verizon.net"]
|
219
|
+
@bad_verizon_net = ["test@verizon.net", "test@verion.net", "test@verzon.net"]
|
220
220
|
|
221
221
|
@good_yahoo_co_uk = "test@yahoo.co.uk"
|
222
222
|
@bad_yahoo_co_uk = ["test@yahoo.co.uk"]
|