lib/sportdb.rb in sportdb-0.4.5 vs lib/sportdb.rb in sportdb-0.5.0
- old
+ new
@@ -18,17 +18,24 @@
require 'active_record' ## todo: add sqlite3? etc.
# our own code
+
+module SportDB # forward reference; more to come later
+end
+
+require 'sportdb/models/badge'
require 'sportdb/models/country'
require 'sportdb/models/event'
require 'sportdb/models/event_team'
require 'sportdb/models/game'
require 'sportdb/models/group'
require 'sportdb/models/group_team'
+require 'sportdb/models/league'
require 'sportdb/models/prop'
require 'sportdb/models/round'
+require 'sportdb/models/season'
require 'sportdb/models/team'
require 'sportdb/schema' # NB: requires sportdb/models (include SportDB::Models)
require 'sportdb/utils'
require 'sportdb/loader'
require 'sportdb/reader'
\ No newline at end of file