The reason behind this I'm trying to use StringioAdapter inside the mailer, and it fails because `length` used in one of the `mail` gem: https://github.com/mikel/mail/blob/master/lib/mail/message.rb#L1997 Also you can see that normally `size` has `length` alias, for example in a `StringIO` class: http://ruby-doc.org/stdlib-1.9.3/libdoc/stringio/rdoc/StringIO.html#method-i-length Let me know, if this change requires test case, I will add it.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
abstract_adapter.rb | Loading commit data... | |
attachment_adapter.rb | Loading commit data... | |
data_uri_adapter.rb | Loading commit data... | |
empty_string_adapter.rb | Loading commit data... | |
file_adapter.rb | Loading commit data... | |
http_url_proxy_adapter.rb | Loading commit data... | |
identity_adapter.rb | Loading commit data... | |
nil_adapter.rb | Loading commit data... | |
registry.rb | Loading commit data... | |
stringio_adapter.rb | Loading commit data... | |
uploaded_file_adapter.rb | Loading commit data... | |
uri_adapter.rb | Loading commit data... |