-
Notifications
You must be signed in to change notification settings - Fork 127
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
Move owner_metadata to an Owner class and add specs #159
Conversation
AppVeyor is failing because web mock appears not to be working? |
I've restarted the failed jobs. Update: Nope.. that didn't help! |
# If not specified, defaults to the hash key | ||
# | ||
# Returns a symbol representing the instance method | ||
def self.def_hash_delegators(hash, *methods) |
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.
Since I introduced this, glad to move this to a module in a subsequent PR to DRY things up.
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.
Not a huge deal to me. This is a little different than the Repository class. 🤷♂️
@jekyllbot: merge +minor |
This is a follow-on from #158 regarding adding tests.
It also splits out the owner_metadata into an Owner class which can be fetched and attributes allowed as needed. ✨
/cc @kenyonj