sportdb 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,161 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ####################################################################
4
- # generiert am 2012-10-28 16:08:20 +0100
5
- # using sportdb 0.4.3 on Ruby 1.9.3 (2012-02-16) [i686-linux]
6
- ####################################################################
7
-
8
-
9
- ###########################################
10
- # ÖFB Cup 2012/13
11
-
12
-
13
-
14
- ev = Event.find_by_key!( 'at_cup_2012_13' )
15
-
16
- salzburg = Team.find_by_key!( 'salzburg' )
17
- rapid = Team.find_by_key!( 'rapid' )
18
- admira = Team.find_by_key!( 'admira' )
19
- austria = Team.find_by_key!( 'austria' )
20
- sturm = Team.find_by_key!( 'sturm' )
21
- ried = Team.find_by_key!( 'ried' )
22
- wacker = Team.find_by_key!( 'wacker' )
23
- mattersburg = Team.find_by_key!( 'mattersburg' )
24
- neustadt = Team.find_by_key!( 'neustadt' )
25
- wac = Team.find_by_key!( 'wac' )
26
- ksv = Team.find_by_key!( 'ksv' )
27
- altach = Team.find_by_key!( 'altach' )
28
- austrial = Team.find_by_key!( 'austrial' )
29
- stpoelten = Team.find_by_key!( 'stpoelten' )
30
- linz = Team.find_by_key!( 'linz' )
31
- groedig = Team.find_by_key!( 'groedig' )
32
- lustenau = Team.find_by_key!( 'lustenau' )
33
- vienna = Team.find_by_key!( 'vienna' )
34
- hartberg = Team.find_by_key!( 'hartberg' )
35
- horn = Team.find_by_key!( 'horn' )
36
- hard = Team.find_by_key!( 'hard' )
37
- bregenz = Team.find_by_key!( 'bregenz' )
38
- dornbirn = Team.find_by_key!( 'dornbirn' )
39
- kufstein = Team.find_by_key!( 'kufstein' )
40
- wattens = Team.find_by_key!( 'wattens' )
41
- austrias = Team.find_by_key!( 'austrias' )
42
- pinzgau = Team.find_by_key!( 'pinzgau' )
43
- stjohann = Team.find_by_key!( 'stjohann' )
44
- vsv = Team.find_by_key!( 'vsv' )
45
- klagenfurt = Team.find_by_key!( 'klagenfurt' )
46
- austriak = Team.find_by_key!( 'austriak' )
47
- kalsdorf = Team.find_by_key!( 'kalsdorf' )
48
- gratkorn = Team.find_by_key!( 'gratkorn' )
49
- allerheiligen = Team.find_by_key!( 'allerheiligen' )
50
- leoben = Team.find_by_key!( 'leoben' )
51
- gak = Team.find_by_key!( 'gak' )
52
- pasching = Team.find_by_key!( 'pasching' )
53
- voecklamarkt = Team.find_by_key!( 'voecklamarkt' )
54
- stflorian = Team.find_by_key!( 'stflorian' )
55
- wallern = Team.find_by_key!( 'wallern' )
56
- lask = Team.find_by_key!( 'lask' )
57
- sollenau = Team.find_by_key!( 'sollenau' )
58
- amstetten = Team.find_by_key!( 'amstetten' )
59
- retz = Team.find_by_key!( 'retz' )
60
- fac = Team.find_by_key!( 'fac' )
61
- schwechat = Team.find_by_key!( 'schwechat' )
62
- wienersk = Team.find_by_key!( 'wienersk' )
63
- ostbahn = Team.find_by_key!( 'ostbahn' )
64
- oberwart = Team.find_by_key!( 'oberwart' )
65
- parndorf = Team.find_by_key!( 'parndorf' )
66
- stegersbach = Team.find_by_key!( 'stegersbach' )
67
- wolfurt = Team.find_by_key!( 'wolfurt' )
68
- schwaz = Team.find_by_key!( 'schwaz' )
69
- reutte = Team.find_by_key!( 'reutte' )
70
- spittal = Team.find_by_key!( 'spittal' )
71
- sak = Team.find_by_key!( 'sak' )
72
- dsc = Team.find_by_key!( 'dsc' )
73
- micheldorf = Team.find_by_key!( 'micheldorf' )
74
- badvoeslau = Team.find_by_key!( 'badvoeslau' )
75
- gaflenz = Team.find_by_key!( 'gaflenz' )
76
- ardagger = Team.find_by_key!( 'ardagger' )
77
- rohrendorf = Team.find_by_key!( 'rohrendorf' )
78
- heiligenkreuz = Team.find_by_key!( 'heiligenkreuz' )
79
- viktoria = Team.find_by_key!( 'viktoria' )
80
-
81
-
82
- r01 = Round.create!( event: ev, pos: 1, title: '1. Runde', start_at: Time.utc('2012-07-12 19:00'))
83
- r02 = Round.create!( event: ev, pos: 2, title: '2. Runde', start_at: Time.utc('2012-09-24 19:00'))
84
- r03 = Round.create!( event: ev, pos: 3, title: '3. Runde', start_at: Time.utc('2012-10-30 15:00'))
85
- r04 = Round.create!( event: ev, pos: 4, title: '4. Runde', start_at: Time.utc('1999-01-01 01:00'))
86
- r05 = Round.create!( event: ev, pos: 5, title: '5. Runde', start_at: Time.utc('1999-01-01 01:00'))
87
- r06 = Round.create!( event: ev, pos: 6, title: '6. Runde', start_at: Time.utc('1999-01-01 01:00'))
88
-
89
-
90
- games01 = [
91
- [ fac, [0,1], altach, Time.utc('2012-07-12 19:00') ],
92
- [ dsc, [1,2], hartberg, Time.utc('2012-07-13 19:00') ],
93
- [ gratkorn, [0,0], wacker, Time.utc('2012-07-13 19:00') ],
94
- [ parndorf, [0,3], admira, Time.utc('2012-07-13 19:00') ],
95
- [ voecklamarkt, [3,4], lustenau, Time.utc('2012-07-13 19:00') ],
96
- [ wattens, [0,1], sturm, Time.utc('2012-07-13 19:00') ],
97
- [ pinzgau, [0,4], groedig, Time.utc('2012-07-13 19:15') ],
98
- [ stflorian, [2,1], linz, Time.utc('2012-07-13 19:30') ],
99
- [ austriak, [3,2], horn, Time.utc('2012-07-13 19:30') ],
100
- [ gak, [2,2], vienna, Time.utc('2012-07-13 20:00') ],
101
- [ wienersk, [0,2], salzburg, Time.utc('2012-07-13 20:30') ],
102
- [ badvoeslau, [1,0], stpoelten, Time.utc('2012-07-14 17:00') ],
103
- [ ostbahn, [1,8], wac, Time.utc('2012-07-14 18:00') ],
104
- [ oberwart, [1,3], austria, Time.utc('2012-07-14 18:00') ],
105
- [ leoben, [1,3], mattersburg, Time.utc('2012-07-14 18:00') ],
106
- [ retz, [1,7], austrial, Time.utc('2012-07-14 18:00') ],
107
- [ bregenz, [1,2], ksv, Time.utc('2012-07-14 18:30') ],
108
- [ kufstein, [1,4], ried, Time.utc('2012-07-14 19:00') ],
109
- [ wolfurt, [2,2], neustadt, Time.utc('2012-07-15 10:30') ],
110
- [ heiligenkreuz, [0,5], rapid, Time.utc('2012-07-15 18:00') ],
111
- ]
112
-
113
- games02 = [
114
- [ kalsdorf, [3,0], hartberg, Time.utc('2012-09-24 19:00') ],
115
- [ viktoria, [2,2], ksv, Time.utc('2012-09-25 16:00') ],
116
- [ hard, [0,3], altach, Time.utc('2012-09-25 16:30') ],
117
- [ stegersbach, [1,3], salzburg, Time.utc('2012-09-25 18:00') ],
118
- [ pasching, [1,1], austrial, Time.utc('2012-09-25 19:00') ],
119
- [ austriak, [0,0], admira, Time.utc('2012-09-25 19:00') ],
120
- [ schwechat, [0,5], sturm, Time.utc('2012-09-25 19:00') ],
121
- [ lask, [2,0], groedig, Time.utc('2012-09-25 19:00') ],
122
- [ stjohann, [0,3], lustenau, Time.utc('2012-09-25 19:00') ],
123
- [ sollenau, [1,1], wacker, Time.utc('2012-09-25 19:00') ],
124
- [ vsv, [3,1], neustadt, Time.utc('2012-09-25 19:00') ],
125
- [ dornbirn, [2,3], austria, Time.utc('2012-09-25 20:30') ],
126
- [ badvoeslau, [2,3], mattersburg, Time.utc('2012-09-26 16:00') ],
127
- [ stflorian, [1,1], ried, Time.utc('2012-09-26 19:00') ],
128
- [ allerheiligen, [1,4], rapid, Time.utc('2012-09-26 19:00') ],
129
- [ gak, [0,6], wac, Time.utc('2012-09-26 20:20') ],
130
- ]
131
-
132
- games03 = [
133
- [ lask, [], mattersburg, Time.utc('2012-10-30 15:00') ],
134
- [ rapid, [], altach, Time.utc('2012-10-30 15:00') ],
135
- [ viktoria, [], ried, Time.utc('2012-10-30 15:00') ],
136
- [ sturm, [], wacker, Time.utc('2012-10-30 15:00') ],
137
- [ pasching, [], austriak, Time.utc('2012-10-30 15:00') ],
138
- [ lustenau, [], wac, Time.utc('2012-10-30 15:00') ],
139
- [ kalsdorf, [], salzburg, Time.utc('2012-10-30 15:00') ],
140
- [ vsv, [], austria, Time.utc('2012-10-30 15:00') ],
141
- ]
142
-
143
- games04 = [
144
- ]
145
-
146
- games05 = [
147
- ]
148
-
149
- games06 = [
150
- ]
151
-
152
-
153
-
154
- Game.create_from_ary!( games01, r01 )
155
- Game.create_from_ary!( games02, r02 )
156
- Game.create_from_ary!( games03, r03 )
157
- Game.create_from_ary!( games04, r04 )
158
- Game.create_from_ary!( games05, r05 )
159
- Game.create_from_ary!( games06, r06 )
160
-
161
- Prop.create!( key: 'db.at_cup_2012_13.fixtures.version', value: '1' )
@@ -1,279 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ####################################################################
4
- # generiert am 2012-10-27 17:39:53 +0200
5
- # using sportdb 0.4.2 on Ruby 1.9.3 (2012-02-16) [i686-linux]
6
- ####################################################################
7
-
8
-
9
- ###########################################
10
- # Deutsche Bundesliga 2012/13
11
-
12
-
13
-
14
- ev = Event.find_by_key!( 'de.2012/13' )
15
-
16
- bayern = Team.find_by_key!( 'bayern' )
17
- schalke = Team.find_by_key!( 'schalke' )
18
- dortmund = Team.find_by_key!( 'dortmund' )
19
- frankfurt = Team.find_by_key!( 'frankfurt' )
20
- hannover = Team.find_by_key!( 'hannover' )
21
- leverkusen = Team.find_by_key!( 'leverkusen' )
22
- duesseldorf = Team.find_by_key!( 'duesseldorf' )
23
- hsv = Team.find_by_key!( 'hsv' )
24
- mainz = Team.find_by_key!( 'mainz' )
25
- mgladbach = Team.find_by_key!( 'mgladbach' )
26
- freiburg = Team.find_by_key!( 'freiburg' )
27
- bremen = Team.find_by_key!( 'bremen' )
28
- hoffenheim = Team.find_by_key!( 'hoffenheim' )
29
- nuernberg = Team.find_by_key!( 'nuernberg' )
30
- stuttgart = Team.find_by_key!( 'stuttgart' )
31
- augsburg = Team.find_by_key!( 'augsburg' )
32
- wolfsburg = Team.find_by_key!( 'wolfsburg' )
33
- fuerth = Team.find_by_key!( 'fuerth' )
34
-
35
-
36
- r01 = Round.create!( event: ev, pos: 1, title: '1. Runde', start_at: Time.utc('2012-08-24 20:30'))
37
- r02 = Round.create!( event: ev, pos: 2, title: '2. Runde', start_at: Time.utc('2012-08-31 20:30'))
38
- r03 = Round.create!( event: ev, pos: 3, title: '3. Runde', start_at: Time.utc('2012-09-14 20:30'))
39
- r04 = Round.create!( event: ev, pos: 4, title: '4. Runde', start_at: Time.utc('2012-09-21 20:30'))
40
- r05 = Round.create!( event: ev, pos: 5, title: '5. Runde', start_at: Time.utc('2012-09-25 20:00'))
41
- r06 = Round.create!( event: ev, pos: 6, title: '6. Runde', start_at: Time.utc('2012-09-28 20:30'))
42
- r07 = Round.create!( event: ev, pos: 7, title: '7. Runde', start_at: Time.utc('2012-10-05 20:30'))
43
- r08 = Round.create!( event: ev, pos: 8, title: '8. Runde', start_at: Time.utc('2012-10-19 20:30'))
44
- r09 = Round.create!( event: ev, pos: 9, title: '9. Runde', start_at: Time.utc('2012-10-26 20:30'))
45
- r10 = Round.create!( event: ev, pos: 10, title: '10. Runde', start_at: Time.utc('2012-11-02 20:30'))
46
- r11 = Round.create!( event: ev, pos: 11, title: '11. Runde', start_at: Time.utc('2012-11-09 20:30'))
47
- r12 = Round.create!( event: ev, pos: 12, title: '12. Runde', start_at: Time.utc('2012-11-17 15:30'))
48
- r13 = Round.create!( event: ev, pos: 13, title: '13. Runde', start_at: Time.utc('2012-11-23 20:30'))
49
- r14 = Round.create!( event: ev, pos: 14, title: '14. Runde', start_at: Time.utc('2012-11-27 20:00'))
50
- r15 = Round.create!( event: ev, pos: 15, title: '15. Runde', start_at: Time.utc('2012-11-30 20:30'))
51
- r16 = Round.create!( event: ev, pos: 16, title: '16. Runde', start_at: Time.utc('2012-12-07 20:30'))
52
- r17 = Round.create!( event: ev, pos: 17, title: '17. Runde', start_at: Time.utc('2012-12-15 15:30'))
53
-
54
-
55
- games01 = [
56
- [ dortmund, [2,1], bremen, Time.utc('2012-08-24 20:30') ],
57
- [ mgladbach, [2,1], hoffenheim, Time.utc('2012-08-25 15:30') ],
58
- [ freiburg, [1,1], mainz, Time.utc('2012-08-25 15:30') ],
59
- [ augsburg, [0,2], duesseldorf, Time.utc('2012-08-25 15:30') ],
60
- [ hsv, [0,1], nuernberg, Time.utc('2012-08-25 15:30') ],
61
- [ fuerth, [0,3], bayern, Time.utc('2012-08-25 15:30') ],
62
- [ frankfurt, [2,1], leverkusen, Time.utc('2012-08-25 18:30') ],
63
- [ stuttgart, [0,1], wolfsburg, Time.utc('2012-08-25 20:45') ],
64
- [ hannover, [2,2], schalke, Time.utc('2012-08-26 17:30') ],
65
- ]
66
-
67
- games02 = [
68
- [ mainz, [0,1], fuerth, Time.utc('2012-08-31 20:30') ],
69
- [ hoffenheim, [0,4], frankfurt, Time.utc('2012-09-01 15:30') ],
70
- [ nuernberg, [1,1], dortmund, Time.utc('2012-09-01 15:30') ],
71
- [ bremen, [2,0], hsv, Time.utc('2012-09-01 15:30') ],
72
- [ schalke, [3,1], augsburg, Time.utc('2012-09-01 15:30') ],
73
- [ leverkusen, [2,0], freiburg, Time.utc('2012-09-01 15:30') ],
74
- [ duesseldorf, [0,0], mgladbach, Time.utc('2012-09-01 18:30') ],
75
- [ wolfsburg, [0,4], hannover, Time.utc('2012-09-02 15:30') ],
76
- [ bayern, [6,1], stuttgart, Time.utc('2012-09-02 17:30') ],
77
- ]
78
-
79
- games03 = [
80
- [ augsburg, [0,0], wolfsburg, Time.utc('2012-09-14 20:30') ],
81
- [ stuttgart, [0,0], duesseldorf, Time.utc('2012-09-15 15:30') ],
82
- [ mgladbach, [2,3], nuernberg, Time.utc('2012-09-15 15:30') ],
83
- [ hannover, [3,2], bremen, Time.utc('2012-09-15 15:30') ],
84
- [ dortmund, [3,0], leverkusen, Time.utc('2012-09-15 15:30') ],
85
- [ bayern, [3,1], mainz, Time.utc('2012-09-15 15:30') ],
86
- [ fuerth, [0,2], schalke, Time.utc('2012-09-15 18:30') ],
87
- [ freiburg, [5,3], hoffenheim, Time.utc('2012-09-16 15:30') ],
88
- [ frankfurt, [3,2], hsv, Time.utc('2012-09-16 17:30') ],
89
- ]
90
-
91
- games04 = [
92
- [ nuernberg, [1,2], frankfurt, Time.utc('2012-09-21 20:30') ],
93
- [ wolfsburg, [1,1], fuerth, Time.utc('2012-09-22 15:30') ],
94
- [ hsv, [3,2], dortmund, Time.utc('2012-09-22 15:30') ],
95
- [ duesseldorf, [0,0], freiburg, Time.utc('2012-09-22 15:30') ],
96
- [ schalke, [0,2], bayern, Time.utc('2012-09-22 15:30') ],
97
- [ mainz, [2,0], augsburg, Time.utc('2012-09-22 15:30') ],
98
- [ leverkusen, [1,1], mgladbach, Time.utc('2012-09-23 15:30') ],
99
- [ bremen, [2,2], stuttgart, Time.utc('2012-09-23 17:30') ],
100
- [ hoffenheim, [3,1], hannover, Time.utc('2012-09-23 17:30') ],
101
- ]
102
-
103
- games05 = [
104
- [ frankfurt, [3,3], dortmund, Time.utc('2012-09-25 20:00') ],
105
- [ fuerth, [0,2], duesseldorf, Time.utc('2012-09-25 20:00') ],
106
- [ bayern, [3,0], wolfsburg, Time.utc('2012-09-25 20:00') ],
107
- [ schalke, [3,0], mainz, Time.utc('2012-09-25 20:00') ],
108
- [ hannover, [4,1], nuernberg, Time.utc('2012-09-26 20:00') ],
109
- [ augsburg, [1,3], leverkusen, Time.utc('2012-09-26 20:00') ],
110
- [ stuttgart, [0,3], hoffenheim, Time.utc('2012-09-26 20:00') ],
111
- [ mgladbach, [2,2], hsv, Time.utc('2012-09-26 20:00') ],
112
- [ freiburg, [1,2], bremen, Time.utc('2012-09-26 20:00') ],
113
- ]
114
-
115
- games06 = [
116
- [ duesseldorf, [2,2], schalke, Time.utc('2012-09-28 20:30') ],
117
- [ nuernberg, [0,2], stuttgart, Time.utc('2012-09-29 15:30') ],
118
- [ bremen, [0,2], bayern, Time.utc('2012-09-29 15:30') ],
119
- [ hoffenheim, [0,0], augsburg, Time.utc('2012-09-29 15:30') ],
120
- [ hsv, [1,0], hannover, Time.utc('2012-09-29 15:30') ],
121
- [ leverkusen, [2,0], fuerth, Time.utc('2012-09-29 15:30') ],
122
- [ dortmund, [5,0], mgladbach, Time.utc('2012-09-29 18:30') ],
123
- [ frankfurt, [2,1], freiburg, Time.utc('2012-09-30 15:30') ],
124
- [ wolfsburg, [0,2], mainz, Time.utc('2012-09-30 17:30') ],
125
- ]
126
-
127
- games07 = [
128
- [ augsburg, [3,1], bremen, Time.utc('2012-10-05 20:30') ],
129
- [ bayern, [2,0], hoffenheim, Time.utc('2012-10-06 15:30') ],
130
- [ schalke, [3,0], wolfsburg, Time.utc('2012-10-06 15:30') ],
131
- [ mainz, [1,0], duesseldorf, Time.utc('2012-10-06 15:30') ],
132
- [ fuerth, [0,1], hsv, Time.utc('2012-10-06 15:30') ],
133
- [ freiburg, [3,0], nuernberg, Time.utc('2012-10-06 15:30') ],
134
- [ mgladbach, [2,0], frankfurt, Time.utc('2012-10-07 15:30') ],
135
- [ hannover, [1,1], dortmund, Time.utc('2012-10-07 17:30') ],
136
- [ stuttgart, [2,2], leverkusen, Time.utc('2012-10-07 17:30') ],
137
- ]
138
-
139
- games08 = [
140
- [ hoffenheim, [], fuerth, Time.utc('2012-10-19 20:30') ],
141
- [ frankfurt, [], hannover, Time.utc('2012-10-20 15:30') ],
142
- [ duesseldorf, [], bayern, Time.utc('2012-10-20 15:30') ],
143
- [ dortmund, [], schalke, Time.utc('2012-10-20 15:30') ],
144
- [ leverkusen, [], mainz, Time.utc('2012-10-20 15:30') ],
145
- [ wolfsburg, [], freiburg, Time.utc('2012-10-20 15:30') ],
146
- [ bremen, [], mgladbach, Time.utc('2012-10-20 18:30') ],
147
- [ nuernberg, [], augsburg, Time.utc('2012-10-21 15:30') ],
148
- [ hsv, [], stuttgart, Time.utc('2012-10-21 17:30') ],
149
- ]
150
-
151
- games09 = [
152
- [ augsburg, [], hsv, Time.utc('2012-10-26 20:30') ],
153
- [ fuerth, [], bremen, Time.utc('2012-10-27 15:30') ],
154
- [ freiburg, [], dortmund, Time.utc('2012-10-27 15:30') ],
155
- [ schalke, [], nuernberg, Time.utc('2012-10-27 15:30') ],
156
- [ mainz, [], hoffenheim, Time.utc('2012-10-27 15:30') ],
157
- [ duesseldorf, [], wolfsburg, Time.utc('2012-10-27 15:30') ],
158
- [ stuttgart, [], frankfurt, Time.utc('2012-10-28 15:30') ],
159
- [ hannover, [], mgladbach, Time.utc('2012-10-28 17:30') ],
160
- [ bayern, [], leverkusen, Time.utc('2012-10-28 17:30') ],
161
- ]
162
-
163
- games10 = [
164
- [ frankfurt, [], fuerth, Time.utc('2012-11-02 20:30') ],
165
- [ hannover, [], augsburg, Time.utc('2012-11-03 15:30') ],
166
- [ nuernberg, [], wolfsburg, Time.utc('2012-11-03 15:30') ],
167
- [ hoffenheim, [], schalke, Time.utc('2012-11-03 15:30') ],
168
- [ mgladbach, [], freiburg, Time.utc('2012-11-03 15:30') ],
169
- [ dortmund, [], stuttgart, Time.utc('2012-11-03 15:30') ],
170
- [ hsv, [], bayern, Time.utc('2012-11-03 18:30') ],
171
- [ leverkusen, [], duesseldorf, Time.utc('2012-11-04 15:30') ],
172
- [ bremen, [], mainz, Time.utc('2012-11-04 17:30') ],
173
- ]
174
-
175
- games11 = [
176
- [ mainz, [], nuernberg, Time.utc('2012-11-09 20:30') ],
177
- [ schalke, [], bremen, Time.utc('2012-11-10 15:30') ],
178
- [ wolfsburg, [], leverkusen, Time.utc('2012-11-10 15:30') ],
179
- [ augsburg, [], dortmund, Time.utc('2012-11-10 15:30') ],
180
- [ freiburg, [], hsv, Time.utc('2012-11-10 15:30') ],
181
- [ bayern, [], frankfurt, Time.utc('2012-11-10 15:30') ],
182
- [ duesseldorf, [], hoffenheim, Time.utc('2012-11-10 15:30') ],
183
- [ stuttgart, [], hannover, Time.utc('2012-11-11 17:30') ],
184
- [ fuerth, [], mgladbach, Time.utc('2012-11-11 17:30') ],
185
- ]
186
-
187
- games12 = [
188
- [ frankfurt, [], augsburg, Time.utc('2012-11-17 15:30') ],
189
- [ hsv, [], mainz, Time.utc('2012-11-17 15:30') ],
190
- [ nuernberg, [], bayern, Time.utc('2012-11-17 15:30') ],
191
- [ hannover, [], freiburg, Time.utc('2012-11-17 15:30') ],
192
- [ dortmund, [], fuerth, Time.utc('2012-11-17 15:30') ],
193
- [ mgladbach, [], stuttgart, Time.utc('2012-11-17 15:30') ],
194
- [ leverkusen, [], schalke, Time.utc('2012-11-17 18:30') ],
195
- [ bremen, [], duesseldorf, Time.utc('2012-11-18 15:30') ],
196
- [ hoffenheim, [], wolfsburg, Time.utc('2012-11-18 17:30') ],
197
- ]
198
-
199
- games13 = [
200
- [ duesseldorf, [], hsv, Time.utc('2012-11-23 20:30') ],
201
- [ wolfsburg, [], bremen, Time.utc('2012-11-24 15:30') ],
202
- [ schalke, [], frankfurt, Time.utc('2012-11-24 15:30') ],
203
- [ bayern, [], hannover, Time.utc('2012-11-24 15:30') ],
204
- [ mainz, [], dortmund, Time.utc('2012-11-24 15:30') ],
205
- [ fuerth, [], nuernberg, Time.utc('2012-11-24 15:30') ],
206
- [ freiburg, [], stuttgart, Time.utc('2012-11-25 15:30') ],
207
- [ hoffenheim, [], leverkusen, Time.utc('2012-11-25 17:30') ],
208
- [ augsburg, [], mgladbach, Time.utc('2012-11-25 17:30') ],
209
- ]
210
-
211
- games14 = [
212
- [ hsv, [], schalke, Time.utc('2012-11-27 20:00') ],
213
- [ frankfurt, [], mainz, Time.utc('2012-11-27 20:00') ],
214
- [ dortmund, [], duesseldorf, Time.utc('2012-11-27 20:00') ],
215
- [ hannover, [], fuerth, Time.utc('2012-11-27 20:00') ],
216
- [ freiburg, [], bayern, Time.utc('2012-11-28 20:00') ],
217
- [ nuernberg, [], hoffenheim, Time.utc('2012-11-28 20:00') ],
218
- [ bremen, [], leverkusen, Time.utc('2012-11-28 20:00') ],
219
- [ mgladbach, [], wolfsburg, Time.utc('2012-11-28 20:00') ],
220
- [ stuttgart, [], augsburg, Time.utc('2012-11-28 20:00') ],
221
- ]
222
-
223
- games15 = [
224
- [ duesseldorf, [], frankfurt, Time.utc('2012-11-30 20:30') ],
225
- [ schalke, [], mgladbach, Time.utc('2012-12-01 15:30') ],
226
- [ leverkusen, [], nuernberg, Time.utc('2012-12-01 15:30') ],
227
- [ mainz, [], hannover, Time.utc('2012-12-01 15:30') ],
228
- [ augsburg, [], freiburg, Time.utc('2012-12-01 15:30') ],
229
- [ fuerth, [], stuttgart, Time.utc('2012-12-01 15:30') ],
230
- [ bayern, [], dortmund, Time.utc('2012-12-01 18:30') ],
231
- [ hoffenheim, [], bremen, Time.utc('2012-12-02 15:30') ],
232
- [ wolfsburg, [], hsv, Time.utc('2012-12-02 17:30') ],
233
- ]
234
-
235
- games16 = [
236
- [ hsv, [], hoffenheim, Time.utc('2012-12-07 20:30') ],
237
- [ nuernberg, [], duesseldorf, Time.utc('2012-12-08 15:30') ],
238
- [ stuttgart, [], schalke, Time.utc('2012-12-08 15:30') ],
239
- [ freiburg, [], fuerth, Time.utc('2012-12-08 15:30') ],
240
- [ augsburg, [], bayern, Time.utc('2012-12-08 15:30') ],
241
- [ dortmund, [], wolfsburg, Time.utc('2012-12-08 15:30') ],
242
- [ frankfurt, [], bremen, Time.utc('2012-12-08 18:30') ],
243
- [ mgladbach, [], mainz, Time.utc('2012-12-09 15:30') ],
244
- [ hannover, [], leverkusen, Time.utc('2012-12-09 17:30') ],
245
- ]
246
-
247
- games17 = [
248
- [ bayern, [], mgladbach, Time.utc('2012-12-15 15:30') ],
249
- [ bremen, [], nuernberg, Time.utc('2012-12-15 15:30') ],
250
- [ duesseldorf, [], hannover, Time.utc('2012-12-15 15:30') ],
251
- [ wolfsburg, [], frankfurt, Time.utc('2012-12-15 15:30') ],
252
- [ leverkusen, [], hsv, Time.utc('2012-12-15 15:30') ],
253
- [ schalke, [], freiburg, Time.utc('2012-12-15 15:30') ],
254
- [ fuerth, [], augsburg, Time.utc('2012-12-15 15:30') ],
255
- [ mainz, [], stuttgart, Time.utc('2012-12-15 15:30') ],
256
- [ hoffenheim, [], dortmund, Time.utc('2012-12-15 15:30') ],
257
- ]
258
-
259
-
260
-
261
- Game.create_from_ary!( games01, r01 )
262
- Game.create_from_ary!( games02, r02 )
263
- Game.create_from_ary!( games03, r03 )
264
- Game.create_from_ary!( games04, r04 )
265
- Game.create_from_ary!( games05, r05 )
266
- Game.create_from_ary!( games06, r06 )
267
- Game.create_from_ary!( games07, r07 )
268
- Game.create_from_ary!( games08, r08 )
269
- Game.create_from_ary!( games09, r09 )
270
- Game.create_from_ary!( games10, r10 )
271
- Game.create_from_ary!( games11, r11 )
272
- Game.create_from_ary!( games12, r12 )
273
- Game.create_from_ary!( games13, r13 )
274
- Game.create_from_ary!( games14, r14 )
275
- Game.create_from_ary!( games15, r15 )
276
- Game.create_from_ary!( games16, r16 )
277
- Game.create_from_ary!( games17, r17 )
278
-
279
- Prop.create!( key: 'db.de.2012/13.fixtures.version', value: '1' )
@@ -1,178 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ####################################################################
4
- # generiert am 2012-10-16 19:52:25 +0200
5
- # using sportdb 0.4.0 on Ruby 1.9.2 (2011-07-09) [i386-mingw32]
6
- ####################################################################
7
-
8
-
9
- ###########################################
10
- # Premier League 2012/13
11
-
12
-
13
-
14
- ev = Event.find_by_key!( 'en.2012/13' )
15
-
16
- chelsea = Team.find_by_key!( 'chelsea' )
17
- manunited = Team.find_by_key!( 'manunited' )
18
- mancity = Team.find_by_key!( 'mancity' )
19
- everton = Team.find_by_key!( 'everton' )
20
- tottenham = Team.find_by_key!( 'tottenham' )
21
- westbrom = Team.find_by_key!( 'westbrom' )
22
- arsenal = Team.find_by_key!( 'arsenal' )
23
- westham = Team.find_by_key!( 'westham' )
24
- fulham = Team.find_by_key!( 'fulham' )
25
- newcastle = Team.find_by_key!( 'newcastle' )
26
- swansea = Team.find_by_key!( 'swansea' )
27
- stoke = Team.find_by_key!( 'stoke' )
28
- sunderland = Team.find_by_key!( 'sunderland' )
29
- liverpool = Team.find_by_key!( 'liverpool' )
30
- wigan = Team.find_by_key!( 'wigan' )
31
- astonvilla = Team.find_by_key!( 'astonvilla' )
32
- southampton = Team.find_by_key!( 'southampton' )
33
- reading = Team.find_by_key!( 'reading' )
34
- norwich = Team.find_by_key!( 'norwich' )
35
- qpr = Team.find_by_key!( 'qpr' )
36
-
37
-
38
- r01 = Round.create!( event: ev, pos: 1, title: '1. Runde', start_at: Time.utc('2012-08-18 15:00'))
39
- r02 = Round.create!( event: ev, pos: 2, title: '2. Runde', start_at: Time.utc('2012-08-25 00:00'))
40
- r03 = Round.create!( event: ev, pos: 3, title: '3. Runde', start_at: Time.utc('2012-08-22 19:45'))
41
- r04 = Round.create!( event: ev, pos: 4, title: '4. Runde', start_at: Time.utc('2012-09-15 12:45'))
42
- r05 = Round.create!( event: ev, pos: 5, title: '5. Runde', start_at: Time.utc('2012-09-22 12:45'))
43
- r06 = Round.create!( event: ev, pos: 6, title: '6. Runde', start_at: Time.utc('2012-09-29 12:45'))
44
- r07 = Round.create!( event: ev, pos: 7, title: '7. Runde', start_at: Time.utc('2012-10-06 12:45'))
45
- r08 = Round.create!( event: ev, pos: 8, title: '8. Runde', start_at: Time.utc('2012-10-20 12:45'))
46
- r09 = Round.create!( event: ev, pos: 9, title: '9. Runde', start_at: Time.utc('2012-10-27 12:45'))
47
-
48
-
49
- games01 = [
50
- [ arsenal, [0,0], sunderland, Time.utc('2012-08-18 15:00') ],
51
- [ fulham, [5,0], norwich, Time.utc('2012-08-18 15:00') ],
52
- [ qpr, [0,5], swansea, Time.utc('2012-08-18 15:00') ],
53
- [ reading, [1,1], stoke, Time.utc('2012-08-18 15:00') ],
54
- [ westbrom, [3,0], liverpool, Time.utc('2012-08-18 15:00') ],
55
- [ westham, [1,0], astonvilla, Time.utc('2012-08-18 15:00') ],
56
- [ newcastle, [2,1], tottenham, Time.utc('2012-08-18 17:30') ],
57
- [ wigan, [0,2], chelsea, Time.utc('2012-08-19 13:30') ],
58
- [ mancity, [3,2], southampton, Time.utc('2012-08-19 16:00') ],
59
- [ everton, [1,0], manunited, Time.utc('2012-08-20 20:00') ],
60
- ]
61
-
62
- games02 = [
63
- [ sunderland, [0,0], reading, Time.utc('2012-08-25 00:00') ],
64
- [ swansea, [3,0], westham, Time.utc('2012-08-25 12:45') ],
65
- [ astonvilla, [1,3], everton, Time.utc('2012-08-25 15:00') ],
66
- [ manunited, [3,2], fulham, Time.utc('2012-08-25 15:00') ],
67
- [ norwich, [1,1], qpr, Time.utc('2012-08-25 15:00') ],
68
- [ southampton, [0,2], wigan, Time.utc('2012-08-25 15:00') ],
69
- [ tottenham, [1,1], westbrom, Time.utc('2012-08-25 15:00') ],
70
- [ chelsea, [2,0], newcastle, Time.utc('2012-08-25 17:30') ],
71
- [ stoke, [0,0], arsenal, Time.utc('2012-08-26 13:30') ],
72
- [ liverpool, [2,2], mancity, Time.utc('2012-08-26 16:00') ],
73
- ]
74
-
75
- games03 = [
76
- [ chelsea, [4,2], reading, Time.utc('2012-08-22 19:45') ],
77
- [ westham, [3,0], fulham, Time.utc('2012-09-01 12:45') ],
78
- [ swansea, [2,2], sunderland, Time.utc('2012-09-01 15:00') ],
79
- [ tottenham, [1,1], norwich, Time.utc('2012-09-01 15:00') ],
80
- [ westbrom, [2,0], everton, Time.utc('2012-09-01 15:00') ],
81
- [ wigan, [2,2], stoke, Time.utc('2012-09-01 15:00') ],
82
- [ mancity, [3,1], qpr, Time.utc('2012-09-01 17:30') ],
83
- [ liverpool, [0,2], arsenal, Time.utc('2012-09-02 13:30') ],
84
- [ newcastle, [1,1], astonvilla, Time.utc('2012-09-02 16:00') ],
85
- [ southampton, [2,3], manunited, Time.utc('2012-09-02 16:00') ],
86
- ]
87
-
88
- games04 = [
89
- [ norwich, [0,0], westham, Time.utc('2012-09-15 12:45') ],
90
- [ arsenal, [6,1], southampton, Time.utc('2012-09-15 15:00') ],
91
- [ astonvilla, [2,0], swansea, Time.utc('2012-09-15 15:00') ],
92
- [ fulham, [3,0], westbrom, Time.utc('2012-09-15 15:00') ],
93
- [ manunited, [4,0], wigan, Time.utc('2012-09-15 15:00') ],
94
- [ qpr, [0,0], chelsea, Time.utc('2012-09-15 15:00') ],
95
- [ stoke, [1,1], mancity, Time.utc('2012-09-15 15:00') ],
96
- [ sunderland, [1,1], liverpool, Time.utc('2012-09-15 17:30') ],
97
- [ reading, [1,3], tottenham, Time.utc('2012-09-16 16:00') ],
98
- [ everton, [2,2], newcastle, Time.utc('2012-09-17 20:00') ],
99
- ]
100
-
101
- games05 = [
102
- [ swansea, [0,3], everton, Time.utc('2012-09-22 12:45') ],
103
- [ chelsea, [1,0], stoke, Time.utc('2012-09-22 15:00') ],
104
- [ southampton, [4,1], astonvilla, Time.utc('2012-09-22 15:00') ],
105
- [ westbrom, [1,0], reading, Time.utc('2012-09-22 15:00') ],
106
- [ westham, [1,1], sunderland, Time.utc('2012-09-22 15:00') ],
107
- [ wigan, [1,2], fulham, Time.utc('2012-09-22 15:00') ],
108
- [ liverpool, [1,2], manunited, Time.utc('2012-09-23 13:30') ],
109
- [ newcastle, [1,0], norwich, Time.utc('2012-09-23 15:00') ],
110
- [ mancity, [1,1], arsenal, Time.utc('2012-09-23 16:00') ],
111
- [ tottenham, [2,1], qpr, Time.utc('2012-09-23 16:00') ],
112
- ]
113
-
114
- games06 = [
115
- [ arsenal, [1,2], chelsea, Time.utc('2012-09-29 12:45') ],
116
- [ everton, [3,1], southampton, Time.utc('2012-09-29 15:00') ],
117
- [ fulham, [1,2], mancity, Time.utc('2012-09-29 15:00') ],
118
- [ norwich, [2,5], liverpool, Time.utc('2012-09-29 15:00') ],
119
- [ reading, [2,2], newcastle, Time.utc('2012-09-29 15:00') ],
120
- [ stoke, [2,0], swansea, Time.utc('2012-09-29 15:00') ],
121
- [ sunderland, [1,0], wigan, Time.utc('2012-09-29 15:00') ],
122
- [ manunited, [2,3], tottenham, Time.utc('2012-09-29 17:30') ],
123
- [ astonvilla, [1,1], westbrom, Time.utc('2012-09-30 16:00') ],
124
- [ qpr, [1,2], westham, Time.utc('2012-10-01 20:00') ],
125
- ]
126
-
127
- games07 = [
128
- [ mancity, [3,0], sunderland, Time.utc('2012-10-06 12:45') ],
129
- [ chelsea, [4,1], norwich, Time.utc('2012-10-06 15:00') ],
130
- [ swansea, [2,2], reading, Time.utc('2012-10-06 15:00') ],
131
- [ westbrom, [3,2], qpr, Time.utc('2012-10-06 15:00') ],
132
- [ wigan, [2,2], everton, Time.utc('2012-10-06 15:00') ],
133
- [ westham, [1,3], arsenal, Time.utc('2012-10-06 17:30') ],
134
- [ southampton, [2,2], fulham, Time.utc('2012-10-07 13:30') ],
135
- [ liverpool, [0,0], stoke, Time.utc('2012-10-07 15:00') ],
136
- [ tottenham, [2,0], astonvilla, Time.utc('2012-10-07 15:00') ],
137
- [ newcastle, [0,3], manunited, Time.utc('2012-10-07 16:00') ],
138
- ]
139
-
140
- games08 = [
141
- [ tottenham, [], chelsea, Time.utc('2012-10-20 12:45') ],
142
- [ fulham, [], astonvilla, Time.utc('2012-10-20 15:00') ],
143
- [ liverpool, [], reading, Time.utc('2012-10-20 15:00') ],
144
- [ manunited, [], stoke, Time.utc('2012-10-20 15:00') ],
145
- [ swansea, [], wigan, Time.utc('2012-10-20 15:00') ],
146
- [ westbrom, [], mancity, Time.utc('2012-10-20 15:00') ],
147
- [ westham, [], southampton, Time.utc('2012-10-20 15:00') ],
148
- [ norwich, [], arsenal, Time.utc('2012-10-20 17:30') ],
149
- [ sunderland, [], newcastle, Time.utc('2012-10-21 13:30') ],
150
- [ qpr, [], everton, Time.utc('2012-10-21 16:00') ],
151
- ]
152
-
153
- games09 = [
154
- [ everton, [], liverpool, Time.utc('2012-10-27 12:45') ],
155
- [ arsenal, [], qpr, Time.utc('2012-10-27 15:00') ],
156
- [ reading, [], fulham, Time.utc('2012-10-27 15:00') ],
157
- [ stoke, [], sunderland, Time.utc('2012-10-27 15:00') ],
158
- [ wigan, [], westham, Time.utc('2012-10-27 15:00') ],
159
- [ mancity, [], swansea, Time.utc('2012-10-27 17:30') ],
160
- [ astonvilla, [], norwich, Time.utc('2012-10-28 13:30') ],
161
- [ newcastle, [], westbrom, Time.utc('2012-10-28 15:00') ],
162
- [ southampton, [], tottenham, Time.utc('2012-10-28 15:00') ],
163
- [ chelsea, [], manunited, Time.utc('2012-10-28 16:00') ],
164
- ]
165
-
166
-
167
-
168
- Game.create_from_ary!( games01, r01 )
169
- Game.create_from_ary!( games02, r02 )
170
- Game.create_from_ary!( games03, r03 )
171
- Game.create_from_ary!( games04, r04 )
172
- Game.create_from_ary!( games05, r05 )
173
- Game.create_from_ary!( games06, r06 )
174
- Game.create_from_ary!( games07, r07 )
175
- Game.create_from_ary!( games08, r08 )
176
- Game.create_from_ary!( games09, r09 )
177
-
178
- Prop.create!( key: 'db.en.2012/13.fixtures.version', value: '1' )