db/mx/apertura_2012.rb in sportdb-0.8.1 vs db/mx/apertura_2012.rb in sportdb-0.9.0
- old
+ new
@@ -1,15 +1,13 @@
# encoding: utf-8
# note: timezone for games (play_at) is *always* CST (central standard time / -6 hours ??)
-mx = Event.create!( key: 'mx.apertura.2012',
- title: 'México Primera División Apertura 2012',
- start_at: Time.cst('2012-07-20 00:00'),
- league: League.find_by_key!( 'mx.apertura'),
- season: Season.find_by_key!( '2012'))
+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',
@@ -30,6 +28,8 @@
'pumas'
]
mx.add_teams_from_ary!( team_keys_mx )
-Prop.create!( key: 'db.mx.apertura.2012.version', value: '1' )
+
+## The End
+#################
\ No newline at end of file