-
Notifications
You must be signed in to change notification settings - Fork 40
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
Make name optional #83
Conversation
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.
Hi @ineu, thanks for fixing this up and adding some spec! 🎉
Just one minor change in the readme but this is generally good to go 👍
@@ -55,7 +55,7 @@ Get started with business by creating an instance of the calendar class, that ac | |||
```ruby | |||
calendar = Business::Calendar.new( | |||
working_days: %w( mon tue wed thu fri ), |
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.
Think it might be good to add the name
arg here as well
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.
Done
Thanks for this, this will be released shortly |
This fixes a regression introduced in 2.2.0. The
name
argument must not be mandatory, as it breaks the existing code which is not expected from the minor version.