Project

General

Profile

« Previous | Next » 

Revision 7594a292

Added by byroot (Jean Boussier) over 1 year ago

lib/bundled_gems.rb: more reliable caller detection

The 2 skipped frames went out of sync and now it should be 3.

Rather than just update the offset, we can implement a way that
is adaptative as long as all require decorators are also called require.

Also we should compute the corresponding uplevel otherwise the
warning will still point decorators.

Co-authored-by: "Hiroshi SHIBATA"