Skip to content
Browse files

Ignore <internal: callers, fixes GH #50

  • Loading branch information...
1 parent 1d65031 commit 41d018c151e2ff16ce9465b252a25b1d181c79b6 @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
3 Rakefile
@@ -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
1 lib/sinatra/base.rb
@@ -1019,6 +1019,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 41d018c

Please sign in to comment.
Something went wrong with that request. Please try again.