lib/drg.rb in drg-0.13.0 vs lib/drg.rb in drg-0.13.1
- old
+ new
@@ -1,27 +1,27 @@
require 'ostruct'
require 'set'
require 'bundler'
-require 'drg/version'
require 'duck_puncher'
require 'highline/import'
-# defines #clone!
+# defines Object#clone!
DuckPuncher.punch! :Object
-module DRG
- # autoload :FileReader, 'drg/file_reader'
- # autoload :Scanner, 'drg/scanner'
- # autoload :Judge, 'drg/judge'
- # autoload :FileContext, 'drg/file_context'
+require 'drg/version'
+module DRG
module Tasks
autoload :Updater, 'drg/tasks/updater'
autoload :Pinner, 'drg/tasks/pinner'
- autoload :ActivePinnner, 'drg/tasks/active_pinner'
+ autoload :ActivePinner, 'drg/tasks/active_pinner'
autoload :Gemfile, 'drg/tasks/gemfile'
autoload :GemfileLine, 'drg/tasks/gemfile_line'
autoload :Log, 'drg/tasks/log'
+ end
+
+ class Ruby
+ autoload :Const, 'drg/ruby/const'
end
end
load 'tasks/drg.rake'