lib/project.rb in project-1.1.0 vs lib/project.rb in project-1.2.0
- old
+ new
@@ -1,18 +1,20 @@
$:.unshift File.dirname(__FILE__)
-$:.unshift File.join(File.dirname(__FILE__), "project")
module Project
ROOT = File.expand_path(File.dirname(__FILE__) + "/..")
+ CONFIG = File.join(ENV["HOME"], '.project')
+ SHELL_BINARY = ENV["SHELL"]
end
-require 'core_ext'
-require 'errors'
-require 'template'
-require 'lookup'
-require 'workflow'
-require 'project'
-require 'loader'
-require 'runner'
+require 'project/version'
+require 'project/core_ext'
+require 'project/errors'
+require 'project/command_set'
+require 'project/template'
+require 'project/lookup'
+require 'project/workflow'
+require 'project/project'
+require 'project/loader'
+require 'project/runner'
-PROJECT_CONFIG = File.join(ENV["HOME"], '.project')
-Project::Loader.config_path(PROJECT_CONFIG)
+Project::Loader.config_path(Project::CONFIG)