lib/chatterbot/config.rb in chatterbot-0.2.4 vs lib/chatterbot/config.rb in chatterbot-0.2.5

- old
+ new

@@ -42,11 +42,11 @@ end # # Should we run any config updates? def update_config? - config.has_key?(:dry_run) ? ! config[:dry_run] : true + config.has_key?(:no_update) ? ! config[:no_update] : true end # # should we write to a log file? def logging? @@ -198,10 +198,10 @@ # remove keys that are duped in the global config tmp = config.delete_if { |k, v| global_config.has_key?(k) && global_config[k] == config[k] } # let's not store these, they're just command-line options tmp.delete(:debug_mode) - tmp.delete(:dry_run) + tmp.delete(:no_update) tmp.delete(:verbose) # update the since_id now tmp[:since_id] = tmp.delete(:tmp_since_id) unless ! tmp.has_key?(:tmp_since_id)