lib/doc.rb in doc-0.2.1 vs lib/doc.rb in doc-0.2.2
- old
+ new
@@ -4,6 +4,8 @@
smart_autoload :Tasks, :Documentor, :Configurator, :ConfigObject, :RootConfig, :ConfigError
smart_autoload :BaseTask, :Builder, :Merger, :RootMerger
smart_autoload :Command
end
-glob_require 'doc/configurator/*.rb'
+%w[gems paths rails ruby].each do |name|
+ require "doc/configurator/#{name}"
+end