DEV: pin the rotp gem

Not ready for an upgrade due to: https://github.com/mdp/rotp/issues/98

The policy here is that for cases like this we pin the version and add
a comment explaining why it is pinned.

We can revisit in a few months depending on upstream.
This commit is contained in:
Sam Saffron 2020-07-14 17:05:01 +10:00
parent 93ff54e184
commit 85d4370f79
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
2 changed files with 4 additions and 2 deletions

View File

@ -224,7 +224,9 @@ gem 'logster'
gem 'sassc', '2.0.1', require: false gem 'sassc', '2.0.1', require: false
gem "sassc-rails" gem "sassc-rails"
gem 'rotp', require: false # see: https://github.com/mdp/rotp/issues/98
gem 'rotp', '5.1.0' , require: false
gem 'rqrcode' gem 'rqrcode'
gem 'rubyzip', require: false gem 'rubyzip', require: false

View File

@ -532,7 +532,7 @@ DEPENDENCIES
redis redis
redis-namespace redis-namespace
rinku rinku
rotp rotp (= 5.1.0)
rqrcode rqrcode
rspec rspec
rspec-html-matchers rspec-html-matchers