attr-encrypted / encryptor

A simple wrapper for the standard ruby OpenSSL library
MIT License
336 stars 51 forks source link

Test failure - Bytesize is deprecated #37

Open ManojmoreS opened 1 year ago

ManojmoreS commented 1 year ago

NoMethodError: undefined method `bytesize' for 232240348473709411:Integer Did you mean? bytes

rvm/gems/ruby-2.6.6/gems/encryptor-3.0.0/lib/encryptor.rb:60:in crypt' rvm/gems/ruby-2.6.6/gems/encryptor-3.0.0/lib/encryptor.rb:36:inencrypt'

Fix use bytes instead of bitesize