lib/plugins/plugin_plugins.rb in rsence-pre-2.1.0.1.pre vs lib/plugins/plugin_plugins.rb in rsence-pre-2.1.0.2.pre

- old
+ new

@@ -23,10 +23,14 @@ module PluginPlugins # Extended {#init}, delegates calls to the sub-plugins. def init super - @plugin_plugins = RSence::PluginManager.new( [ bundle_path('plugins') ] ) + @plugin_plugins = RSence::PluginManager.new({ + :plugin_paths => [ bundle_path('plugins') ], + :autoreload => @plugins.autoreload, + :parent_manager => @plugins + }) end # Extended {#open}, delegates calls to the sub-plugins. def open super