lib/reactor.rb in reactor-0.2.10 vs lib/reactor.rb in reactor-0.3.0

- old
+ new

@@ -1,11 +1,13 @@ require "reactor/version" -require "reactor/models/concerns/eventable" +require "reactor/models/concerns/publishable" +require "reactor/models/concerns/subscribable" require "reactor/models/concerns/optionally_subclassable" require "reactor/models/subscriber" require "reactor/event" module Reactor - + STATIC_SUBSCRIBERS = {} end -ActiveRecord::Base.send(:include, Reactor::Eventable) +ActiveRecord::Base.send(:include, Reactor::Publishable) +ActiveRecord::Base.send(:include, Reactor::Subscribable) \ No newline at end of file