From 78309b6e613d6c007a0c611df96d945df75397b9 Mon Sep 17 00:00:00 2001 From: John Mair Date: Mon, 3 Oct 2011 00:08:38 +1300 Subject: version 0.6.6, added REE support --- README.markdown | 2 +- lib/method_source/version.rb | 2 +- test/test.rb | 10 ---------- 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/ -- cgit v1.2.1