lib/honeybadger/const.rb in honeybadger-2.7.2 vs lib/honeybadger/const.rb in honeybadger-3.0.0.beta1

- old
+ new

@@ -1,25 +1,12 @@ require 'honeybadger/version' module Honeybadger - autoload :Agent, 'honeybadger/agent' - autoload :Backend, 'honeybadger/backend' - autoload :Backtrace, 'honeybadger/backtrace' - autoload :Config, 'honeybadger/config' - autoload :Logging, 'honeybadger/logging' - autoload :Notice, 'honeybadger/notice' - autoload :Plugin, 'honeybadger/plugin' - + # Autoloading allows middleware classes to be referenced in applications + # which include the optional Rack dependency without explicitly requiring + # these files. module Rack autoload :ErrorNotifier, 'honeybadger/rack/error_notifier' autoload :UserFeedback, 'honeybadger/rack/user_feedback' autoload :UserInformer, 'honeybadger/rack/user_informer' - autoload :RequestHash, 'honeybadger/rack/request_hash' - end - - module Util - autoload :Sanitizer, 'honeybadger/util/sanitizer' - autoload :RequestSanitizer, 'honeybadger/util/request_sanitizer' - autoload :Stats, 'honeybadger/util/stats' - autoload :HTTP, 'honeybadger/util/http' end end