diminish7 / rave

A Google Wave robot client framework for Ruby
http://github.com/diminish7/rave
MIT License
62 stars 8 forks source link

appropriate-casey corrupts text #1

Closed bil-bas closed 14 years ago

bil-bas commented 14 years ago

Although casey seems to attempt only to change text that it should, it often corrupts that text in doing so. I think this is largely because it breaks the cardinal rule of altering a string (specifically deleting characters) at the same time as iterating through its characters.

bil-bas commented 14 years ago

I was looking at the text operations yesterday and it struck me that they could be pretty buggy in certain circumstances. I'll throw some more tests at them when I get around to it.

diminish7 commented 14 years ago

Changed to a) use BLIP_SUBMITTED instead of DOCUMENT_CHANGED and b) use event.blip instead of context.blips. Updated the README to match