lib/glue/sweeper.rb in nitro-0.29.0 vs lib/glue/sweeper.rb in nitro-0.30.0

- old
+ new

@@ -1,6 +1,6 @@ -require 'glue/aspects' +require 'facets/more/aspects' module Glue # This module adds cleanup functionality to managed # classes. Override and implement sweep_affected. @@ -10,10 +10,10 @@ #-- # FIXME: find a better name. #++ module Sweeper - include Glue::Aspects + include ::Aspects before "sweep_affected(:insert)", :on => :og_insert before "sweep_affected(:update)", :on => :og_update before "sweep_affected(:delete)", :on => :og_delete