lib/hoe.rb in hoe-2.11.0 vs lib/hoe.rb in hoe-2.12.0

- old
+ new

@@ -66,11 +66,11 @@ class Hoe include Rake::DSL if defined?(Rake::DSL) # duh - VERSION = '2.11.0' + VERSION = '2.12.0' @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package, :publish, :rcov, :gemcutter, :signing, :test] ## @@ -265,9 +265,14 @@ @loaded[name] = require plugin rescue LoadError => e warn "error loading #{plugin.inspect}: #{e.message}. skipping..." end }.any? + + bad_plugins = plugins - @loaded.keys + bad_plugins.each do |bad_plugin| + plugins.delete bad_plugin + end return @loaded, @found end ##