lib/drg.rb in drg-0.13.1 vs lib/drg.rb in drg-0.14.0
- old
+ new
@@ -1,27 +1,19 @@
+require 'pathname'
require 'ostruct'
require 'set'
require 'bundler'
require 'duck_puncher'
require 'highline/import'
-
-# defines Object#clone!
-DuckPuncher.punch! :Object
-
require 'drg/version'
module DRG
- module Tasks
- autoload :Updater, 'drg/tasks/updater'
- autoload :Pinner, 'drg/tasks/pinner'
- autoload :ActivePinner, 'drg/tasks/active_pinner'
- autoload :Gemfile, 'drg/tasks/gemfile'
- autoload :GemfileLine, 'drg/tasks/gemfile_line'
- autoload :Log, 'drg/tasks/log'
- end
+ # defines Object#clone! which provides a deep clone
+ DuckPuncher.punch! :Object
- class Ruby
- autoload :Const, 'drg/ruby/const'
- end
+ autoload :Tasks, 'drg/tasks'
+ autoload :Ruby, 'drg/ruby'
+ autoload :Decorators, 'drg/decorators'
+ autoload :Spec, 'drg/spec'
end
load 'tasks/drg.rake'