Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using the toolkit outside of Rails against MiniTest users will receive the following error: ``` deprecation_toolkit/lib/deprecation_toolkit.rb:20:in `add_notify_behavior': uninitialized constant ActiveSupport::Deprecation (NameError) ``` 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. Signed-off-by: Nick Schwaderer <[email protected]>
- Loading branch information