README.rdoc in data_miner-0.4.0 vs README.rdoc in data_miner-0.4.1

- old
+ new

@@ -48,10 +48,11 @@ Put this in <tt>lib/tasks/data_miner_tasks.rake</tt>: (unfortunately I don't know a way to automatically include gem tasks, so you have to do this manually for now) namespace :data_miner do task :run => :environment do - DataMiner.run :resource_names => ENV['RESOURCES'].to_s.split(/\s*,\s*/).flatten.compact + resource_names = %w{R RESOURCES RESOURCE RESOURCE_NAMES}.map { |possible_key| ENV[possible_key].to_s }.join.split(/\s*,\s*/).flatten.compact + DataMiner.run :resource_names => resource_names end end Once you have (1) set up the order of data mining and (2) defined <tt>data_miner</tt> blocks in your classes, you can: