Skip to content

Conversation

@leesmith
Copy link
Contributor

@leesmith leesmith commented Aug 6, 2020

This upgrades the jwt gem to the latest because jwt version 1.5.x is over four years old.

s.required_ruby_version = "~> 2.4"
s.add_dependency "rails", ">= 5.0", "< 6.1"
s.add_runtime_dependency "jwt", "~> 1.5.1"
s.add_runtime_dependency "jwt", "~> 2.2"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not >= 1.5? Is there an incompatibility?
That way people aren’t also forced to upgrade JWT to upgrade this SCIM gem.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great point...corrected. Thanks!

@rreinhardt9 rreinhardt9 self-assigned this Aug 6, 2020
@rreinhardt9 rreinhardt9 added the dependencies Pull requests that update a dependency file label Aug 6, 2020
Copy link
Contributor

@rreinhardt9 rreinhardt9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leesmith Welcome and thanks for your contribution! This change looks great to me; thanks @unixmonkey for the idea to keep that dependency loose since we are backward compatible with 1.5 still currently 🎉

@rreinhardt9 rreinhardt9 merged commit 3288ca1 into lessonly:master Aug 6, 2020
@wernull
Copy link
Member

wernull commented Aug 6, 2020

@leesmith a new version has been pushed to rubygems with this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants