lib/plugins/pluginmanager.rb in rsence-pre-2.1.0.18 vs lib/plugins/pluginmanager.rb in rsence-pre-2.1.0.19

- old
+ new

@@ -327,11 +327,11 @@ if File.exists?( info_path ) info_yaml = YAML.load( File.read( info_path ) ) info_yaml.each do |info_key,info_value| info[ info_key.to_sym ] = info_value end - else + elsif RSence.args[:debug] warn "Expected info.yaml, using defaults:" warn " #{info_path}" end @deps.set_deps( bundle_name, info[:depends_on] ) @@ -614,10 +614,10 @@ call( name, :open ) puts "done!" if RSence.args[:verbose] end if not (to_load.empty? and to_unload.empty? and to_reload.empty?) @@incr += 1 - puts "@@incr: #{@@incr}" + puts "@@incr: #{@@incr}" if RSence.args[:debug] puts "Plugin bundles:" puts " loaded: #{to_load.join(', ')}" unless to_load.empty? puts " unloaded: #{to_unload.join(', ')}" unless to_unload.empty? puts " reloaded: #{to_reload.join(', ')}" unless to_reload.empty? puts " opened: #{to_open.join(', ')}" unless to_open.empty?