summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mair <jrmair@gmail.com>2011-10-03 00:08:38 +1300
committerJohn Mair <jrmair@gmail.com>2011-10-03 00:08:38 +1300
commit78309b6e613d6c007a0c611df96d945df75397b9 (patch)
tree9c289780d72b16c6efad09cd92cff4c6cf0b86f4
parent0a4f122cbee8ee553342835e4e720a2cc8898f33 (diff)
downloadmethod_source-78309b6e613d6c007a0c611df96d945df75397b9.tar.gz
version 0.6.6, added REE support
-rw-r--r--README.markdown2
-rw-r--r--lib/method_source/version.rb2
-rw-r--r--test/test.rb10
3 files changed, 2 insertions, 12 deletions
diff --git a/README.markdown b/README.markdown
index a2c7786..d91b810 100644
--- a/README.markdown
+++ b/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.
diff --git a/lib/method_source/version.rb b/lib/method_source/version.rb
index dcc81b6..cbaf982 100644
--- a/lib/method_source/version.rb
+++ b/lib/method_source/version.rb
@@ -1,3 +1,3 @@
module MethodSource
- VERSION = "0.6.5"
+ VERSION = "0.6.6"
end
diff --git a/test/test.rb b/test/test.rb
index 50d7b82..0fac50c 100644
--- a/test/test.rb
+++ b/test/test.rb
@@ -8,16 +8,6 @@ require "#{direc}/test_helper"
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/