Permalink
Browse files

Fix app_file detect when under /usr/lib/ruby/1.8 (debian, etc.) [#249]

  • Loading branch information...
1 parent 798ca32 commit e62532a86ad6af7ba3449ec42c4ad7a02c16d424 @rtomayko rtomayko committed Jul 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/base.rb
View
@@ -951,7 +951,7 @@ def metadef(message, &block)
public
CALLERS_TO_IGNORE = [
- /lib\/sinatra.*\.rb$/, # all sinatra code
+ /\/sinatra(\/(base|main|showexceptions|compat))?\.rb$/, # all sinatra code
/\(.*\)/, # generated code
/custom_require\.rb$/, # rubygems require hacks
/active_support/, # active_support require hacks

0 comments on commit e62532a

Please sign in to comment.