Coder Social home page Coder Social logo

Gemspec version about spree_auth_devise HOT 6 CLOSED

spree avatar spree commented on July 21, 2024
Gemspec version

from spree_auth_devise.

Comments (6)

jsqu99 avatar jsqu99 commented on July 21, 2024

+1

from spree_auth_devise.

radar avatar radar commented on July 21, 2024

Truth be told, I've not been paying attention to the version number in the gemspec. I've been advising people to install this gem from GitHub so that we can push out releases easily. As such, I would suggest to ignore rubygems.org versions of the spree_auth_devise gem.

from spree_auth_devise.

jsqu99 avatar jsqu99 commented on July 21, 2024

Thanks for the reply Ryan.

I believe the problem we end up having is when we have a spree extension that relies on a Spree::User.

We had been putting spree_auth_devise in the gemspec (but now that I think about it, that's probably a horrible idea as it ties the user to a specific spree auth implementation).

@mscottford could we have gotten around this by using class evaling Spree.user_class instead of Spree::User ?

from spree_auth_devise.

radar avatar radar commented on July 21, 2024

I think Spree.user_class would be better to class eval, as any Spree specific stuff is added to this class automatically by the user_class_extensions file.

On Mon, Apr 22, 2013 at 9:17 PM, Jeff Squires [email protected]
wrote:

Thanks for the reply Ryan.
I believe the problem we end up having is when we have a spree extension that relies on a Spree::User.
We had been putting spree_auth_devise in the gemspec (but now that I think about it, that's probably a horrible idea as it ties the user to a specific spree auth implementation).

@mscottford could we have gotten around this by using class evaling Spree.user_class instead of Spree::User ?

Reply to this email directly or view it on GitHub:
#53 (comment)

from spree_auth_devise.

mscottford avatar mscottford commented on July 21, 2024

I forgot to chime in on this a while ago... if someone's writing a gem that depends on spree_auth_devise, which is how we ran into this problem, then this issue also makes it hard to push that gem to rubygems. I understand that telling people that are using spree_auth_devise in their apps to just point to Github in the Gemfile, but what's the correct approach for an extension or other gem?

from spree_auth_devise.

radar avatar radar commented on July 21, 2024

The extension or another gem should recommend to point to GitHub in the README.

from spree_auth_devise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.