Private method `scan' when using click_first_link_in_email
-
Ian White
This must be a result of the changes in 0.3.2
Thanks for the bug report, will look into this tomorrow morning.
Cheers,
Ian -
Tom Meier
Found it, i'll work on a spec and commit to a fork... Let you know when its done :)
-
Tom Meier
run out of time, can't duplicate in specs without bringing in some ugly gems that i'd rather not pollute pickle with,
but in email.rb:
def links_in_email(email, protos=['http', 'https'])
URI.extract(email.body.to_s, protos)end
(Having a to_s on email.body ensures no private method error is raised when it is scanned via 'extract')
Cheers,
Tom
-
Ian White
- State changed from new to resolved
(from [14e189dfbbc71becad59dd92581e3a3b57085796]) Added spec for tommeier's email fix [#26 Private method `scan' when using click_first_link_in_email state:resolved] http://github.com/ianwhite/pickle/commit/14e189dfbbc71becad59dd9258...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.