I believe it parses the code using ParseTree, which doesn't work on 1.9. On 1.8, ParseTree could inspect loaded code to extract its AST; on 1.9, those hooks are gone, and you have to parse static code listings instead (which is what ruby_parser does).
http://www.infoq.com/news/2009/04/no-parsetree-on-19 - Ben On 14/05/2012, at 9:50 AM, Tim McGilchrist wrote: > From my point of view it's reason 7 followed by 6. > > Everything I'm currently working on is 1.9. > > Is there something fundamental to 1.8 that prevents this gem being updated to > 1.9? > > ----------------------------------------------------- > Tim McGilchrist > > @lambda_foo > http://github.com/tmcgilchrist > > On 13/05/2012, at 6:11 PM, Andrew Grimm wrote: > >> I'm kind of curious. (Really!) As someone who's keen on heckle, it >> seems that not an awful lot of people use it. Why is this? >> >> 1. You don't do unit testing. You do all your unit testing in your head. >> 2. You aren't worried about the quality of your unit tests. You >> already know it's awesome / awful. >> 3. You use some other tool to evaluate how well unit tested your code is. >> 4. You don't have enough time to use it. >> 5. You've tried it, and haven't found it helped. >> 6. Can't use it because it's Ruby 1.8 only. >> 7. Haven't heard of heckle. >> >> Andrew >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby or Rails Oceania" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/rails-oceania?hl=en. >> > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
