Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix procs/lambdas | Conrad Irwin | 2012-06-03 | 1 | -2/+2 |
| | |||||
* | Improve error messages | Conrad Irwin | 2012-06-03 | 1 | -9/+12 |
| | |||||
* | Import some CodeHelpers from Pry. | Conrad Irwin | 2012-06-03 | 1 | -96/+43 |
| | | | | | The hope is that they can live in this gem permanently, and Pry can also include MethodSource::CodeHelpers in the relevant places. | ||||
* | Added SourceNotFoundError class | Reginald Tan | 2012-06-02 | 1 | -6/+8 |
| | |||||
* | Fix regex warnings on ruby-1.8.7 | Conrad Irwin | 2012-05-26 | 1 | -1/+1 |
| | |||||
* | If displaying method source fails for *_evaled methods, retry again. | Reginald Tan | 2012-05-23 | 1 | -10/+36 |
| | | | | | | | | | This time, assume inside eval string and simulate interpolation of #{} by replacing with a placeholder when doing syntax validation Only works if *_eval contains the arguments filename and lineno + 1. Without them, UnboundMethod#source_location would not return the proper filename and lineno needed to display the source. | ||||
* | replace ruby_parser dependency with eval | Ryan Fitzgerald | 2011-11-30 | 1 | -30/+17 |
| | |||||
* | added Proc#source_location support for ruby 1.8 | John Mair | 2011-06-09 | 1 | -4/+1 |
| | |||||
* | added source_location to procs for rbx, all tests passing on rbx | John Mair | 2011-06-01 | 1 | -16/+21 |
| | |||||
* | Fix warnings emitted by -w. | Rob Gleeson | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | defaults to RubyParser on all 1.9 implementations except MRI | John Mair | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | changed (C) to 2011 from 2010 | John Mair | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | version 0.3.5, now has support to take advantage of Method#source on rubinius | John Mair | 2011-03-05 | 1 | -0/+24 |
| | |||||
* | version 0.3.4, fixed 1.8 1.9 String#clear incompat in Method#commentv0.3.4 | John Mair | 2011-02-28 | 1 | -1/+1 |
| | |||||
* | version 0.3.0, some ruby 1.8 supportdev | John Mair | 2011-02-28 | 1 | -12/+36 |
| | |||||
* | refactor to use File block instead of manually closing | John Mair | 2010-12-19 | 1 | -26/+23 |
| | |||||
* | removed kruft (stringio and explicit receiver for valid_expression?) | John Mair | 2010-12-18 | 1 | -2/+1 |
| | |||||
* | version 0.2.0, support for method comments (and a few minor changes), thanks ↵ | Adam Sanderson | 2010-12-18 | 1 | -17/+61 |
| | | | | | | | | | | to Adam Sanderson * Merged in Adam's changes * Refactored source_helper to reflect comment_helper style * Made some adjustments to Adam's code: removed buffer.strip, now doing an lstrip on each line before adding to buffer * No longer including blank lines in comment buffer (blank lines ignored) * Added large number of comment-related tests | ||||
* | replaced RubyVM::ISeq with Ripper; method_source should now work on all 1.9 ↵ | John Mair | 2010-12-17 | 1 | -17/+5 |
| | | | | Ruby implementations that support Ripper | ||||
* | added warning about YARV only (due to RubyVM, so not JRuby compatible). Also ↵ | John Mair | 2010-12-17 | 1 | -0/+4 |
| | | | | added support and tests for Proc#source | ||||
* | first commit | John Mair | 2010-12-17 | 1 | -0/+94 |