chaps-io / access-granted

Multi-role and whitelist based authorization gem for Rails (and not only Rails!)
MIT License
773 stars 41 forks source link

Update README example to ~> 1.3 #58

Closed jrochkind closed 1 year ago

jrochkind commented 1 year ago

Before it said ~> 1.1.0 -- which means 1.1.x. In a test app I was using to explore, I had just copied and pasted this line, meaning I was accidentally stuck on five-year-old 1.1.2! Was getting very confused debugging something that would have been different in 1.3.

In addition to updating to the more recent 1.3 example in the README, the more important thing is only using two digits, "~> 1.3", which will mean 1.x greater than 1.3.0, and will allow updating ot any future 1.4, 1.5 etc!

pokonski commented 1 year ago

Thank you, maybe we could even get rid of the version here