Sha256: a677c7f7854c071b54bcb93cc8a6063667a2c737918a46f2b59e3975482ad873

Contents?: true

Size: 762 Bytes

Versions: 13

Compression:

Stored size: 762 Bytes

Contents

# encoding: utf-8

# note: timezone for games (play_at) is *always* CST (central standard time / -6 hours ??)


mx = Event.create!( key: 'mx.apertura.2012',
                    title: 'México Primera División Apertura 2012',
                    start_at: Time.cst('2012-07-20 00:00'),
                    league: League.find_by_key!( 'mx.apertura'),
                    season: Season.find_by_key!( '2012'))

team_keys_mx = [
  'america',
  'atlante',
  'atlas',
  'chivas',
  'cruzazul',
  'jaguares',
  'leon',
  'monarcas',
  'monterrey',
  'pachuca',
  'puebla',
  'queretaro',
  'sanluis',
  'slaguna',
  'tijuana',
  'toluca',
  'tigres',
  'pumas'
]

mx.add_teams_from_ary!( team_keys_mx )

Prop.create!( key: 'db.mx.apertura.2012.version', value: '1' )

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sportdb-0.8.1 db/mx/apertura_2012.rb
sportdb-0.8.0 db/mx/apertura_2012.rb
sportdb-0.7.2 db/mx/apertura_2012.rb
sportdb-0.7.1 db/mx/apertura_2012.rb
sportdb-0.7.0 db/mx/apertura_2012.rb
sportdb-0.6.0 db/mx/apertura_2012.rb
sportdb-0.5.6 db/mx/apertura_2012.rb
sportdb-0.5.5 db/mx/apertura_2012.rb
sportdb-0.5.4 db/mx/apertura_2012.rb
sportdb-0.5.3 db/mx/apertura_2012.rb
sportdb-0.5.2 db/mx/apertura_2012.rb
sportdb-0.5.1 db/mx/apertura_2012.rb
sportdb-0.5.0 db/mx/apertura_2012.rb