From 10bdad73a97388fbf72a0cafc3e1b2433872b9d4 Mon Sep 17 00:00:00 2001 From: hatsu38 Date: Wed, 18 Oct 2023 01:01:59 +0900 Subject: [PATCH 1/6] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20remove=20safe=5F?= =?UTF-8?q?email,=20free=5Femail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/faker/default/internet.rb | 36 ----------------------------------- 1 file changed, 36 deletions(-) diff --git a/lib/faker/default/internet.rb b/lib/faker/default/internet.rb index af6b0bb444..67811c2949 100644 --- a/lib/faker/default/internet.rb +++ b/lib/faker/default/internet.rb @@ -50,42 +50,6 @@ def email(name: nil, separators: nil, domain: nil) construct_email(sanitized_local_part, generate_domain) end - ## - # Returns the email address with domain either gmail.com, yahoo.com or hotmail.com - # - # @return [String] - # - # @param name [String] - # - # @example - # Faker::Internet.free_email #=> "samsmith@gmail.com" - # Faker::Internet.free_email(name: 'smith') #=> "smith@yahoo.com" - def free_email(name: nil) - construct_email( - sanitize_email_local_part(username(specifier: name)), - fetch('internet.free_email') - ) - end - deprecate :free_email, :email, 2023, 10 - - ## - # Returns the email address with fixed domain name as 'example' - # - # @return [String] - # - # @param name [String] - # - # @example - # Faker::Internet.safe_email #=> "samsmith@example.com" - # Faker::Internet.safe_email(name: 'smith') #=> "smith@example.net" - def safe_email(name: nil) - construct_email( - sanitize_email_local_part(username(specifier: name)), - "example.#{sample(%w[org com net])}" - ) - end - deprecate :safe_email, :email, 2023, 10 - ## # Returns the username # From 7bbb3704ed116d6f94bc44e56eb5d0b20c7793f3 Mon Sep 17 00:00:00 2001 From: hatsu38 Date: Wed, 18 Oct 2023 01:05:16 +0900 Subject: [PATCH 2/6] =?UTF-8?q?test:=20=F0=9F=92=8D=20remove=20safe=5Femai?= =?UTF-8?q?l,=20free=5Femail=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/faker/default/test_faker_internet.rb | 24 ----------------------- 1 file changed, 24 deletions(-) diff --git a/test/faker/default/test_faker_internet.rb b/test/faker/default/test_faker_internet.rb index 76a50642bf..4dc7cf3aad 100644 --- a/test/faker/default/test_faker_internet.rb +++ b/test/faker/default/test_faker_internet.rb @@ -78,30 +78,6 @@ def test_email_with_name_seperators_domain end end - def test_free_email - Gem::Deprecate.skip_during do - assert_match(/.+@(gmail|hotmail|yahoo)\.com/, @tester.free_email) - end - end - - def test_free_email_with_non_permitted_characters - Gem::Deprecate.skip_during do - assert_match(/mart#n@.+\.\w+/, @tester.free_email(name: 'martín')) - end - end - - def test_safe_email - Gem::Deprecate.skip_during do - assert_match(/.+@example.(com|net|org)/, @tester.safe_email) - end - end - - def test_safe_email_with_non_permitted_characters - Gem::Deprecate.skip_during do - assert_match(/mart#n@.+\.\w+/, @tester.safe_email(name: 'martín')) - end - end - def test_username assert_match(/[a-z]+((_|\.)[a-z]+)?/, @tester.username(specifier: 0..3)) assert_match(/[a-z]+((_|\.)[a-z]+)?/, @tester.username) From a22651ccf07be2f525f9629c0c1eb8cec17a4588 Mon Sep 17 00:00:00 2001 From: hatsu38 Date: Wed, 18 Oct 2023 01:18:12 +0900 Subject: [PATCH 3/6] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20remove=20safe=5F?= =?UTF-8?q?email,=20free=5Femail=20from=20lib/locales/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/locales/bg.yml | 1 - lib/locales/de-AT.yml | 1 - lib/locales/de-CH.yml | 8 -------- lib/locales/de.yml | 1 - lib/locales/ee.yml | 1 - lib/locales/en-CA.yml | 1 - lib/locales/en-IND.yml | 1 - lib/locales/en-NEP.yml | 1 - lib/locales/en-PAK.yml | 1 - lib/locales/en/internet.yml | 4 ---- lib/locales/es-MX.yml | 1 - lib/locales/es.yml | 1 - lib/locales/fr-CA.yml | 1 - lib/locales/fr-CH.yml | 1 - lib/locales/fr/internet.yml | 1 - lib/locales/hy.yml | 1 - lib/locales/it.yml | 1 - lib/locales/ko.yml | 1 - lib/locales/lt.yml | 1 - lib/locales/lv.yml | 1 - lib/locales/nl.yml | 1 - lib/locales/pl.yml | 1 - lib/locales/pt-BR.yml | 1 - lib/locales/pt.yml | 1 - lib/locales/ru.yml | 1 - lib/locales/sk.yml | 1 - lib/locales/tr.yml | 2 -- lib/locales/uk.yml | 1 - 28 files changed, 39 deletions(-) diff --git a/lib/locales/bg.yml b/lib/locales/bg.yml index 5cf6b0867f..4220cfc009 100644 --- a/lib/locales/bg.yml +++ b/lib/locales/bg.yml @@ -17,7 +17,6 @@ bg: default_country: [България] default_country_code: ["BG"] internet: - free_email: [abv.bg, mail.bg, dir.bg, gmail.com, yahoo.com, hotmail.com] domain_suffix: [com, bg, info, бг, net, org] name: diff --git a/lib/locales/de-AT.yml b/lib/locales/de-AT.yml index 03f066c89f..44680344e7 100644 --- a/lib/locales/de-AT.yml +++ b/lib/locales/de-AT.yml @@ -26,7 +26,6 @@ de-AT: - "#{Name.last_name}, #{Name.last_name} und #{Name.last_name}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com] domain_suffix: [com, info, name, net, org, de, ch, at] name: diff --git a/lib/locales/de-CH.yml b/lib/locales/de-CH.yml index e25860425e..1384aa404f 100644 --- a/lib/locales/de-CH.yml +++ b/lib/locales/de-CH.yml @@ -3507,14 +3507,6 @@ de-CH: country_code: - "41" internet: - free_email: - - gmail.com - - yahoo.com - - hotmail.com - - gmx.de - - web.de - - mail.de - - freenet.de domain_suffix: - ch - com diff --git a/lib/locales/de.yml b/lib/locales/de.yml index 21420742e2..bf66e27cdc 100644 --- a/lib/locales/de.yml +++ b/lib/locales/de.yml @@ -66,7 +66,6 @@ de: - "#{quarter_wind_azimuth}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com, gmx.de, web.de, mail.de, freenet.de] domain_suffix: [com, info, name, net, org, de, ch] lorem: diff --git a/lib/locales/ee.yml b/lib/locales/ee.yml index 9038953c45..e0c65a9b9e 100644 --- a/lib/locales/ee.yml +++ b/lib/locales/ee.yml @@ -36,7 +36,6 @@ ee: - "#{suffix} #{Name.last_name}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com] domain_suffix: [com, com.ee, ee, net, org] name: diff --git a/lib/locales/en-CA.yml b/lib/locales/en-CA.yml index d2a2a08d56..aad051469d 100644 --- a/lib/locales/en-CA.yml +++ b/lib/locales/en-CA.yml @@ -8,7 +8,6 @@ en-CA: default_country_code: ["CA"] internet: - free_email: [gmail.com, yahoo.ca, hotmail.com] domain_suffix: [ca, com, biz, info, name, net, org] country_code: ['1'] diff --git a/lib/locales/en-IND.yml b/lib/locales/en-IND.yml index 1370509710..ffe439c428 100644 --- a/lib/locales/en-IND.yml +++ b/lib/locales/en-IND.yml @@ -17,7 +17,6 @@ en-IND: default_time_zone: ["Asia/Kolkata"] default_country_code: ["IN"] internet: - free_email: [gmail.com, yahoo.co.in, hotmail.com] domain_suffix: [in, com, biz, info, name, net, org, co.in] company: suffix: [Pvt Ltd, Limited, Ltd, and Sons, Corp, Group, Brothers] diff --git a/lib/locales/en-NEP.yml b/lib/locales/en-NEP.yml index 13d0f00f14..9dd28db328 100644 --- a/lib/locales/en-NEP.yml +++ b/lib/locales/en-NEP.yml @@ -41,7 +41,6 @@ en-NEP: city: ["Bhaktapur", "Biratnagar", "Birendranagar", "Birgunj", "Butwal", "Damak", "Dharan", "Gaur", "Gorkha", "Hetauda", "Itahari", "Janakpur", "Kathmandu", "Lahan", "Nepalgunj", "Pokhara"] default_country: ["Nepal"] internet: - free_email: ['worldlink.com.np', 'gmail.com', 'yahoo.com', 'hotmail.com'] domain_suffix: ['np', 'com', 'info', 'net', 'org'] company: suffix: ['Pvt Ltd', 'Group', 'Ltd', 'Limited'] diff --git a/lib/locales/en-PAK.yml b/lib/locales/en-PAK.yml index 19fe18544b..edbdda720b 100644 --- a/lib/locales/en-PAK.yml +++ b/lib/locales/en-PAK.yml @@ -11,7 +11,6 @@ en-PAK: default_country: [Pakistan, Islamic Republic of Pakistan] default_country_code: ["PK"] internet: - free_email: [gmail.com, yahoo.com, hotmail.com] domain_suffix: [pk, com, com.pk, name, net, org, html, edu] company: suffix: [Pvt Ltd, Limited, Ltd, and Sons, Corp, Group, Brothers, CO] diff --git a/lib/locales/en/internet.yml b/lib/locales/en/internet.yml index a2bdd23cf9..720d983998 100644 --- a/lib/locales/en/internet.yml +++ b/lib/locales/en/internet.yml @@ -13,10 +13,6 @@ en: safe_domain_suffix: - example - test - free_email: - - gmail.com - - yahoo.com - - hotmail.com slug: - report - appointment diff --git a/lib/locales/es-MX.yml b/lib/locales/es-MX.yml index ffbbf9c721..d327f5413d 100644 --- a/lib/locales/es-MX.yml +++ b/lib/locales/es-MX.yml @@ -47,7 +47,6 @@ es-MX: - "#{University.prefix} #{Address.state} #{University.suffix}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com, prodigy.net.mx] domain_suffix: [com, com.mx, mx, info, me, org, org.mx] name: diff --git a/lib/locales/es.yml b/lib/locales/es.yml index 1cf686ade4..c218c1e541 100644 --- a/lib/locales/es.yml +++ b/lib/locales/es.yml @@ -50,7 +50,6 @@ es: internet: - free_email: [gmail.com, yahoo.com, hotmail.com] domain_suffix: [com, es, info, com.es, org] name: diff --git a/lib/locales/fr-CA.yml b/lib/locales/fr-CA.yml index 5da5cdbd72..3b3965aa3f 100644 --- a/lib/locales/fr-CA.yml +++ b/lib/locales/fr-CA.yml @@ -15,7 +15,6 @@ fr-CA: default_country_code: ["CA"] internet: - free_email: [gmail.com, yahoo.ca, hotmail.com] domain_suffix: [ca, com, biz, info, name, net, org] phone_number: diff --git a/lib/locales/fr-CH.yml b/lib/locales/fr-CH.yml index a35e60a00f..e62795dd2d 100644 --- a/lib/locales/fr-CH.yml +++ b/lib/locales/fr-CH.yml @@ -35,7 +35,6 @@ fr-CH: - ["synergies", "web-readiness", "paradigms", "markets", "partnerships", "infrastructures", "platforms", "initiatives", "channels", "eyeballs", "communities", "ROI", "solutions", "e-tailers", "e-services", "action-items", "portals", "niches", "technologies", "content", "vortals", "supply-chains", "convergence", "relationships", "architectures", "interfaces", "e-markets", "e-commerce", "systems", "bandwidth", "infomediaries", "models", "mindshare", "deliverables", "users", "schemas", "networks", "applications", "metrics", "e-business", "functionalities", "experiences", "web services", "methodologies"] internet: - free_email: [gmail.com, yahoo.ch, hotmail.ch] domain_suffix: [com, net, biz, ch, li, at, ch, ch] lorem: diff --git a/lib/locales/fr/internet.yml b/lib/locales/fr/internet.yml index 094f0448fe..029393861e 100644 --- a/lib/locales/fr/internet.yml +++ b/lib/locales/fr/internet.yml @@ -1,5 +1,4 @@ fr: faker: internet: - free_email: [gmail.com, yahoo.fr, hotmail.fr] domain_suffix: [com, fr, eu, info, name, net, org, immo, paris, alsace, bzh] diff --git a/lib/locales/hy.yml b/lib/locales/hy.yml index b698e5a5d0..7d605aff18 100644 --- a/lib/locales/hy.yml +++ b/lib/locales/hy.yml @@ -354,7 +354,6 @@ hy: metric_measurements: [միլիլիտր, դեցիլիտր, սանտիլիտր, լիտր] internet: - free_email: [freenet.am, namag.net, yandex.ru, mail.ru, gmail.com, yahoo.com, hotmail.com] domain_suffix: [am, com, info, net, org] job: diff --git a/lib/locales/it.yml b/lib/locales/it.yml index 30c7101ee3..b01c846392 100644 --- a/lib/locales/it.yml +++ b/lib/locales/it.yml @@ -40,7 +40,6 @@ it: - "#{Name.last_name}, #{Name.last_name} e #{Name.last_name} #{suffix}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com, email.it, libero.it, yahoo.it] domain_suffix: [com, com, com, net, org, it, it, it] name: diff --git a/lib/locales/ko.yml b/lib/locales/ko.yml index 51b8bfa503..aab0274e43 100644 --- a/lib/locales/ko.yml +++ b/lib/locales/ko.yml @@ -111,7 +111,6 @@ ko: binary_types: ['여성', '남성'] internet: - free_email: [gmail.com, yahoo.co.kr, hanmail.net, naver.com] domain_suffix: [co.kr, com, biz, info, ne.kr, net, or.kr, org] lorem: diff --git a/lib/locales/lt.yml b/lib/locales/lt.yml index 718178d934..e766b16f69 100644 --- a/lib/locales/lt.yml +++ b/lib/locales/lt.yml @@ -18,7 +18,6 @@ lt: suffix: [AB, UAB, IĮ, KB, VŠĮ, MB] internet: - free_email: [gmail.com, yahoo.com, hotmail.com] domain_suffix: [lt, com, net] name: diff --git a/lib/locales/lv.yml b/lib/locales/lv.yml index 7d7ebbc214..ff0288bf03 100644 --- a/lib/locales/lv.yml +++ b/lib/locales/lv.yml @@ -30,7 +30,6 @@ lv: - "#{suffix} #{Name.last_name}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com] domain_suffix: [com, lv, net, org] name: diff --git a/lib/locales/nl.yml b/lib/locales/nl.yml index 5343d987a7..f2465d8f53 100644 --- a/lib/locales/nl.yml +++ b/lib/locales/nl.yml @@ -53,7 +53,6 @@ nl: suffix: [BV, V.O.F., Group, en Zonen] internet: - free_email: [gmail.com, yahoo.com, hotmail.nl, live.nl, outlook.com, kpnmail.nl] domain_suffix: [nl, com, net, org] lorem: diff --git a/lib/locales/pl.yml b/lib/locales/pl.yml index 1a108b7928..e981e06e8f 100644 --- a/lib/locales/pl.yml +++ b/lib/locales/pl.yml @@ -42,7 +42,6 @@ pl: - "#{Name.last_name}, #{Name.last_name} and #{Name.last_name}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com, wp.pl, onet.pl, interia.pl] domain_suffix: [com, pl, com.pl, net, org] lorem: diff --git a/lib/locales/pt-BR.yml b/lib/locales/pt-BR.yml index de21720971..d8a0d07fbf 100644 --- a/lib/locales/pt-BR.yml +++ b/lib/locales/pt-BR.yml @@ -570,7 +570,6 @@ pt-BR: - "#{University.prefix} #{Name.last_name}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com, live.com, bol.com.br] domain_suffix: [br, com, biz, info, name, net, org] lorem: diff --git a/lib/locales/pt.yml b/lib/locales/pt.yml index 72e8447074..c3d3043dc9 100644 --- a/lib/locales/pt.yml +++ b/lib/locales/pt.yml @@ -43,7 +43,6 @@ pt: - "#{Name.last_name}, #{Name.last_name} e #{Name.last_name}" internet: - free_email: [gmail.com, yahoo.com, hotmail.com, live.com, bol.com.br] domain_suffix: [pt, com, biz, info, net, org] lorem: diff --git a/lib/locales/ru.yml b/lib/locales/ru.yml index 8f6bf1555f..8a95e51295 100644 --- a/lib/locales/ru.yml +++ b/lib/locales/ru.yml @@ -24,7 +24,6 @@ ru: - "#{postcode} #{default_country}, #{city}, #{street_address} #{secondary_address}" internet: - free_email: [yandex.ru, ya.ru, mail.ru, gmail.com, yahoo.com, hotmail.com] domain_suffix: [com, ru, info, рф, net, org] name: diff --git a/lib/locales/sk.yml b/lib/locales/sk.yml index a7e0b94376..fa6e4d8083 100644 --- a/lib/locales/sk.yml +++ b/lib/locales/sk.yml @@ -39,7 +39,6 @@ sk: - "#{Name.man_last_name} a #{Name.man_last_name} #{suffix}" internet: - free_email: [gmail.com, zoznam.sk, azet.sk] domain_suffix: [sk, com, net, eu, org] lorem: diff --git a/lib/locales/tr.yml b/lib/locales/tr.yml index 55c0080dae..e1ff5c680d 100644 --- a/lib/locales/tr.yml +++ b/lib/locales/tr.yml @@ -19,9 +19,7 @@ tr: - "#{first_name} #{last_name} #{last_name}" internet: - free_email: [gmail.com, hotmail.com.tr, yandex.com.tr] domain_suffix: [co, com, com.tr, net, org] - safe_email: ['mesela.com'] phone_number: formats: ["90-###-###-####", "90.###.###.####", "90 ### ### ####", "90##########"] diff --git a/lib/locales/uk.yml b/lib/locales/uk.yml index 8befca3ccc..35bba06a1c 100644 --- a/lib/locales/uk.yml +++ b/lib/locales/uk.yml @@ -31,7 +31,6 @@ uk: default_country_code: ["UA"] internet: - free_email: [ukr.net, ex.ua, e-mail.ua, i.ua, meta.ua, yandex.ua, gmail.com] domain_suffix: [cherkassy.ua, cherkasy.ua, ck.ua, cn.ua, com.ua, crimea.ua, cv.ua, dn.ua, dnepropetrovsk.ua, dnipropetrovsk.ua, donetsk.ua, dp.ua, if.ua, in.ua, ivano-frankivsk.ua, kh.ua, kharkiv.ua, kharkov.ua, kherson.ua, khmelnitskiy.ua, kiev.ua, kirovograd.ua, km.ua, kr.ua, ks.ua, lg.ua, lt.ua, lugansk.ua, lutsk.ua, lutsk.net, lviv.ua, mk.ua, net.ua, nikolaev.ua, od.ua, odessa.ua, org.ua, pl.ua, pl.ua, poltava.ua, rovno.ua, rv.ua, sebastopol.ua, sm.ua, sumy.ua, te.ua, ternopil.ua, ua, uz.ua, uzhgorod.ua, vinnica.ua, vn.ua, volyn.net, volyn.ua, yalta.ua, zaporizhzhe.ua, zhitomir.ua, zp.ua, zt.ua, укр] name: From 7bf4dd6c4e86bfba54495d1352258849077ad2d6 Mon Sep 17 00:00:00 2001 From: hatsu38 Date: Wed, 18 Oct 2023 01:18:39 +0900 Subject: [PATCH 4/6] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20remove=20safe=5F?= =?UTF-8?q?email,=20free=5Femail=20from=20internet.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/default/internet.md | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/doc/default/internet.md b/doc/default/internet.md index cb2d9fa88a..059bceb06d 100644 --- a/doc/default/internet.md +++ b/doc/default/internet.md @@ -1,18 +1,5 @@ # Faker::Internet -### About faker-ruby transition to be RFC 2606 compliant - -faker-ruby is transitioning to no longer generating real email and url addresses. - -The migration plan is: -- First step: - - change `email` and `domain_name` to be RFC 2606 compliant. Both now generate safe values by default using the Reserved Top Level DNS Names: `example` and `test`. To maintain backwards compatibility and give users the option to use non-safe domains at their own risk, custom domains are allowed. - - add deprecation message for `free_email` and `safe_email` users to switch to `email` instead. -- Second step (after October 2023): - - remove deprecated generators and locales. - -To give users time, once the first step is released, users will have until October 2023 to make the necessary changes. - ```ruby # Keyword arguments: name, username, email, password, domain_name, user_agent, uuid etc... Faker::Internet.user #=> { username: 'alexie', email: 'trudie@grant.test' } @@ -25,15 +12,6 @@ Faker::Internet.email(name: 'Janelle Santiago', separators: ['+']) #=> "janelle+ Faker::Internet.email(domain: 'gmail.com') #=> "foo@gmail.com" Faker::Internet.email(name: 'sam smith', separators: ['-'], domain: 'test') #=> "sam-smith@test.test" -# Keyword arguments: name -Faker::Internet.free_email #=> "freddy@gmail.com" -Faker::Internet.free_email(name: 'Nancy') #=> "nancy@yahoo.com" - -# Generates an RFC 2606 compliant fake email, which means it will never deliver successfully -# Keyword arguments: name -Faker::Internet.safe_email #=> "christelle@example.org" -Faker::Internet.safe_email(name: 'Nancy') #=> "nancy@example.net" - # Keyword arguments: specifier, separators Faker::Internet.username #=> "alexie" Faker::Internet.username(specifier: 'Nancy') #=> "nancy" From 68f26b50496ddeac7ec7a975c1c262ac10236088 Mon Sep 17 00:00:00 2001 From: hatsu38 Date: Wed, 22 Nov 2023 16:24:37 +0900 Subject: [PATCH 5/6] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20remove=20extend?= =?UTF-8?q?=20Gem::Deprecate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/faker/default/internet.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/faker/default/internet.rb b/lib/faker/default/internet.rb index 67811c2949..0ca6a9987b 100644 --- a/lib/faker/default/internet.rb +++ b/lib/faker/default/internet.rb @@ -15,7 +15,6 @@ class Internet < Base ].each(&:freeze).freeze class << self - extend Gem::Deprecate ## # Returns the email address From 7e908edd01fc7c119d4bbd7267d92ad8cd057fa5 Mon Sep 17 00:00:00 2001 From: hatsu38 Date: Wed, 22 Nov 2023 16:46:30 +0900 Subject: [PATCH 6/6] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20rubocop=20-a=20-?= =?UTF-8?q?-only=20Layout/EmptyLinesAroundClassBody?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/faker/default/internet.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/faker/default/internet.rb b/lib/faker/default/internet.rb index 0ca6a9987b..b2bb65a007 100644 --- a/lib/faker/default/internet.rb +++ b/lib/faker/default/internet.rb @@ -15,7 +15,6 @@ class Internet < Base ].each(&:freeze).freeze class << self - ## # Returns the email address #