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

Add Faker.App.semver #76

Merged
merged 4 commits into from Jan 25, 2017
Merged

Add Faker.App.semver #76

merged 4 commits into from Jan 25, 2017

Conversation

wojtekmach
Copy link
Contributor

No description provided.

@spec semver(Keyword.t) :: String.t
def semver(opts \\ []) do
allow_pre = Keyword.get(opts, :allow_pre, true)
allow_build = Keyword.get(opts, :allow_build, true)
Copy link
Member

Choose a reason for hiding this comment

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

I think both defaults should be false, it's more common to have 1.2.3 format.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup, I was on a fence and ended up using a default that will show people a broader range of values, but I guess you're right that's it's more common the other way around.

Fixed in 5d81e85

PS thanks for this project!

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for contribution!

@igas igas merged commit 0feb189 into elixirs:master Jan 25, 2017
@igas
Copy link
Member

igas commented Jan 25, 2017

❤️ 💚 💙 💛 💜

@wojtekmach wojtekmach deleted the wm-app-semver branch January 25, 2017 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants