Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version (4) of rotp gem breaks active_model_otp #44

Closed
rob-anderson opened this issue Nov 2, 2018 · 1 comment
Closed

Latest version (4) of rotp gem breaks active_model_otp #44

rob-anderson opened this issue Nov 2, 2018 · 1 comment

Comments

@rob-anderson
Copy link

rob-anderson commented Nov 2, 2018

To reproduce:

bundle update

call [model name].otp_code

response:

ArgumentError: wrong number of arguments (given 2, expected 1)
from .rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rotp-4.0.2/lib/rotp/totp.rb:17:in `at'

@lkananowicz
Copy link

lkananowicz commented Nov 16, 2018

It seems that version of active_model_otp gem on rubygems.org is outdated and not in sync with master branch on github. Can you please bump the version to 1.3.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants