lib/deprecation_toolkit.rb in deprecation_toolkit-1.3.0 vs lib/deprecation_toolkit.rb in deprecation_toolkit-1.4.0

- old
+ new

@@ -5,10 +5,11 @@ module DeprecationToolkit autoload :DeprecationSubscriber, "deprecation_toolkit/deprecation_subscriber" autoload :Configuration, "deprecation_toolkit/configuration" autoload :Collector, "deprecation_toolkit/collector" autoload :ReadWriteHelper, "deprecation_toolkit/read_write_helper" + autoload :TestTriggerer, "deprecation_toolkit/test_triggerer" module Behaviors autoload :Disabled, "deprecation_toolkit/behaviors/disabled" autoload :Raise, "deprecation_toolkit/behaviors/raise" autoload :Record, "deprecation_toolkit/behaviors/record" @@ -31,7 +32,10 @@ DeprecationSubscriber.attach_to(gem_name) end end end -require "deprecation_toolkit/minitest_hook" +unless defined?(RSpec) + require "deprecation_toolkit/minitest_hook" +end + require "deprecation_toolkit/warning"