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!
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!