lib/repo_manager/app.rb in repo_manager-0.7.2 vs lib/repo_manager/app.rb in repo_manager-0.7.3

- old
+ new

@@ -18,20 +18,20 @@ # bin wrapper option parser object attr_accessor :option_parser def initialize(argv=[], configuration={}) - @configuration = configuration - @options = configuration[:options] || {} - @argv = argv + @configuration = configuration.deep_clone + @options = @configuration[:options] || {} + @argv = argv.dup $stdout.sync = true - config_filename = configuration[:configuration_filename] - RepoManager::Logger::Manager.new(config_filename, :logging, configuration) + config_filename = @configuration[:configuration_filename] + RepoManager::Logger::Manager.new(config_filename, :logging, @configuration) logger.debug "configuration: #{@configuration.inspect}" logger.debug "argv: #{@argv.inspect}" - logger.debug "config file: #{configuration[:configuration_filename]}" if configuration[:configuration_filename] + logger.debug "config file: #{@configuration[:configuration_filename]}" if @configuration[:configuration_filename] end def execute begin