Skip to content

Commit

Permalink
Ignore <internal: callers, fixes GH sinatra#50
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Sep 1, 2010
1 parent 507972e commit 081c184
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -15,7 +15,8 @@ end


Rake::TestTask.new(:test) do |t| Rake::TestTask.new(:test) do |t|
t.test_files = FileList['test/*_test.rb'] 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 end


# Rcov ================================================================ # Rcov ================================================================
Expand Down
1 change: 1 addition & 0 deletions lib/sinatra/base.rb
Expand Up @@ -1049,6 +1049,7 @@ def metadef(message, &block)
/\(.*\)/, # generated code /\(.*\)/, # generated code
/rubygems\/custom_require\.rb$/, # rubygems require hacks /rubygems\/custom_require\.rb$/, # rubygems require hacks
/active_support/, # active_support require hacks /active_support/, # active_support require hacks
/<internal:/, # internal in ruby >= 1.9.2
] ]


# add rubinius (and hopefully other VM impls) ignore patterns ... # add rubinius (and hopefully other VM impls) ignore patterns ...
Expand Down

0 comments on commit 081c184

Please sign in to comment.