lib/ownership.rb in ownership-0.1.0 vs lib/ownership.rb in ownership-0.1.1

- old
+ new

@@ -1,6 +1,7 @@ require "ownership/global_methods" +require "ownership/honeybadger" require "ownership/rollbar" require "ownership/version" module Ownership class << self @@ -11,10 +12,10 @@ Thread.current[:ownership_owner] || default_owner end end end -Object.send :include, Ownership::GlobalMethods +Object.include Ownership::GlobalMethods if defined?(ActiveSupport) ActiveSupport.on_load(:action_controller) do require "ownership/controller_methods" include Ownership::ControllerMethods