Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate safe email and domain_name by default (RFC 2606) #2733

Merged

Commits on Mar 21, 2023

  1. Generate safe email and domain_name by default (RFC 2606)

    faker-ruby is transitioning to no longer generating potentially
    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.
      Documentation and tests have been updated.
    - add deprecation message for `free_email` and `safe_email` to use
    `email` instead.
    
    Second step:
    - remove deprecated generators and locales.
    
    Co-authored-by: Thiago Araujo <thd.araujo@gmail.com>
    Stefanni Brasil and thdaraujo committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    3ce52b2 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Disable Rubocop Style/IfUnlessModifier globally

    Stefanni Brasil committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    4a46759 View commit details
    Browse the repository at this point in the history