lib/spout/tasks/engine.rake in spout-0.7.0.beta2 vs lib/spout/tasks/engine.rake in spout-0.7.0.beta3
- old
+ new
@@ -123,10 +123,13 @@
end
desc 'Match CSV dataset with JSON repository'
task :graphs do
require 'spout/commands/graphs'
- Spout::Commands::Graphs.new()
+ types = ENV['types'].to_s.split(',').collect{|t| t.to_s.downcase}
+ variable_ids = ENV['variable_ids'].to_s.split(',').collect{|vid| vid.to_s.downcase}
+ sizes = ENV['sizes'].to_s.split(',').collect{|s| s.to_s.downcase}
+ Spout::Commands::Graphs.new(types, variable_ids, sizes)
end
end
class SpoutCoverageResult