Merge pull request #1358 from rwstauner/dirs-with-spaces

Match file paths with spaces in caller regexp
This commit is contained in:
Benjamin Fleischer
2015-12-02 10:23:40 -06:00
3 changed files with 19 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ module ActiveModel
# c/git/emberjs/ember-crm-backend/app/serializers/lead_serializer.rb
CALLER_FILE = /
\A # start of string
\S+ # one or more non-spaces
.+ # file path (one or more characters)
(?= # stop previous match when
:\d+ # a colon is followed by one or more digits
:in # followed by a colon followed by in