AsteriskLabs / devise_google_authenticator

A Devise extension to allow your app to utilise Google's 2FA Mobile app
http://labs.asteriskinfosec.com.au/tag/devise_google_authenticator/
MIT License
216 stars 159 forks source link

update ROTP version #38

Closed lubieniebieski closed 9 years ago

lubieniebieski commented 10 years ago

I was really annoyed by constant warnings Digest::Digest is deprecated; use Digest. It was fixed already in the ROTP gem, so I thought - why can't we use that.

soo.. here's my PR - tests are the same as before updating the gem.

I've tried also with 'rotp => '~> 2.0.0', but it breaks one of the tests.

xntrik commented 9 years ago

Hi @lubieniebieski - thanks for this, I've bumped it up to 1.6 - I hope this addresses this issue.

Cheers.