db/world/2010.rb in sportdb-0.8.1 vs db/world/2010.rb in sportdb-0.9.0
- old
+ new
@@ -11,15 +11,13 @@
### 32 teams
## 64 games
## 31 days (11 June - 11 July)
-wm = Event.create!( key: 'wm.2010',
- title: 'World Cup 2010',
- start_at: Time.cet( '2010-06-11 12:00' ),
- league: League.find_by_key!('wm'),
- season: Season.find_by_key!('2010'))
+wm = Event.create!( league: League.find_by_key!('world'),
+ season: Season.find_by_key!('2010'),
+ start_at: Time.cet( '2010-06-11 12:00' ) )
##############
# 13 aus Europa
wm.add_teams_from_ary!([
@@ -184,6 +182,7 @@
# Chile
wmh.add_teams_from_ary!( ['esp', 'sui', 'hon', 'chi'] )
-Prop.create!( key: 'db.world.2010.version', value: '1' )
+## The End
+#################