active_model_serializers/lib/active_model
Eric Guo f93a7e8b41 need lookahead match for windows file path contain 'c:/git/'
So we will got full file path instead of only c if caller.first is: c:/git/emberjs/ember-crm-backend/app/serializers/lead_serializer.rb:1:in `<top (required)>'

CALLER_FILE = /
  /A # start of string
  \S+ # one or more non-spaces
  (?= # stop previous match when
    :\d+:in # a colon is followed by one or more digits
               # followed by a colon followed by in
   )
/x

credit from https://gist.github.com/mikezter/540132 and @bf4
2015-08-18 09:52:34 +08:00
..
serializer Merge pull request #1049 from bf4/fix_json_api_adapter_serialable_hash 2015-08-12 11:08:39 -03:00
serializable_resource.rb Encapsulate serialization in ActiveModel::SerializableResource 2015-07-23 11:05:23 -05:00
serializer.rb need lookahead match for windows file path contain 'c:/git/' 2015-08-18 09:52:34 +08:00