Sha256: 78c6cb34e758f1c0a3d97534c93df4c0520c7b83dd507edc0efd8ce33d399e3b

Contents?: true

Size: 616 Bytes

Versions: 8

Compression:

Stored size: 616 Bytes

Contents

# encoding: utf-8

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


mx = Event.create!( league: League.find_by_key!( 'mx.apertura' ),
                    season: Season.find_by_key!( '2012'),
                    start_at: Time.cst('2012-07-20 00:00') )

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 )


## The End
#################

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sportdb-0.9.7 data/mx/apertura_2012.rb
sportdb-0.9.6 data/mx/apertura_2012.rb
sportdb-0.9.5 data/mx/apertura_2012.rb
sportdb-0.9.4 data/mx/apertura_2012.rb
sportdb-0.9.3 data/mx/apertura_2012.rb
sportdb-0.9.2 db/mx/apertura_2012.rb
sportdb-0.9.1 db/mx/apertura_2012.rb
sportdb-0.9.0 db/mx/apertura_2012.rb