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

Allow MetaTagsCollection#update to recieve object #169

Conversation

brentdodell
Copy link

  • If object responds to #to_meta_tags, call it. Otherwise, assume it's a
    Hash of meta tags and proceed as usual.
  • Allows set_meta_tags to receive an object that responds to
    to_meta_tags and just work

Closes #168

Brent Odell added 2 commits June 8, 2018 15:30
- If object responds to #to_meta_tags, call it. Otherwise, assume it's a
  Hash of meta tags and proceed as usual.
- Allows set_meta_tags to receive an object that responds to
  to_meta_tags and just work
@kpumuk kpumuk merged commit 7212a90 into kpumuk:master Jun 8, 2018
kpumuk added a commit that referenced this pull request Jun 8, 2018
…ve-an-object-responding-to-to_meta_tags

Allow MetaTagsCollection#update to recieve object
@brentdodell
Copy link
Author

brentdodell commented Jun 8, 2018

Wow! That was fast! Thanks @kpumuk! Should I have bumped the gem version to 2.9.1 as well?

@kpumuk
Copy link
Owner

kpumuk commented Jun 8, 2018

I am updating docs and the build matrix (to include Rails 5.2). Will release shortly.

Thank you for your contribution!

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.

2 participants