Permalink
Browse files

Ignore <internal: callers, fixes GH #50

  • Loading branch information...
1 parent 507972e commit 081c18401826748f14aa261faca698bae494cf3a @rkh rkh committed Sep 1, 2010
Showing with 3 additions and 1 deletion.
  1. +2 −1 Rakefile
  2. +1 −0 lib/sinatra/base.rb
View
@@ -15,7 +15,8 @@ end
Rake::TestTask.new(:test) do |t|
t.test_files = FileList['test/*_test.rb']
- t.ruby_opts = ['-rubygems -I.'] if defined? Gem
+ t.ruby_opts = ['-rubygems'] if defined? Gem
+ t.ruby_opts << '-I.'
end
# Rcov ================================================================
View
@@ -1049,6 +1049,7 @@ def metadef(message, &block)
/\(.*\)/, # generated code
/rubygems\/custom_require\.rb$/, # rubygems require hacks
/active_support/, # active_support require hacks
+ /<internal:/, # internal in ruby >= 1.9.2
]
# add rubinius (and hopefully other VM impls) ignore patterns ...

0 comments on commit 081c184

Please sign in to comment.