scarhand / devise-jwt-cookie

Cookie-based JWT authentication for devise
8 stars 26 forks source link

Pinned version of dry causing bundle error... #15

Open jwilliams722 opened 2 years ago

jwilliams722 commented 2 years ago

Hello @scarhand,

I am getting a bundle error when using the latest version of this gem with the latest devise-jwt gem.

Versions: devise-jwt - 0.9.0 devise-jwt-cookie - 0.5.1

Bundler could not find compatible versions for gem "dry-configurable":
  In snapshot (Gemfile.lock):
    dry-configurable (= 0.15.0)

  In Gemfile:
    devise-jwt-cookie was resolved to 0.5.1, which depends on
      dry-configurable (~> 0.9, < 0.11)

    devise-jwt was resolved to 0.9.0, which depends on
      warden-jwt_auth (~> 0.6) was resolved to 0.6.0, which depends on
        dry-configurable (~> 0.13)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

When I fork your repo and remove the pinned versions for the dry-auto_inject and dry-configurable dependencies in the devise-jwt-cookie.gemspec, bundle, and point to the forked repo, all works well. Can you please remove those pinned dry versions and push up a new version of your gem? I wanted to use your gem versus forking the repo and removing the pinned version myself.

Please let me know if you have any questions or concerns about my request. Appreciate your time. Thanks.

animista01 commented 2 years ago

I am also having this issue. You can create a PR @jwilliams722 so @scarhand can merge it.

abhinavc commented 1 year ago

Seeing the same dependency issue with devise-jwt 0.10.0 and devise-jwt-cookie 0.5.1. Is this gem still maintained?