Coder Social home page Coder Social logo

Comments (6)

mikker avatar mikker commented on June 13, 2024 1

Hey there. You're correct in your diagnose. Passwordless is in the middle of its biggest update yet and master has several breaking changes from the most recent released versions.

There's absolutely nothing wrong with the released versions though. But if you're building something new, master is probably the best choice right now. There'll be a few more changes before the next release though.

from passwordless.

dan003400 avatar dan003400 commented on June 13, 2024

Unless I am not understanding something, it appears all the tagged releases are very outdated code, it feels like there is something very strange going on here. Are the changes to the code not being committed to the builds to rubygems?

Only way I can get anything to work is to point my Gemfile to the actual repo url.

So it looks like the Readme is way ahead of the release, finally figured this out once we found the Changelog.

Any idea why the docs are way ahead of the latest release? Can we get a release for the current Changelog?

from passwordless.

puffo avatar puffo commented on June 13, 2024

I'm seeing the same problem. But I do see there's is a major release (with breaking changes) that still needs to be published to RubyGems but that probably needs a major version change.

As a quick fix, perhaps we can ensure that the github repo defaults to the latest major release?

Context:

I was attempting to use the routing helpers:

passwordless_for :uses, controller: 'sessions'

but it throws an error: gems/passwordless-0.12.0/lib/passwordless/router_helpers.rb:19:in 'passwordless_for': unknown keyword: :controller (ArgumentError)

from passwordless.

dan003400 avatar dan003400 commented on June 13, 2024

Yup, this is due to the ruby gems bundle being very outdated, I was able to correct the issue for now by pointing my gemfile directly to the repo for the time being.

from passwordless.

dan003400 avatar dan003400 commented on June 13, 2024

Makes sense, only issue I see is that the current documentation is not for the latest release.

from passwordless.

mikker avatar mikker commented on June 13, 2024

Added a note to the README.

from passwordless.

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.