<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,5 +5,15 @@ namespace :fyg do
       Rake::Task.tasks.each { |task| task.invoke if (/^fyg:importer/).match(task.name) }
       Rake::Task['fyg:maintenance:remove_past'].invoke
     end
+
+    %w(mlb nba nfl nhl acc_football big_east_football big_ten_football
+    big_xii_football pac_ten_football sec_football).each do |league|
+      desc &quot;Import #{league} games&quot;
+      task league.to_sym =&gt; :environment do
+        require &quot;fyg/importer/#{league}&quot;
+        importer = &quot;Fyg::Importer::#{league.camelcase}&quot;.constantize
+        importer.new
+      end
+    end
   end
 end</diff>
      <filename>lib/tasks/import.rake</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/tasks/mlb.rake</filename>
    </removed>
    <removed>
      <filename>lib/tasks/nba.rake</filename>
    </removed>
    <removed>
      <filename>lib/tasks/ncaaf.rake</filename>
    </removed>
    <removed>
      <filename>lib/tasks/nfl.rake</filename>
    </removed>
    <removed>
      <filename>lib/tasks/nhl.rake</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>68f69364940477bfdd2dab00a780d4e027cacf5f</id>
    </parent>
  </parents>
  <author>
    <name>Mark Cornick</name>
    <email>mcornick@mcornick.com</email>
  </author>
  <url>http://github.com/victoryhand/fyg/commit/7d288a454a88f23e90767038ce35e694105432d0</url>
  <id>7d288a454a88f23e90767038ce35e694105432d0</id>
  <committed-date>2009-10-21T14:57:57-07:00</committed-date>
  <authored-date>2009-10-21T14:57:57-07:00</authored-date>
  <message>refactor rake tasks</message>
  <tree>46fe29227de9b990fea554f36976db3c37f95a41</tree>
  <committer>
    <name>Mark Cornick</name>
    <email>mcornick@mcornick.com</email>
  </committer>
</commit>
