Sha256: 3ecac36a659643411ab35137c6e03b05c5ae356034e59b5297d542a1f8d17f9a

Contents?: true

Size: 1.39 KB

Versions: 13

Compression:

Stored size: 1.39 KB

Contents

# encoding: utf-8

# note: timezone for games (play_at) is *always* CET (central european time)

#########################################################
##  Euro 2008  Austria-Switzerland (7 June - 29 June)

# see http://en.wikipedia.org/wiki/UEFA_Euro_2008
# or  http://de.wikipedia.org/wiki/Fußball-Europameisterschaft_2008


##  16 teams
##  31 games
##  22 days    

euro = Event.create!( key:     'euro.2008',
                      title:   'Euro 2008',
                      start_at: Time.cet( '2008-06-07 18:00' ),
                      league:  League.find_by_key!('euro'),
                      season:  Season.find_by_key!('2008'))


euro.add_teams_from_ary!([
  'sui',
  'aut',
  'gre',
  'ned',
  'cro',
  'ita',
  'cze',
  'swe',
  'rou',
  'ger',
  'por',
  'esp',
  'pol',
  'fra',
  'tur',
  'rus'
])

euroa = Group.create!( event: euro, pos: 1, title: 'Gruppe A' )
eurob = Group.create!( event: euro, pos: 2, title: 'Gruppe B' )
euroc = Group.create!( event: euro, pos: 3, title: 'Gruppe C' )
eurod = Group.create!( event: euro, pos: 4, title: 'Gruppe D' )

euroa.add_teams_from_ary!(['sui', 'cze', 'por', 'tur'])

eurob.add_teams_from_ary!(['aut', 'cro', 'ger', 'pol'])

euroc.add_teams_from_ary!(['ned', 'ita', 'rou', 'fra'])

eurod.add_teams_from_ary!(['gre', 'swe', 'esp', 'rus'])


Prop.create!( key: 'db.euro.2008.version', value: '1' )




Version data entries

13 entries across 13 versions & 1 rubygems

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