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

Move owner_metadata to an Owner class and add specs #159

Merged
merged 3 commits into from
Jan 29, 2019
Merged

Conversation

parkr
Copy link
Member

@parkr parkr commented Jan 29, 2019

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

@parkr parkr requested review from benbalter and a team January 29, 2019 15:46
spec/owner_spec.rb Show resolved Hide resolved
lib/jekyll-github-metadata/owner.rb Show resolved Hide resolved
@parkr
Copy link
Member Author

parkr commented Jan 29, 2019

AppVeyor is failing because web mock appears not to be working?

@ashmaroli
Copy link
Member

ashmaroli commented Jan 29, 2019

I've restarted the failed jobs. Should pass now..

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)
Copy link
Contributor

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.

Copy link
Member Author

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. 🤷‍♂️

@parkr
Copy link
Member Author

parkr commented Jan 29, 2019

@jekyllbot: merge +minor

@jekyllbot jekyllbot merged commit 28dec7e into master Jan 29, 2019
@jekyllbot jekyllbot deleted the owner-tests branch January 29, 2019 17:11
jekyllbot added a commit that referenced this pull request Jan 29, 2019
@jekyll jekyll locked and limited conversation to collaborators Jan 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants