Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

version 0.6.6, added REE support

  • Loading branch information...
commit 78309b6e613d6c007a0c611df96d945df75397b9 1 parent 0a4f122
@banister authored
Showing with 2 additions and 12 deletions.
  1. +1 −1  README.markdown
  2. +1 −1  lib/method_source/version.rb
  3. +0 −10 test/test.rb
View
2  README.markdown
@@ -16,7 +16,7 @@ Method comments can also be extracted using the `comment` method.
It is written in pure Ruby (no C).
* Some Ruby 1.8 support now available.
-* Support for MRI, RBX, JRuby.
+* Support for MRI, RBX, JRuby, REE
`method_source` provides the `source` and `comment` methods to the `Method` and
`UnboundMethod` and `Proc` classes.
View
2  lib/method_source/version.rb
@@ -1,3 +1,3 @@
module MethodSource
- VERSION = "0.6.5"
+ VERSION = "0.6.6"
end
View
10 test/test.rb
@@ -8,16 +8,6 @@
describe MethodSource do
- if !jruby?
- describe "emitted warnings" do
- it 'should emit no warnings' do
- Open4.popen4 'ruby -I lib -rubygems -r"method_source" -W -e "exit"' do |pid,stdin,stdout,stderr|
- stderr.read.empty?.should == true
- end
- end
- end
- end
-
describe "source_location (testing 1.8 implementation)" do
it 'should return correct source_location for a method' do
method(:hello).source_location.first.should =~ /test_helper/
Please sign in to comment.
Something went wrong with that request. Please try again.