Sha256: 0fcc44b35a9f4f4c060deb6b3671adb86e59e3a497cdb6cee48436634b95400a

Contents?: true

Size: 1.58 KB

Versions: 3

Compression:

Stored size: 1.58 KB

Contents

## $:.unshift(File.dirname(__FILE__))

## minitest setup

# require 'minitest/unit'
require 'minitest/autorun'


## our own code

require 'sportdb'


#####################
# Models shortcuts

Country    = WorldDb::Model::Country

Person     = PersonDb::Model::Person

League      = SportDb::Model::League
Season      = SportDb::Model::Season
Event       = SportDb::Model::Event
Team        = SportDb::Model::Team
Roster      = SportDb::Model::Roster
Assoc       = SportDb::Model::Assoc
AssocAssoc  = SportDb::Model::AssocAssoc

Round      = SportDb::Model::Round
Group      = SportDb::Model::Group
Game       = SportDb::Model::Game
GameCursor = SportDb::Model::GameCursor


EventStanding        = SportDb::Model::EventStanding
EventStandingEntry   = SportDb::Model::EventStandingEntry
GroupStanding        = SportDb::Model::GroupStanding
GroupStandingEntry   = SportDb::Model::GroupStandingEntry
AlltimeStanding      = SportDb::Model::AlltimeStanding
AlltimeStandingEntry = SportDb::Model::AlltimeStandingEntry



####################
# Reader shortcuts

Reader             = SportDb::Reader
TeamReader         = SportDb::TeamReader
AssocReader        = SportDb::AssocReader
SeasonReader       = SportDb::SeasonReader
LeagueReader       = SportDb::LeagueReader
EventReader        = SportDb::EventReader
GameReader         = SportDb::GameReader
SquadReader        = SportDb::SquadReader

## moved to racing.db  - remove/delete!!
## RaceTeamReader     = SportDb::RaceTeamReader

PersonReader       = PersonDb::PersonReader

#################################
# setup db -> schema / tables

SportDb.setup_in_memory_db

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sportdb-1.9.7 test/helper.rb
sportdb-1.9.6 test/helper.rb
sportdb-1.9.5 test/helper.rb