lib/etl/control/source.rb in darrell-activewarehouse-etl-0.9.1.4 vs lib/etl/control/source.rb in darrell-activewarehouse-etl-0.9.1.6

- old
+ new

@@ -38,11 +38,12 @@ def initialize(control, configuration, definition) @control = control @configuration = configuration @definition = definition - @store_locally = configuration[:store_locally] || true + @store_locally = true + @store_locally = configuration[:store_locally] unless configuration[:store_locally].nil? end # Get an array of errors that occur during reading from the source def errors @errors ||= [] @@ -104,6 +105,6 @@ end end end -Dir[File.dirname(__FILE__) + "/source/*.rb"].each { |file| require(file) } \ No newline at end of file +Dir[File.dirname(__FILE__) + "/source/*.rb"].each { |file| require(file) }