db/america/2011.rb in sportdb-0.8.1 vs db/america/2011.rb in sportdb-0.9.0
- old
+ new
@@ -7,15 +7,13 @@
## 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!( key: 'america.2011',
- title: 'Copa América 2011',
- start_at: Time.cet( '2011-07-01 12:00' ),
- league: League.find_by_key!('america'),
- season: Season.find_by_key!('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
@@ -45,6 +43,7 @@
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' ] )
-Prop.create!( key: 'db.america.2011.version', value: '1' )
+## The End
+#################
\ No newline at end of file