Sha256: 517f9c6decf130b970d0a0d3ca5b0a49c13f291b5405d66fe43104e1c09e519d

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

# encoding: utf-8


## fix: change time zone to ??

##################################
##  Copa América 2011 (Argentina)
#
#   more info -> http://en.wikipedia.org/wiki/2011_Copa_América
#             -> http://de.wikipedia.org/wiki/Copa_América_2011

copa = Event.create!( league:  League.find_by_key!('america'),
                      season:  Season.find_by_key!('2011'),
                      start_at: Time.cet( '2011-07-01 12:00' ) )


##############
# 12 Teams

copa.add_teams_from_ary!([
 'arg',   # Argentien
 'col',   # Kolumbien
 'uru',   # Uruguay
 'bra',   # Brasilien
 'mex',   # Mexiko
 'ecu',   # Ecuador
 'chi',   # Chile
 'par',   # Paraguay
 'per',   # Peru
 'ven',   # Venezuela
 'bol',   # Bolvien
 'crc'    # Costa Rica
 ])


##################
#### Groups

copaa = Group.create!( event: copa, pos: 1, title: 'Gruppe A' )
copab = Group.create!( event: copa, pos: 2, title: 'Gruppe B' )
copac = Group.create!( event: copa, pos: 3, title: 'Gruppe C' )

copaa.add_teams_from_ary!( ['arg', 'col', 'bol', 'crc' ] )
copab.add_teams_from_ary!( ['bra', 'par', 'ven', 'ecu' ] )
copac.add_teams_from_ary!( ['uru', 'chi', 'per', 'mex' ] )


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-0.9.0 db/america/2011.rb