This will raise even when not using ActiveSupport::Deprecation (i.e.
warn 'Deprecated: this is my deprecation') as all deprecations are
then passed through ActiveSupport::Deprecation in the gem.
This PR requires the ActiveSupport dependency if not already defined to
cover off these cases.
When using the toolkit outside of Rails against MiniTest users will receive the following error:
This will raise even when not using
ActiveSupport::Deprecation
(i.e.warn 'Deprecated: this is my deprecation'
) as all deprecations are then passed throughActiveSupport::Deprecation
in the gem.This PR requires the ActiveSupport dependency if not already defined to cover off these cases.
Signed-off-by: Nick Schwaderer nschwaderer@chef.io