mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Ignore <internal: callers, fixes GH #50
This commit is contained in:
parent
507972ee64
commit
081c184018
2 changed files with 3 additions and 1 deletions
3
Rakefile
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 ================================================================
|
||||
|
|
|
@ -1049,6 +1049,7 @@ module Sinatra
|
|||
/\(.*\)/, # 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 ...
|
||||
|
|
Loading…
Add table
Reference in a new issue