sportdb 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +4 -6
- data/Rakefile +1 -1
- data/db/america/2011.rb +50 -0
- data/db/america/2011.txt +102 -0
- data/db/america/teams.rb +55 -0
- data/db/at/2011_12/bl.txt +40 -40
- data/db/at/2012_13/bl.txt +13 -13
- data/db/at/2012_13/cup.txt +30 -25
- data/db/at/teams.rb +10 -10
- data/db/cl/2012_13/cl.rb +16 -16
- data/db/cl/teams.rb +28 -45
- data/db/copa/sud_2012_13.txt +3 -3
- data/db/copa/teams.rb +23 -13
- data/db/de/2012_13/bl.txt +18 -18
- data/db/de/teams.rb +7 -7
- data/db/en/2012_13/pl.txt +21 -21
- data/db/en/teams.rb +4 -4
- data/db/es/teams.rb +17 -0
- data/db/leagues.rb +1 -0
- data/db/mx/apertura_2012.txt +72 -72
- data/db/mx/teams.rb +5 -5
- data/db/world/teams.rb +1 -39
- data/lib/sportdb.rb +107 -2
- data/lib/sportdb/cli/opts.rb +19 -0
- data/lib/sportdb/cli/runner.rb +49 -52
- data/lib/sportdb/models/team.rb +7 -3
- data/lib/sportdb/reader.rb +2 -2
- data/lib/sportdb/schema.rb +4 -15
- data/lib/sportdb/version.rb +1 -1
- metadata +12 -13
- data/db/at/2011_12/bl_fixtures.rb +0 -113
- data/db/at/2012_13/bl_fixtures.rb +0 -233
- data/db/at/2012_13/cup_fixtures.rb +0 -161
- data/db/de/2012_13/bl_fixtures.rb +0 -279
- data/db/en/2012_13/pl_fixtures.rb +0 -178
- data/db/world/quali_2012_13_europe_fixtures.rb +0 -119
data/db/at/teams.rb
CHANGED
@@ -15,14 +15,14 @@ bl = [
|
|
15
15
|
]
|
16
16
|
|
17
17
|
ersteliga = [
|
18
|
-
[ 'ksv', 'Kapfenberger SV 1919', 'Erste Liga/Stmk.', 'KSV', 'city:kapfenberg'],
|
18
|
+
[ 'ksv', 'Kapfenberger SV|Kapfenberger SV 1919|KSV 1919', 'Erste Liga/Stmk.', 'KSV', 'city:kapfenberg'],
|
19
19
|
[ 'altach', 'SCR Altach', 'Erste Liga/Vbg.', 'ALT', 'city:altach' ],
|
20
|
-
[ 'austrial', 'SC Austria Lustenau', 'Erste Liga/Vbg.', 'LUS', 'city:lustenau' ],
|
20
|
+
[ 'austrial', 'SC Austria Lustenau|Austria Lustenau', 'Erste Liga/Vbg.', 'LUS', 'city:lustenau' ],
|
21
21
|
[ 'stpoelten', 'SKN St. Pölten', 'Erste Liga/NÖ', 'POE', 'city:stpoelten' ],
|
22
|
-
[ 'linz', 'FC Blau-Weiß Linz', 'Erste Liga/OÖ', 'BWL', 'city:linz' ],
|
22
|
+
[ 'linz', 'FC Blau-Weiß Linz|FC Blau Weiss Linz', 'Erste Liga/OÖ', 'BWL', 'city:linz' ],
|
23
23
|
[ 'groedig', 'SV Grödig', 'Erste Liga/Sbg.', 'GRO', 'city:groedig' ],
|
24
24
|
[ 'lustenau', 'FC Lustenau 1907|FC Lustenau', 'Erste Liga/Vbg.', 'LUS', 'city:lustenau' ],
|
25
|
-
[ 'vienna', 'Vienna FC 1894', 'Erste Liga/Wien', 'VIE', 'city:wien' ],
|
25
|
+
[ 'vienna', 'Vienna FC 1894|First Vienna FC 1894', 'Erste Liga/Wien', 'VIE', 'city:wien' ],
|
26
26
|
[ 'hartberg', 'TSV Hartberg', 'Erste Liga/Stmk.', 'HAR', 'city:hartberg' ],
|
27
27
|
[ 'horn', 'SV Horn', 'Erste Liga/NÖ', 'HOR', 'city:horn' ]
|
28
28
|
]
|
@@ -30,7 +30,7 @@ ersteliga = [
|
|
30
30
|
rlwest = [
|
31
31
|
[ 'hard', 'FC Hard', 'Regionalliga West/Vbg.', 'HAR' ],
|
32
32
|
[ 'bregenz', 'SC Bregenz', 'Regionalliga West/Vbg.', 'BRE' ],
|
33
|
-
[ 'dornbirn', 'FC Dornbirn 1913', 'Regionalliga West/Vbg.', 'DOR' ],
|
33
|
+
[ 'dornbirn', 'FC Dornbirn 1913|FC Dornbirn', 'Regionalliga West/Vbg.', 'DOR' ],
|
34
34
|
[ 'kufstein', 'FC Kufstein', 'Regionalliga West/Tirol', 'KUF' ],
|
35
35
|
[ 'wattens', 'WSG Wattens', 'Regionalliga West/Tirol', 'WAT' ],
|
36
36
|
[ 'austrias', 'SV Austria Salzburg', 'Regionalliga West/Sbg.', 'AUS' ],
|
@@ -42,21 +42,21 @@ rlwest = [
|
|
42
42
|
rlmitte = [
|
43
43
|
[ 'vsv' , 'Villacher SV', 'Regionalliga Mitte/Ktn.', 'VSV' ],
|
44
44
|
[ 'klagenfurt', 'SAK Celovec/Klagenfurt', 'Regionalliga Mitte/Ktn.', 'CEL' ],
|
45
|
-
[ 'austriak', 'SK Austria Klagenfurt', 'Regionalliga Mitte/Ktn.', 'KLA' ],
|
45
|
+
[ 'austriak', 'SK Austria Klagenfurt|SG Austria Klagenfurt', 'Regionalliga Mitte/Ktn.', 'KLA' ],
|
46
46
|
[ 'kalsdorf', 'SC Kalsdorf', 'Regionalliga Mitte/Stmk.', 'KAL' ],
|
47
47
|
[ 'gratkorn', 'FC Gratkorn', 'Regionalliga Mitte/Stmk.', 'GRA' ],
|
48
|
-
[ 'allerheiligen', 'SV Allerheiligen', 'Regionalliga Mitte/Stmk.', 'ALL' ],
|
48
|
+
[ 'allerheiligen', 'SV Allerheiligen|USV Allerheiligen', 'Regionalliga Mitte/Stmk.', 'ALL' ],
|
49
49
|
[ 'leoben', 'DSV Leoben', 'Regionalliga Mitte/Stmk.', 'LEO' ],
|
50
50
|
[ 'gak', 'Grazer AK', 'Regionalliga Mitte/Stmk.', 'GAK' ],
|
51
51
|
[ 'pasching', 'FC Pasching', 'Regionalliga Mitte/OÖ', 'PAS' ],
|
52
52
|
[ 'voecklamarkt', 'Vöcklamarkt', 'Regionalliga Mitte/OÖ', 'VOE' ],
|
53
|
-
[ 'stflorian', 'St. Florian', 'Regionalliga Mitte/OÖ', 'STF' ],
|
53
|
+
[ 'stflorian', 'St. Florian|Union St. Florian', 'Regionalliga Mitte/OÖ', 'STF' ],
|
54
54
|
[ 'wallern', 'Wallern', 'Regionalliga Mitte/OÖ', 'WAL' ],
|
55
55
|
[ 'lask', 'LASK Linz', 'Regionalliga Mitte/OÖ', 'LAS' ]
|
56
56
|
]
|
57
57
|
|
58
58
|
rlost = [
|
59
|
-
[ 'sollenau', '1. SC Sollenau', 'Regionalliga Ost/OÖ', 'SOL' ],
|
59
|
+
[ 'sollenau', '1. SC Sollenau|SC Sollenau', 'Regionalliga Ost/OÖ', 'SOL' ],
|
60
60
|
[ 'amstetten', 'SKU Amstetten', 'Regionalliga Ost/NÖ', 'AMS' ],
|
61
61
|
[ 'retz', 'SV Retz', 'Regionalliga Ost/NÖ', 'RET' ],
|
62
62
|
[ 'fac' , 'FAC Team für Wien', 'Regionalliga Ost/Wien', 'FAC' ],
|
@@ -81,7 +81,7 @@ misc = [
|
|
81
81
|
[ 'ardagger', 'Ardagger SCU', 'Landesliga/NÖ', 'ARD' ],
|
82
82
|
[ 'rohrendorf', 'SC Rohrendorf', '2. Landesliga West/NÖ', 'ROH' ],
|
83
83
|
[ 'heiligenkreuz', 'SV Heiligenkreuz', '2. Liga Süd/NÖ', 'HEI' ],
|
84
|
-
[ 'viktoria', 'Wiener Viktoria', 'Wiener Stadtliga', 'VIK' ],
|
84
|
+
[ 'viktoria', 'Wiener Viktoria|SC Wiener Viktoria', 'Wiener Stadtliga', 'VIK' ],
|
85
85
|
[ 'juniors', 'FC RB Juniors Salzburg' ]
|
86
86
|
]
|
87
87
|
|
data/db/cl/2012_13/cl.rb
CHANGED
@@ -200,9 +200,9 @@ games_cla = [
|
|
200
200
|
[[ 2, porto, [1,0], paris, Time.cet('2012-10-03 20:45'), clr2 ],
|
201
201
|
[ 1, paris, [], porto, Time.cet('2012-12-04 20:45'), clr6 ]],
|
202
202
|
[[ 1, porto, [3,2], kiew, Time.cet('2012-10-24 20:45'), clr3 ],
|
203
|
-
[ 1, kiew, [], porto, Time.cet('2012-11-06 20:45'), clr4 ]],
|
203
|
+
[ 1, kiew, [0,0], porto, Time.cet('2012-11-06 20:45'), clr4 ]],
|
204
204
|
[[ 2, zagreb, [0,2], paris, Time.cet('2012-10-24 20:45'), clr3 ],
|
205
|
-
[ 2, paris, [], zagreb, Time.cet('2012-11-06 20:45'), clr4 ]]
|
205
|
+
[ 2, paris, [4,0], zagreb, Time.cet('2012-11-06 20:45'), clr4 ]]
|
206
206
|
]
|
207
207
|
|
208
208
|
games_clb = [
|
@@ -215,9 +215,9 @@ games_clb = [
|
|
215
215
|
[[ 4, schalke, [2,2], montpellier, Time.cet('2012-10-03 20:45'), clr2 ],
|
216
216
|
[ 4, montpellier, [], schalke, Time.cet('2012-12-04 20:45'), clr6 ]],
|
217
217
|
[[ 3, arsenal, [0,2], schalke, Time.cet('2012-10-24 20:45'), clr3 ],
|
218
|
-
[ 3, schalke, [], arsenal, Time.cet('2012-11-06 20:45'), clr4 ]],
|
218
|
+
[ 3, schalke, [2,2], arsenal, Time.cet('2012-11-06 20:45'), clr4 ]],
|
219
219
|
[[ 4, montpellier, [1,2], olympiacos, Time.cet('2012-10-24 20:45'), clr3 ],
|
220
|
-
[ 4, olympiacos, [], montpellier, Time.cet('2012-11-06 20:45'), clr4 ]]
|
220
|
+
[ 4, olympiacos, [3,1], montpellier, Time.cet('2012-11-06 20:45'), clr4 ]]
|
221
221
|
]
|
222
222
|
|
223
223
|
games_clc = [
|
@@ -230,9 +230,9 @@ games_clc = [
|
|
230
230
|
[[ 6, anderlecht, [0,3], malaga, Time.cet('2012-10-03 20:45'), clr2 ],
|
231
231
|
[ 6, malaga, [], anderlecht, Time.cet('2012-12-04 20:45'), clr6 ]],
|
232
232
|
[[ 5, zenit, [1,0], anderlecht, Time.cet('2012-10-24 18:00'), clr3 ],
|
233
|
-
[ 5, anderlecht, [], zenit, Time.cet('2012-11-06 20:45'), clr4 ]],
|
233
|
+
[ 5, anderlecht, [1,0], zenit, Time.cet('2012-11-06 20:45'), clr4 ]],
|
234
234
|
[[ 6, malaga, [1,0], milan, Time.cet('2012-10-24 20:45'), clr3 ],
|
235
|
-
[ 6, milan, [], malaga, Time.cet('2012-11-06 20:45'), clr4 ]]
|
235
|
+
[ 6, milan, [1,1], malaga, Time.cet('2012-11-06 20:45'), clr4 ]]
|
236
236
|
]
|
237
237
|
|
238
238
|
games_cld = [
|
@@ -245,9 +245,9 @@ games_cld = [
|
|
245
245
|
[[ 8, mancity, [1,1], dortmund, Time.cet('2012-10-03 20:45'), clr2 ],
|
246
246
|
[ 7, dortmund, [], mancity, Time.cet('2012-12-04 20:45'), clr6 ]],
|
247
247
|
[[ 7, dortmund, [2,1], madrid, Time.cet('2012-10-24 20:45'), clr3 ],
|
248
|
-
[ 8, madrid, [], dortmund, Time.cet('2012-11-06 20:45'), clr4 ]],
|
248
|
+
[ 8, madrid, [2,2], dortmund, Time.cet('2012-11-06 20:45'), clr4 ]],
|
249
249
|
[[ 8, ajax, [3,1], mancity, Time.cet('2012-10-24 20:45'), clr3 ],
|
250
|
-
[ 7, mancity, [], ajax, Time.cet('2012-11-06 20:45'), clr4 ]]
|
250
|
+
[ 7, mancity, [2,2], ajax, Time.cet('2012-11-06 20:45'), clr4 ]]
|
251
251
|
]
|
252
252
|
|
253
253
|
|
@@ -261,9 +261,9 @@ games_cle = [
|
|
261
261
|
[[ 10, juventus, [1,1], donezk, Time.cet('2012-10-02 20:45'), clr2 ],
|
262
262
|
[ 10, donezk, [], juventus, Time.cet('2012-12-05 20:45'), clr6 ]],
|
263
263
|
[[ 9, donezk, [2,1], chelsea, Time.cet('2012-10-23 20:45'), clr3 ],
|
264
|
-
[ 9, chelsea, [], donezk, Time.cet('2012-11-07 20:45'), clr4 ]],
|
264
|
+
[ 9, chelsea, [3,2], donezk, Time.cet('2012-11-07 20:45'), clr4 ]],
|
265
265
|
[[ 10, nordsjalland, [1,1], juventus, Time.cet('2012-10-23 20:45'), clr3 ],
|
266
|
-
[ 10, juventus, [], nordsjalland, Time.cet('2012-11-07 20:45'), clr4 ]]
|
266
|
+
[ 10, juventus, [4,0], nordsjalland, Time.cet('2012-11-07 20:45'), clr4 ]]
|
267
267
|
]
|
268
268
|
|
269
269
|
games_clf = [
|
@@ -276,9 +276,9 @@ games_clf = [
|
|
276
276
|
[[ 12, valencia, [2,0], lille, Time.cet('2012-10-02 20:45'), clr2 ],
|
277
277
|
[ 11, lille, [], valencia, Time.cet('2012-12-05 20:45'), clr6 ]],
|
278
278
|
[[ 11, lille, [0,1], bayern, Time.cet('2012-10-23 20:45'), clr3 ],
|
279
|
-
[ 11, bayern, [], lille, Time.cet('2012-11-07 20:45'), clr4 ]],
|
279
|
+
[ 11, bayern, [6,1], lille, Time.cet('2012-11-07 20:45'), clr4 ]],
|
280
280
|
[[ 12, borissow, [0,3], valencia, Time.cet('2012-10-23 20:45'), clr3 ],
|
281
|
-
[ 12, valencia, [], borissow, Time.cet('2012-11-07 20:45'), clr4 ]]
|
281
|
+
[ 12, valencia, [4,2], borissow, Time.cet('2012-11-07 20:45'), clr4 ]]
|
282
282
|
]
|
283
283
|
|
284
284
|
games_clg = [
|
@@ -291,9 +291,9 @@ games_clg = [
|
|
291
291
|
[[ 14, benfica, [0,2], barcelona, Time.cet('2012-10-02 20:45'), clr2 ],
|
292
292
|
[ 13, barcelona, [], benfica, Time.cet('2012-12-05 20:45'), clr6 ]],
|
293
293
|
[[ 13, spartak, [2,1], benfica, Time.cet('2012-10-23 18:00'), clr3 ],
|
294
|
-
[ 14, benfica, [], spartak, Time.cet('2012-11-07 20:45'), clr4 ]],
|
294
|
+
[ 14, benfica, [2,0], spartak, Time.cet('2012-11-07 20:45'), clr4 ]],
|
295
295
|
[[ 14, barcelona, [2,1], celtic, Time.cet('2012-10-23 20:45'), clr3 ],
|
296
|
-
[ 13, celtic, [], barcelona, Time.cet('2012-11-07 20:45'), clr4 ]]
|
296
|
+
[ 13, celtic, [2,1], barcelona, Time.cet('2012-11-07 20:45'), clr4 ]]
|
297
297
|
]
|
298
298
|
|
299
299
|
games_clh = [
|
@@ -306,9 +306,9 @@ games_clh = [
|
|
306
306
|
[[ 16, galatasaray, [0,2], braga, Time.cet('2012-10-02 20:45'), clr2 ],
|
307
307
|
[ 15, braga, [], galatasaray, Time.cet('2012-12-05 20:45'), clr6 ]],
|
308
308
|
[[ 15, manunited, [3,2], braga, Time.cet('2012-10-23 20:45'), clr3 ],
|
309
|
-
[ 15, braga, [], manunited, Time.cet('2012-11-07 20:45'), clr4 ]],
|
309
|
+
[ 15, braga, [1,3], manunited, Time.cet('2012-11-07 20:45'), clr4 ]],
|
310
310
|
[[ 16, galatasaray, [1,1], cluj, Time.cet('2012-10-23 20:45'), clr3 ],
|
311
|
-
[ 16, cluj, [], galatasaray, Time.cet('2012-11-07 20:45'), clr4 ]]
|
311
|
+
[ 16, cluj, [1,3], galatasaray, Time.cet('2012-11-07 20:45'), clr4 ]]
|
312
312
|
]
|
313
313
|
|
314
314
|
Game.create_pairs_from_ary_for_group!( games_cla, cla )
|
data/db/cl/teams.rb
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
de = Country.find_by_key!( 'de' )
|
4
|
-
at = Country.find_by_key!( 'at' )
|
5
|
-
es = Country.find_by_key!( 'es' )
|
6
3
|
fr = Country.find_by_key!( 'fr' )
|
7
|
-
en = Country.find_by_key!( 'en' )
|
8
4
|
pl = Country.find_by_key!( 'pl' )
|
9
5
|
gr = Country.find_by_key!( 'gr' )
|
10
6
|
ru = Country.find_by_key!( 'ru' )
|
@@ -24,61 +20,49 @@ ch = Country.find_by_key!( 'ch' )
|
|
24
20
|
cy = Country.find_by_key!( 'cy' )
|
25
21
|
|
26
22
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
## use de/teams.rb
|
34
|
-
## [ 'bayern', 'Bayern München', de ],
|
35
|
-
## [ 'schalke', 'FC Schalke 04', de ],
|
36
|
-
## [ 'dortmund', 'Borussia Dortmund', de ],
|
37
|
-
|
23
|
+
#### NB:
|
24
|
+
## use en/teams.rb for English Teams
|
25
|
+
## use es/teams.rb for Spanish Teams
|
26
|
+
## use de/teams.rb for German Teams
|
27
|
+
## use at/teams.rb for Austrian Teams
|
28
|
+
|
38
29
|
|
39
30
|
teams = [
|
40
|
-
[ '
|
41
|
-
[ '
|
42
|
-
[ '
|
43
|
-
[ 'barcelona', 'FC Barcelona|FC Barcelona ESP', es, 'city:barcelona' ],
|
44
|
-
[ 'atletico', 'Atlético Madrid', es, 'city:madrid' ],
|
45
|
-
[ 'athletic', 'Athletic Bilbao', es, 'city:bilbao' ],
|
46
|
-
|
47
|
-
[ 'porto', 'FC Porto|FC Porto POR', pt, 'city:porto' ],
|
48
|
-
[ 'benfica', 'Benfica Lissabon|Benfica Lis. POR', pt, 'city:lisboa' ],
|
49
|
-
[ 'braga', 'Sporting Braga|Sporting Braga POR', pt, 'city:braga' ],
|
31
|
+
[ 'porto', 'FC Porto', pt, 'city:porto' ],
|
32
|
+
[ 'benfica', 'Benfica Lissabon|Benfica Lis.', pt, 'city:lisboa' ],
|
33
|
+
[ 'braga', 'Sporting Braga', pt, 'city:braga' ],
|
50
34
|
[ 'sporting', 'Sporting Lisboa', pt, 'city:lisboa' ],
|
51
35
|
|
52
|
-
[ 'milan', 'AC Mailand|AC Milan
|
36
|
+
[ 'milan', 'AC Mailand|AC Milan', it, 'city:milano' ],
|
53
37
|
[ 'inter', 'FC Internazionale Milano', it, 'city:milano' ],
|
54
38
|
[ 'napoli', 'SSC Napoli', it, 'city:napoli' ],
|
55
|
-
[ 'juventus', 'Juventus Turin
|
39
|
+
[ 'juventus', 'Juventus Turin', it, 'city:turin' ],
|
56
40
|
|
57
|
-
[ 'paris', 'Paris St. Germain|Paris S.Germai
|
58
|
-
[ 'montpellier', 'HSC Montpellier|Montpellier
|
59
|
-
[ 'lille', 'OSC Lille|Lille OSC
|
41
|
+
[ 'paris', 'Paris St. Germain|Paris S.Germai|Paris Saint Germain', fr, 'city:paris' ],
|
42
|
+
[ 'montpellier', 'HSC Montpellier|Montpellier', fr, 'city:montpellier' ],
|
43
|
+
[ 'lille', 'OSC Lille|Lille OSC', fr, 'city:lille' ],
|
60
44
|
[ 'marseille', 'Olympique Marseille', fr, 'city:marseille' ],
|
61
45
|
|
62
|
-
[ 'kiew', 'Dynamo Kiew|FC Dynamo Kiew
|
63
|
-
[ 'donezk', 'Schachtjor Donezk|Shakhtar Don
|
46
|
+
[ 'kiew', 'Dynamo Kiew|FC Dynamo Kiew|Dynamo Kiev', ua, 'city:kiev' ],
|
47
|
+
[ 'donezk', 'Schachtjor Donezk|Shakhtar Don.|Shakhtar Donetsk', ua, 'city:donetsk' ],
|
64
48
|
[ 'metalist', 'FC Metalist Kharkiv', ua, 'city:kharkov' ],
|
65
49
|
|
66
|
-
[ 'zenit', 'Zenit St. Petersburg|Zenit Petersb
|
67
|
-
[ 'spartak', 'Spartak Moskau|Spartak
|
50
|
+
[ 'zenit', 'Zenit St. Petersburg|Zenit Petersb.|FC Zenit St Petersburg', ru, 'city:stpetersburg' ],
|
51
|
+
[ 'spartak', 'Spartak Moskau|Spartak Moscow', ru, 'city:moskva' ],
|
68
52
|
[ 'moskva', 'PFC CSKA Moskva', ru, 'city:moskva' ],
|
69
53
|
|
70
|
-
[ 'anderlecht', 'RSC Anderlecht
|
54
|
+
[ 'anderlecht', 'RSC Anderlecht', be, 'city:brussel' ],
|
71
55
|
|
72
|
-
[ 'ajax', 'Ajax Amsterdam
|
56
|
+
[ 'ajax', 'Ajax Amsterdam', nl, 'city:amsterdam' ],
|
73
57
|
[ 'az', 'AZ Alkmaar', nl, 'city:alkmaar' ],
|
74
58
|
|
75
|
-
[ 'zagreb', 'Dinamo Zagreb|
|
76
|
-
[ 'olympiacos', 'Olympiakos Piräus|Olympiakos P
|
77
|
-
[ 'nordsjalland', 'FC Nordsjælland|Nordsjaelland
|
78
|
-
[ 'borissow', 'BATE Borissow|Bate Borisov
|
79
|
-
[ 'celtic', 'Celtic Glasgow
|
80
|
-
[ 'galatasaray', 'Galatasaray|Galatasaray
|
81
|
-
[ 'cluj', 'CFR Cluj
|
59
|
+
[ 'zagreb', 'Dinamo Zagreb|NK Dinamo Zagreb', hr, 'city:zagreb' ],
|
60
|
+
[ 'olympiacos', 'Olympiakos Piräus|Olympiakos P.|Olympiakos Piraeus', gr, 'city:piraeus' ],
|
61
|
+
[ 'nordsjalland', 'FC Nordsjælland|Nordsjaelland|FC Nordsjaelland', dk, 'city:farum' ],
|
62
|
+
[ 'borissow', 'BATE Borissow|Bate Borisov', by, 'city:borisov' ],
|
63
|
+
[ 'celtic', 'Celtic Glasgow', sc, 'city:glasgow' ],
|
64
|
+
[ 'galatasaray', 'Galatasaray|Galatasaray Istanbul', tr, 'city:istanbul' ],
|
65
|
+
[ 'cluj', 'CFR Cluj', ro, 'city:cluj' ],
|
82
66
|
[ 'basel', 'FC Basel 1893', ch, 'city:basel' ],
|
83
67
|
[ 'apoel', 'APOEL Nikosia', cy, 'city:nikosia' ]
|
84
68
|
]
|
@@ -87,5 +71,4 @@ teams = [
|
|
87
71
|
Team.create_from_ary!( teams, club: true )
|
88
72
|
|
89
73
|
|
90
|
-
Prop.create!( key: 'db.cl.teams.version', value: '1' )
|
91
|
-
Prop.create!( key: 'db.el.teams.version', value: '1' )
|
74
|
+
Prop.create!( key: 'db.cl.teams.version', value: '1' )
|
data/db/copa/sud_2012_13.txt
CHANGED
@@ -39,10 +39,10 @@
|
|
39
39
|
|
40
40
|
4. Runde // Viertelfinale - Rückspiele
|
41
41
|
|
42
|
-
2012-11-07 12:00 CA Tigre
|
43
|
-
2012-11-07 12:00 São Paulo FC
|
42
|
+
2012-11-07 12:00 CA Tigre 4:2 Cerro Porteño
|
43
|
+
2012-11-07 12:00 São Paulo FC 5:0 U. de Chile
|
44
|
+
2012-11-07 12:00 Universidad Católica 2:1 Independiente
|
44
45
|
2012-11-07 12:00 Millonarios - Grêmio
|
45
|
-
2012-11-07 12:00 Universidad Católica - Independiente
|
46
46
|
|
47
47
|
|
48
48
|
|
data/db/copa/teams.rb
CHANGED
@@ -12,25 +12,35 @@ teams = [
|
|
12
12
|
['tigre', 'Club Atlético Tigre|CA Tigre|Tigre', ar ],
|
13
13
|
['colon', 'CA Colón|Club Atlético Colón (Santa Fe)', ar],
|
14
14
|
['independiente', 'Independiente|CA Independiente de Avellaneda', ar],
|
15
|
-
|
16
|
-
['
|
17
|
-
|
18
|
-
['
|
19
|
-
['
|
20
|
-
|
21
|
-
['
|
15
|
+
['bocajuniors', 'Club Atlético Boca Juniors|Boca Juniors', ar],
|
16
|
+
['velez', 'Club Atlético Vélez Sarsfield|CA Vélez', ar],
|
17
|
+
|
18
|
+
['saopaulo', 'São Paulo FC|São Paulo|Sao Paulo|FC Sao Paulo|Sao Paulo SP', br],
|
19
|
+
['gremio', 'Grêmio Porto Alegre|Grêmio|Gremio Porto Alegre|Gremio RS', br],
|
20
|
+
['palmeiras', 'SE Palmeiras São Paulo|SE Palmeiras|Palmeiras|Palmeiras SP', br],
|
21
|
+
['atleticogo', 'Atlético Goianiense|Atlético GO|Atletico GO', br],
|
22
|
+
['corinthians', 'Corinthians Sao Paulo|Corinthians|Corinthians SP', br],
|
23
|
+
['santos', 'FC Santos|Santos|Santos SP', br],
|
24
|
+
['internacional', 'Internacional Porto Alegre|Internacional|Internacional RS', br],
|
25
|
+
['fluminense', 'Fluminense Rio de Janeiro|Fluminense|Fluminense RJ', br],
|
26
|
+
['flamengo', 'Flamengo Rio de Janeiro|Flamengo|Flamengo RJ', br],
|
27
|
+
['vascodegama', 'Vasco da Gama Rio de Janeiro|Vasco|Vasco Da Gama RJ', br],
|
28
|
+
|
29
|
+
['udechile', 'Universidad de Chile|U. de Chile|Club Universidad de Chile', cl],
|
22
30
|
['cduc', 'Universidad Católica|CDUC|CD Universidad Católica', cl],
|
23
31
|
|
24
|
-
['millonarios', 'Millonarios Bogotá|Millonarios', co
|
32
|
+
['millonarios', 'Millonarios Bogotá|Millonarios|Millonarios FC', co],
|
33
|
+
['atleticonacional', 'Atlético Nacional', co],
|
25
34
|
|
26
35
|
['quito', 'Deportivo Quito|Club Deportivo Quito', ec],
|
27
|
-
['emelec', 'CS Emelec|Emelec', ec],
|
28
|
-
['loja', 'LDU Loja|LDU de Loja', ec],
|
29
|
-
['barcelonasc', 'Barcelona SC Guayaquil|Barcelona SC', ec],
|
36
|
+
['emelec', 'CS Emelec|Emelec|Club Sport Emelec', ec],
|
37
|
+
['loja', 'LDU Loja|LDU de Loja|Liga de Loja', ec],
|
38
|
+
['barcelonasc', 'Barcelona SC Guayaquil|Barcelona SC|Barcelona Guayaquil', ec],
|
30
39
|
|
31
|
-
['liverpoolfc', 'Liverpool FC Montevideo|Liverpool FC|Liverpool Fútbol Club', uy],
|
40
|
+
['liverpoolfc', 'Liverpool FC Montevideo|Liverpool FC|Liverpool Fútbol Club|Liverpool Montevideo', uy],
|
32
41
|
|
33
|
-
['porteno', 'Cerro Porteño|Club Cerro Porteño', py
|
42
|
+
['porteno', 'Cerro Porteño|Club Cerro Porteño', py],
|
43
|
+
['libertad', 'Club Libertad Asunción|Libertad|Libertad Ascuncion', py],
|
34
44
|
]
|
35
45
|
|
36
46
|
|
data/db/de/2012_13/bl.txt
CHANGED
@@ -120,27 +120,27 @@
|
|
120
120
|
|
121
121
|
10. Spieltag
|
122
122
|
|
123
|
-
02.11. 20:30 E. Frankfurt
|
124
|
-
03.11. 15:30 Hannover 96
|
125
|
-
03.11. 15:30 1. FC Nürnberg
|
126
|
-
03.11. 15:30 1899 Hoffenheim
|
127
|
-
03.11. 15:30 Bor. M'gladbach
|
128
|
-
03.11. 15:30 Bor. Dortmund
|
129
|
-
03.11. 18:30 Hamburger SV
|
130
|
-
04.11. 15:30 Bay. Leverkusen
|
131
|
-
04.11. 17:30 Werder Bremen
|
123
|
+
02.11. 20:30 E. Frankfurt 1:1 Greuther Fürth
|
124
|
+
03.11. 15:30 Hannover 96 2:0 FC Augsburg
|
125
|
+
03.11. 15:30 1. FC Nürnberg 1:0 VfL Wolfsburg
|
126
|
+
03.11. 15:30 1899 Hoffenheim 3:2 FC Schalke 04
|
127
|
+
03.11. 15:30 Bor. M'gladbach 1:1 SC Freiburg
|
128
|
+
03.11. 15:30 Bor. Dortmund 0:0 VfB Stuttgart
|
129
|
+
03.11. 18:30 Hamburger SV 0:3 Bayern München
|
130
|
+
04.11. 15:30 Bay. Leverkusen 3:2 F. Düsseldorf
|
131
|
+
04.11. 17:30 Werder Bremen 2:1 1. FSV Mainz 05
|
132
132
|
|
133
133
|
11. Spieltag
|
134
134
|
|
135
|
-
09.11. 20:30 1. FSV Mainz 05
|
136
|
-
10.11. 15:30 FC Schalke 04
|
137
|
-
10.11. 15:30 VfL Wolfsburg
|
138
|
-
10.11. 15:30 FC Augsburg
|
139
|
-
10.11. 15:30 SC Freiburg
|
140
|
-
10.11. 15:30 Bayern München
|
141
|
-
10.11. 15:30 F. Düsseldorf
|
142
|
-
11.11. 17:30 VfB Stuttgart
|
143
|
-
11.11. 17:30 Greuther Fürth
|
135
|
+
09.11. 20:30 1. FSV Mainz 05 2:1 1. FC Nürnberg
|
136
|
+
10.11. 15:30 FC Schalke 04 2:1 Werder Bremen
|
137
|
+
10.11. 15:30 VfL Wolfsburg 3:1 Bay. Leverkusen
|
138
|
+
10.11. 15:30 FC Augsburg 1:3 Bor. Dortmund
|
139
|
+
10.11. 15:30 SC Freiburg 0:0 Hamburger SV
|
140
|
+
10.11. 15:30 Bayern München 2:0 E. Frankfurt
|
141
|
+
10.11. 15:30 F. Düsseldorf 1:1 1899 Hoffenheim
|
142
|
+
11.11. 17:30 VfB Stuttgart 2:4 Hannover 96
|
143
|
+
11.11. 17:30 Greuther Fürth 2:4 Bor. M'gladbach
|
144
144
|
|
145
145
|
12. Spieltag
|
146
146
|
|
data/db/de/teams.rb
CHANGED
@@ -8,24 +8,24 @@
|
|
8
8
|
## nb: three letter codes (tags) taken from official bundesliga.de site
|
9
9
|
|
10
10
|
teams = [
|
11
|
-
[ 'bayern', 'FC Bayern München|Bayern München
|
12
|
-
[ 'schalke', 'FC Schalke 04
|
13
|
-
[ 'dortmund', 'Borussia Dortmund|Bor. Dortmund
|
11
|
+
[ 'bayern', 'FC Bayern München|Bayern München', 'FCB', 'city:muenchen' ],
|
12
|
+
[ 'schalke', 'FC Schalke 04', 'S04', 'city:gelsenkirchen' ],
|
13
|
+
[ 'dortmund', 'Borussia Dortmund|Bor. Dortmund', 'BVB', 'city:dortmund' ],
|
14
14
|
[ 'frankfurt', 'Eintracht Frankfurt|E. Frankfurt', 'FFM', 'city:frankfurt' ],
|
15
15
|
[ 'hannover', 'Hannover 96', 'H96', 'city:hannover' ],
|
16
16
|
[ 'leverkusen', 'Bayer 04 Leverkusen|Bay. Leverkusen', 'B04', 'city:leverkusen' ],
|
17
17
|
[ 'duesseldorf', 'Fortuna Düsseldorf|F. Düsseldorf', 'F95', 'city:duesseldorf' ],
|
18
18
|
[ 'hsv', 'Hamburger SV', 'HSV', 'city:hamburg' ],
|
19
|
-
[ 'mainz', '1. FSV Mainz 05', 'M05', 'city:mainz' ],
|
20
|
-
[ 'mgladbach', "Borussia M'gladbach|Bor. M'gladbach", 'BMG', 'city:mgladbach' ],
|
19
|
+
[ 'mainz', '1. FSV Mainz 05|FSV Mainz 05', 'M05', 'city:mainz' ],
|
20
|
+
[ 'mgladbach', "Borussia M'gladbach|Bor. M'gladbach|Borussia Mönchengladbach", 'BMG', 'city:mgladbach' ],
|
21
21
|
[ 'freiburg', 'SC Freiburg', 'SCF', 'city:freiburg' ],
|
22
22
|
[ 'bremen', 'Werder Bremen', 'BRE', 'city:bremen' ],
|
23
|
-
[ 'hoffenheim', '1899 Hoffenheim', 'HOF', 'city:hoffenheim' ],
|
23
|
+
[ 'hoffenheim', '1899 Hoffenheim|TSG 1899 Hoffenheim', 'HOF', 'city:hoffenheim' ],
|
24
24
|
[ 'nuernberg', '1. FC Nürnberg', 'FCN', 'city:nuernberg' ],
|
25
25
|
[ 'stuttgart', 'VfB Stuttgart', 'VFB', 'city:stuttgart' ],
|
26
26
|
[ 'augsburg', 'FC Augsburg', 'FCA', 'city:augsburg' ],
|
27
27
|
[ 'wolfsburg', 'VfL Wolfsburg', 'WOB', 'city:wolfsburg' ],
|
28
|
-
[ 'fuerth', 'Greuther Fürth',
|
28
|
+
[ 'fuerth', 'Greuther Fürth|SPVGG Greuther Fürth', 'SGF', 'city:fuerth' ]
|
29
29
|
]
|
30
30
|
|
31
31
|
de = Country.find_by_key!( 'de' )
|
data/db/en/2012_13/pl.txt
CHANGED
@@ -133,33 +133,33 @@ Spieltag 9
|
|
133
133
|
|
134
134
|
Spieltag 10
|
135
135
|
|
136
|
-
03.11. 13:45 (Sa) Manchester United - Arsenal FC
|
137
|
-
03.11. 16:00 (Sa) Fulham FC - Everton FC
|
138
|
-
03.11. 16:00 (Sa) Norwich City - Stoke City
|
139
|
-
03.11. 16:00 (Sa) Sunderland AFC - Aston Villa
|
140
|
-
03.11. 16:00 (Sa) Swansea City - Chelsea FC
|
141
|
-
03.11. 16:00 (Sa) Tottenham Hotspur - Wigan Athletic
|
142
|
-
03.11. 18:30 (Sa) West Ham United - Manchester City
|
136
|
+
03.11. 13:45 (Sa) Manchester United - Arsenal FC 2:1
|
137
|
+
03.11. 16:00 (Sa) Fulham FC - Everton FC 2:2
|
138
|
+
03.11. 16:00 (Sa) Norwich City - Stoke City 1:0
|
139
|
+
03.11. 16:00 (Sa) Sunderland AFC - Aston Villa 0:1
|
140
|
+
03.11. 16:00 (Sa) Swansea City - Chelsea FC 1:1
|
141
|
+
03.11. 16:00 (Sa) Tottenham Hotspur - Wigan Athletic 0:1
|
142
|
+
03.11. 18:30 (Sa) West Ham United - Manchester City 0:0
|
143
143
|
|
144
|
-
04.11. 14:30 (So) Queens Park Rangers - Reading FC
|
145
|
-
04.11. 17:00 (So) Liverpool FC - Newcastle United
|
144
|
+
04.11. 14:30 (So) Queens Park Rangers - Reading FC 1:1
|
145
|
+
04.11. 17:00 (So) Liverpool FC - Newcastle United 1:1
|
146
146
|
|
147
|
-
05.11. 21:00 (Mo) West Bromwich Albion - Southampton FC
|
147
|
+
05.11. 21:00 (Mo) West Bromwich Albion - Southampton FC 2:0
|
148
148
|
|
149
149
|
|
150
150
|
Spieltag 11
|
151
151
|
|
152
|
-
10.11. 16:00 (Sa) Arsenal FC - Fulham FC
|
153
|
-
10.11. 16:00 (Sa) Everton FC - Sunderland AFC
|
154
|
-
10.11. 16:00 (Sa) Reading FC - Norwich City
|
155
|
-
10.11. 16:00 (Sa) Southampton FC - Swansea City
|
156
|
-
10.11. 16:00 (Sa) Stoke City - Queens Park Rangers
|
157
|
-
10.11. 16:00 (Sa) Wigan Athletic - West Bromwich Albion
|
158
|
-
10.11. 18:30 (Sa) Aston Villa - Manchester United
|
159
|
-
|
160
|
-
11.11. 14:30 (So) Manchester City - Tottenham Hotspur
|
161
|
-
11.11. 16:00 (So) Newcastle United - West Ham United
|
162
|
-
11.11. 17:00 (So) Chelsea FC - Liverpool FC
|
152
|
+
10.11. 16:00 (Sa) Arsenal FC - Fulham FC 3:3
|
153
|
+
10.11. 16:00 (Sa) Everton FC - Sunderland AFC 2:1
|
154
|
+
10.11. 16:00 (Sa) Reading FC - Norwich City 0:0
|
155
|
+
10.11. 16:00 (Sa) Southampton FC - Swansea City 1:1
|
156
|
+
10.11. 16:00 (Sa) Stoke City - Queens Park Rangers 1:0
|
157
|
+
10.11. 16:00 (Sa) Wigan Athletic - West Bromwich Albion 1:2
|
158
|
+
10.11. 18:30 (Sa) Aston Villa - Manchester United 2:3
|
159
|
+
|
160
|
+
11.11. 14:30 (So) Manchester City - Tottenham Hotspur 2:1
|
161
|
+
11.11. 16:00 (So) Newcastle United - West Ham United 0:1
|
162
|
+
11.11. 17:00 (So) Chelsea FC - Liverpool FC 1:1
|
163
163
|
|
164
164
|
|
165
165
|
Spieltag 12
|