Closed ghost closed 9 years ago
@ResultsMayVary thanks I'll check it during the weekend, in the mean time could you apply the changes suggested by @houndci?
Of course. I was just reviewing them. Do you have a recommendation for the comments regarding lines being too long when it's coded the same as other lines?
sure, follow this ruby style guide https://github.com/bbatsov/ruby-style-guide#no-double-indent
btw, we should add that ruby style to the contributors guideline :grin:
I've fixed as many of the issues as I can. At this point what do I do about the redundant self issues? Not worry about them? If I don't access otp_counter as self it returns as false:FalseClass
.
@ResultsMayVary sure, it doesn't matter
@ResultsMayVary all looks good for me, but I'd like to have another opinion @guilleiguaran could you check it?
@ResultsMayVary thanks :+1:
@robertomiranda welcome! I did the changes for work so I always contribute back when I can.
For my project I required a counter based solution. I've expanded this to support the counter_based flag to allow HOTP. It's been tested in my environment and is working as expected. Readme has been updated with usage instructions as well as the version number increase to v1.2.0.
Let me know if this is all good and if you want me to perform any other changes before pulling. Thanks!