summaryrefslogtreecommitdiff
path: root/spec/method_source_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow fetching class/module comments.Stas SUȘCOV2021-11-031-0/+14
|
* Fix ruby warning in spec_helperJean Boussier2019-10-251-1/+1
|
* Revert "method_source: fix broken Procs on JRuby 9.2.0.0"Kyrylo Silin2018-11-121-1/+1
| | | | | | | Fixes #52 (Revert the JRuby 9.2.0.0 source_location hack once the newest version is out) This reverts commit 20fb1efde4530c78f7627d8b5b4e0b3f43cf821d.
* method_source: fix broken Procs on JRuby 9.2.0.0Kyrylo Silin2018-11-021-1/+1
| | | | | | | | | | | | | | | Fixes https://github.com/pry/pry/issues/1804 (JRuby 9.2.0.0 breaks `source_location` and therefore our test suite) JRuby 9.2.0.0 fails to fetch source code for procs because of the bug: https://github.com/jruby/jruby/pull/5262 The problem is that source_location is reported at the end of the proc, instead of the beginning. The way I fix it is rather dumb (rewinding back and checking if it's complete expression) but it's isolated only to 9.2.0.0 and likely won't be needed when another JRuby is released. However, so far it's the latest release.
* Replace Bacon to RSpec 3.Jun Aruga2017-05-311-0/+143
Because Bacon stopped the development.