-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Conversation
5db4de0
to
ad69453
Compare
@@ -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) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
ad69453
to
b1e379d
Compare
looks good to me, though be careful with rewriting history. You shouldn't need to force-push anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* Allow subdomains for Internet.domain_name * Update CHANGELOG.md
No description provided.