Skip to content

Commit

Permalink
More config work
Browse files Browse the repository at this point in the history
  • Loading branch information
skorks committed Jan 13, 2013
1 parent 7cd8f1a commit f512db8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Gemfile
@@ -1,6 +1,4 @@
source 'https://rubygems.org'

gem 'formatador', '~> 0.2.4'

# Specify your gem's dependencies in escort.gemspec
gemspec
4 changes: 2 additions & 2 deletions lib/escort/app.rb
Expand Up @@ -17,8 +17,8 @@ def initialize(global_setup)
if @configuration.nil?
#create a default config file if autocreate is true
#default_config_file_data = {}
blah = Escort::Setup::DefaultConfigurationData.new(app, global_setup_accessor).generate
p blah
blah = Escort::Setup::DefaultConfigurationData.new(self, global_setup_accessor).generate
puts JSON.pretty_generate blah
#global_setup_accessor.command_aliases.each_pair do |command_name, aliases|
#current_command_setup = Escort::Setup::Command.new(global_setup)
#@global_setup = global_setup
Expand Down
2 changes: 1 addition & 1 deletion lib/escort/setup/default_configuration_data.rb
Expand Up @@ -42,7 +42,7 @@ def default_option_values_for_commands

def default_command_option_values(command_name)
hash = {}
command_block = ensure_command_block(@command_name)
command_block = ensure_command_block(command_name)
command_setup = BareCommand.new
command_block.call(command_setup)
hash
Expand Down

0 comments on commit f512db8

Please sign in to comment.