lib/pushapp/config.rb in pushapp-0.0.5 vs lib/pushapp/config.rb in pushapp-0.0.6
- old
+ new
@@ -1,15 +1,22 @@
require 'pushapp/remote'
-require 'pushapp/tasks/base'
class Pushapp::Config
attr_reader :file
attr_reader :remotes
@@known_tasks = {}
def self.parse(configuration_file = nil)
+ require 'pushapp/tasks/base'
+ require 'pushapp/tasks/script'
+ require 'pushapp/tasks/rake'
+ require 'pushapp/tasks/upstart'
+ require 'pushapp/tasks/nginx_export'
+ require 'pushapp/tasks/foreman_export'
+ require 'pushapp/tasks/unicorn_signal'
+
config = self.new(configuration_file)
config.instance_eval(File.read(config.file))
config
end