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 spree user methods to module #153

Merged

Conversation

jhawthorn
Copy link
Contributor

Move Spree::User logic into a mixin that can be included in the Spree.user_class that is defined.

I'm taking over #13. This has been rebased against master and I've implemented the feedback described there.

qr8r and others added 8 commits July 7, 2015 16:11
Also update LegacyUser to include User methods and move appropriate
methods into the UserMethods module
Add deprication warning to initializer. If User class doesnt include
UserMethods, add it and warn.
Also add a comment to clarify the purpose of this initializer
@gmacdougall
Copy link
Member

👍

@magnusvk
Copy link
Contributor

magnusvk commented Jul 8, 2015

I like that approach. 👍

@gvaughn
Copy link
Contributor

gvaughn commented Jul 8, 2015

This is great. The address book functionality @richardnuno and I are working on is encapsulated into another module to include in UserMethods and won't be hard to merge into this when the time comes.

jhawthorn added a commit that referenced this pull request Jul 8, 2015
@jhawthorn jhawthorn merged commit 5c69101 into solidusio:master Jul 8, 2015
@jhawthorn jhawthorn deleted the move_spree_user_methods_to_module branch July 8, 2015 15:49
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.

5 participants