Updates SauceWhisk.load_first_found to check for the Sauce::Config constant,
instead of Sauce. This will help prevent against accidental collisions with
Sauce namespaces not provided by the (deprecated) Sauce gem.
I ran into this while grouping some of my other Sauce utility classes under the Sauce
namespace, which makes the current version of SauceWhisk think a Sauce::Config
class exists.
Risks
Low: Increases the specificity of assumptions (that a Sauce::Config class exists.)
Description
Updates
SauceWhisk.load_first_found
to check for theSauce::Config
constant, instead ofSauce
. This will help prevent against accidental collisions withSauce
namespaces not provided by the (deprecated) Sauce gem.I ran into this while grouping some of my other Sauce utility classes under the
Sauce
namespace, which makes the current version of SauceWhisk think aSauce::Config
class exists.Risks
Low: Increases the specificity of assumptions (that a
Sauce::Config
class exists.)