Skip to content

Compatiblity Issue on "ResponesError" with Ruby 1.9.3 #17

@thinkinginmath

Description

@thinkinginmath

I ran into this run time error,

net/imap.rb:3480:in initialize': undefined methoddata' for "Unexpected continuation response from server":String (NoMethodError)
from em-imap-0.5/lib/em-imap/continuation_synchronisation.rb:66:in `new'

In Ruby 1.9, class ResponseError is changed. The constructor takes an response other than an arbitrary error string.

Is there a plan to make this library compatible with 1.9?

Also, what is the typical way of a ruby gem to support both 1.8.7 and 1.9?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions