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

Allow subdomains for Internet.domain_name #1520

Merged
merged 3 commits into from
Feb 14, 2019

Conversation

mucho-al-dente
Copy link

No description provided.

@@ -79,8 +79,12 @@ def password(min_length = 8, max_length = 16, mix_case = true, special_chars = f
temp
end

def domain_name
with_locale(:en) { [Char.prepare(domain_word), domain_suffix].join('.') }
def domain_name(subdomain = false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documentation should be updated to include this new param

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SpyMaster356 No problem, have done that and updated the PR

@Zeragamba
Copy link
Contributor

looks good to me, though be careful with rewriting history. You shouldn't need to force-push anything.

Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@vbrazo vbrazo merged commit 50960a5 into faker-ruby:master Feb 14, 2019
@mucho-al-dente mucho-al-dente deleted the subdomains branch February 14, 2019 15:06
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
* Allow subdomains for Internet.domain_name

* Update CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants