Skip to content
This repository
Browse code

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

  • Loading branch information...
commit e62532a86ad6af7ba3449ec42c4ad7a02c16d424 1 parent 798ca32
Ryan Tomayko rtomayko authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/sinatra/base.rb
2  lib/sinatra/base.rb
@@ -951,7 +951,7 @@ def metadef(message, &block)
951 951
952 952 public
953 953 CALLERS_TO_IGNORE = [
954   - /lib\/sinatra.*\.rb$/, # all sinatra code
  954 + /\/sinatra(\/(base|main|showexceptions|compat))?\.rb$/, # all sinatra code
955 955 /\(.*\)/, # generated code
956 956 /custom_require\.rb$/, # rubygems require hacks
957 957 /active_support/, # active_support require hacks

0 comments on commit e62532a

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