twilio / authy-devise

Authy Devise plugin to add Two-Factor Authentication
MIT License
201 stars 84 forks source link

Make I18n.t calls Ruby 3.0 compatible. #155

Closed OtherCroissant closed 3 years ago

OtherCroissant commented 3 years ago

Hi! It didn't work with Ruby 3.0 and the suggested changes gave deprecation warnings in 2.7.1. My changes should fix the issue.

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

philnash commented 3 years ago

Thanks for this @CUnknown, would you be able to check the acknowledgement regarding your contribution and the project's license please? Then I will merge.

philnash commented 3 years ago

Thanks! I've now merged this and released version 2.3.0.

Let me know if you have any further trouble using this with Ruby 3.