Skip to content

Commit

Permalink
more explicit pattern for generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed May 3, 2011
1 parent 9f1e382 commit adba271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sinatra/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ def metadef(message, &block)
CALLERS_TO_IGNORE = [ # :nodoc:
/\/sinatra(\/(base|main|showexceptions))?\.rb$/, # all sinatra code
/lib\/tilt.*\.rb$/, # all tilt code
/\(.*\)/, # generated code
/^\(.*\)$/, # generated code
/rubygems\/custom_require\.rb$/, # rubygems require hacks
/active_support/, # active_support require hacks
/bundler(\/runtime)?\.rb/, # bundler require hacks
Expand Down

0 comments on commit adba271

Please sign in to comment.