lib/captain_hoog/templates/install.erb in captain_hoog-1.0 vs lib/captain_hoog/templates/install.erb in captain_hoog-1.0.1

- old
+ new

@@ -1,16 +1,15 @@ #!/usr/bin/env ruby require 'captain_hoog' -require 'yaml' # read config -hoog_config = YAML.load_file(File.join('<%= config[:root_dir] %>', - 'hoogfile.yml')) +hoog_config = CaptainHoog::Hoogfile.config('<%= config[:root_dir] %>') # Adjust settings CaptainHoog::PreGit.configure do |config| - config.plugins_dir = hoog_config['plugins_dir'] - config.project_dir = hoog_config['project_dir'] + config.plugins_dir = hoog_config.plugins_dir + config.project_dir = hoog_config.project_dir + config.plugins_conf = hoog_config.plugins_env #config.headline_on_success = "All is fine." #config.headline_on_failure = "Oops. Something went wrong" end plugin_list = CaptainHoog::PluginList.new('<%=config[:type] %>',