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

remove ns-options as a dependency #9

Merged
merged 1 commit into from
Jun 13, 2016
Merged

Conversation

kellyredding
Copy link
Member

This is part of getting this gem working in modern ruby versions.
We are moving away from using ns-options as a dependency b/c it
has performance issues when accessing options and on top of that
its API hasn't proven to be especially useful over a struct-like
class.

This removes the :settings options group. Since it was just
handling option storage, I replaced it with a basic hash with
the appropriate defaults set for each option value.

I also brought in much-plugin since this is a mixin with an
included hook.

@jcredding ready for review.

@jcredding
Copy link
Member

@kellyredding - Good stuff 💥

This is part of getting this gem working in modern ruby versions.
We are moving away from using ns-options as a dependency b/c it
has performance issues when accessing options and on top of that
its API hasn't proven to be especially useful over a struct-like
class.

This removes the `:settings` options group.  Since it was just
handling option storage, I replaced it with a basic hash with
the appropriate defaults set for each option value.

I also brought in much-plugin since this is a mixin with an
included hook.
@kellyredding kellyredding merged commit fbeb875 into master Jun 13, 2016
@kellyredding kellyredding deleted the kr-rm-ns-options branch June 13, 2016 15:33
kellyredding added a commit that referenced this pull request Jun 14, 2016
* hotfix: update to our latest gem conventions 32962ef
* (hotfix) update/cleanup tests; get up to our latest standards d7487c5
* remove ns-options as a dependency #9
* (hotfix) get test suite passing in modern ruby versions 708a41b
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