lib/hoe.rb in hoe-3.18.0 vs lib/hoe.rb in hoe-3.18.1
- old
+ new
@@ -89,11 +89,11 @@
class Hoe
include Rake::DSL if defined?(Rake::DSL)
# duh
- VERSION = "3.18.0"
+ VERSION = "3.18.1"
@@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
:publish, :gemcutter, :signing, :test]
@bad_plugins = []
@@ -311,10 +311,10 @@
def self.load_plugins plugins = Hoe.plugins
@found ||= {}
@loaded ||= {}
@files ||= Gem.find_files "hoe/*.rb"
- @files.reverse.each do |path|
+ @files.reverse.each do |path| # reverse so first one wins
@found[File.basename(path, ".rb").intern] = path
end
:keep_doing_this while @found.map { |name, plugin|
next unless plugins.include? name