sportdb 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/db/at/teams.rb DELETED
@@ -1,93 +0,0 @@
1
- # encoding: utf-8
2
-
3
-
4
- bl = [
5
- [ 'salzburg', 'FC RB Salzburg|RB Salzburg|Red Bull Salzburg', 'RBS', 'city:salzburg' ],
6
- [ 'rapid', 'SK Rapid Wien|Rapid Wien', 'RAP', 'city:wien' ],
7
- [ 'admira', 'FC Admira Wacker|Admira Wacker|FC Admira Wacker Mödling', 'ADM', 'city:moedling' ],
8
- [ 'austria', 'FK Austria Wien|Austria Wien', 'FAK', 'city:wien' ],
9
- [ 'sturm', 'SK Sturm Graz|Sturm Graz', 'STU', 'city:graz' ],
10
- [ 'ried', 'SV Ried|SV Josko Ried|SV Josko Fenster Ried', 'RIE', 'city:ried' ],
11
- [ 'innsbruck', 'FC Wacker Innsbruck|FC Wacker|Wacker Innsbruck', 'IBK', 'city:innsbruck' ],
12
- [ 'mattersburg', 'SV Mattersburg', 'SVM', 'city:mattersburg' ],
13
- [ 'wrneustadt', 'SC Wiener Neustadt|Wiener Neustadt|Wr. Neustadt', 'WRN', 'city:wrneustadt' ],
14
- [ 'wac', 'Wolfsberger AC', 'WAC', 'city:wolfsberg' ]
15
- ]
16
-
17
- ersteliga = [
18
- [ 'ksv', 'Kapfenberger SV|Kapfenberger SV 1919|KSV 1919', 'Erste Liga/Stmk.', 'KSV', 'city:kapfenberg'],
19
- [ 'altach', 'SCR Altach', 'Erste Liga/Vbg.', 'ALT', 'city:altach' ],
20
- [ 'austrial', 'SC Austria Lustenau|Austria Lustenau', 'Erste Liga/Vbg.', 'LUS', 'city:lustenau' ],
21
- [ 'stpoelten', 'SKN St. Pölten', 'Erste Liga/NÖ', 'POE', 'city:stpoelten' ],
22
- [ 'linz', 'FC Blau-Weiß Linz|FC Blau Weiss Linz', 'Erste Liga/OÖ', 'BWL', 'city:linz' ],
23
- [ 'groedig', 'SV Grödig', 'Erste Liga/Sbg.', 'GRO', 'city:groedig' ],
24
- [ 'lustenau', 'FC Lustenau 1907|FC Lustenau', 'Erste Liga/Vbg.', 'LUS', 'city:lustenau' ],
25
- [ 'vienna', 'Vienna FC 1894|First Vienna FC 1894', 'Erste Liga/Wien', 'VIE', 'city:wien' ],
26
- [ 'hartberg', 'TSV Hartberg', 'Erste Liga/Stmk.', 'HAR', 'city:hartberg' ],
27
- [ 'horn', 'SV Horn', 'Erste Liga/NÖ', 'HOR', 'city:horn' ]
28
- ]
29
-
30
- rlwest = [
31
- [ 'hard', 'FC Hard', 'Regionalliga West/Vbg.', 'HAR' ],
32
- [ 'bregenz', 'SC Bregenz', 'Regionalliga West/Vbg.', 'BRE' ],
33
- [ 'dornbirn', 'FC Dornbirn 1913|FC Dornbirn', 'Regionalliga West/Vbg.', 'DOR' ],
34
- [ 'kufstein', 'FC Kufstein', 'Regionalliga West/Tirol', 'KUF' ],
35
- [ 'wattens', 'WSG Wattens', 'Regionalliga West/Tirol', 'WAT' ],
36
- [ 'austrias', 'SV Austria Salzburg', 'Regionalliga West/Sbg.', 'AUS' ],
37
- [ 'pinzgau', 'FC Pinzgau Saalfelden', 'Regionalliga West/Sbg.', 'PIN' ],
38
- [ 'stjohann', 'TSV St. Johann', 'Regionalliga West/Sbg.', 'STJ' ]
39
- ]
40
-
41
-
42
- rlmitte = [
43
- [ 'vsv' , 'Villacher SV', 'Regionalliga Mitte/Ktn.', 'VSV' ],
44
- [ 'klagenfurt', 'SAK Celovec/Klagenfurt', 'Regionalliga Mitte/Ktn.', 'CEL' ],
45
- [ 'austriak', 'SK Austria Klagenfurt|SG Austria Klagenfurt', 'Regionalliga Mitte/Ktn.', 'KLA' ],
46
- [ 'kalsdorf', 'SC Kalsdorf', 'Regionalliga Mitte/Stmk.', 'KAL' ],
47
- [ 'gratkorn', 'FC Gratkorn', 'Regionalliga Mitte/Stmk.', 'GRA' ],
48
- [ 'allerheiligen', 'SV Allerheiligen|USV Allerheiligen', 'Regionalliga Mitte/Stmk.', 'ALL' ],
49
- [ 'leoben', 'DSV Leoben', 'Regionalliga Mitte/Stmk.', 'LEO' ],
50
- [ 'gak', 'Grazer AK', 'Regionalliga Mitte/Stmk.', 'GAK' ],
51
- [ 'pasching', 'FC Pasching', 'Regionalliga Mitte/OÖ', 'PAS' ],
52
- [ 'voecklamarkt', 'Vöcklamarkt', 'Regionalliga Mitte/OÖ', 'VOE' ],
53
- [ 'stflorian', 'St. Florian|Union St. Florian', 'Regionalliga Mitte/OÖ', 'STF' ],
54
- [ 'wallern', 'Wallern', 'Regionalliga Mitte/OÖ', 'WAL' ],
55
- [ 'lask', 'LASK Linz', 'Regionalliga Mitte/OÖ', 'LAS' ]
56
- ]
57
-
58
- rlost = [
59
- [ 'sollenau', '1. SC Sollenau|SC Sollenau', 'Regionalliga Ost/OÖ', 'SOL' ],
60
- [ 'amstetten', 'SKU Amstetten', 'Regionalliga Ost/NÖ', 'AMS' ],
61
- [ 'retz', 'SV Retz', 'Regionalliga Ost/NÖ', 'RET' ],
62
- [ 'fac' , 'FAC Team für Wien', 'Regionalliga Ost/Wien', 'FAC' ],
63
- [ 'schwechat', 'SV Schwechat', 'Regionalliga Ost/Wien', 'SCH' ],
64
- [ 'wienersk', 'Wiener SK', 'Regionalliga Ost/Wien', 'WIE' ],
65
- [ 'ostbahn', 'SC Ostbahn XI', 'Regionalliga Ost/Wien', 'OST' ],
66
- [ 'oberwart', 'SV Oberwart', 'Regionalliga Ost/Bgld.', 'OBE' ],
67
- [ 'parndorf', 'SC/ESV Parndorf 1919', 'Regionalliga Ost/Bgld.', 'PAR' ],
68
- [ 'stegersbach', 'SV Stegersbach', 'Regionalliga Ost/Bgld.', 'STE' ]
69
- ]
70
-
71
- misc = [
72
- [ 'wolfurt', 'FC Wolfurt', 'Vorarlberg Liga', 'WOL' ],
73
- [ 'schwaz', 'SC Schwaz', 'Tirol Liga', 'SCH' ],
74
- [ 'reutte', 'SV Reutte', 'Tirol Liga', 'REU' ],
75
- [ 'spittal', 'SV Spittal/Drau', 'Kärntner Liga', 'SPI' ],
76
- [ 'sak', 'SAK 1914', 'Salzburger Liga', 'SAK' ],
77
- [ 'dsc', 'Deutschlandsberger SC', 'Landesliga/Stmk.', 'DSC' ],
78
- [ 'micheldorf', 'SV Micheldorf', 'OÖ Liga', 'MIC' ],
79
- [ 'badvoeslau', 'ASK Bad Vöslau', 'Landesliga/NÖ', 'VOE' ],
80
- [ 'gaflenz', 'SV Gaflenz', 'Landesliga/NÖ', 'GAF' ],
81
- [ 'ardagger', 'Ardagger SCU', 'Landesliga/NÖ', 'ARD' ],
82
- [ 'rohrendorf', 'SC Rohrendorf', '2. Landesliga West/NÖ', 'ROH' ],
83
- [ 'heiligenkreuz', 'SV Heiligenkreuz', '2. Liga Süd/NÖ', 'HEI' ],
84
- [ 'viktoria', 'Wiener Viktoria|SC Wiener Viktoria', 'Wiener Stadtliga', 'VIK' ],
85
- [ 'juniors', 'FC RB Juniors Salzburg' ]
86
- ]
87
-
88
- at = Country.find_by_key!( 'at' )
89
-
90
- Team.create_from_ary!( bl+ersteliga+rlwest+rlmitte+rlost+misc, club: true, country: at )
91
-
92
- ## The End
93
- #################
data/db/cl/teams.rb DELETED
@@ -1,74 +0,0 @@
1
- # encoding: utf-8
2
-
3
- fr = Country.find_by_key!( 'fr' )
4
- pl = Country.find_by_key!( 'pl' )
5
- gr = Country.find_by_key!( 'gr' )
6
- ru = Country.find_by_key!( 'ru' )
7
- cz = Country.find_by_key!( 'cz' )
8
- nl = Country.find_by_key!( 'nl' )
9
- dk = Country.find_by_key!( 'dk' )
10
- pt = Country.find_by_key!( 'pt' )
11
- it = Country.find_by_key!( 'it' )
12
- hr = Country.find_by_key!( 'hr' )
13
- ua = Country.find_by_key!( 'ua' )
14
- be = Country.find_by_key!( 'be' )
15
- by = Country.find_by_key!( 'by' )
16
- sc = Country.find_by_key!( 'sc' )
17
- ro = Country.find_by_key!( 'ro' )
18
- tr = Country.find_by_key!( 'tr' )
19
- ch = Country.find_by_key!( 'ch' )
20
- cy = Country.find_by_key!( 'cy' )
21
-
22
-
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
-
29
-
30
- teams = [
31
- [ 'porto', 'FC Porto', pt, 'city:porto' ],
32
- [ 'benfica', 'Benfica Lissabon|Benfica Lis.', pt, 'city:lisboa' ],
33
- [ 'braga', 'Sporting Braga', pt, 'city:braga' ],
34
- [ 'sporting', 'Sporting Lisboa', pt, 'city:lisboa' ],
35
-
36
- [ 'milan', 'AC Mailand|AC Milan', it, 'city:milano' ],
37
- [ 'inter', 'FC Internazionale Milano', it, 'city:milano' ],
38
- [ 'napoli', 'SSC Napoli', it, 'city:napoli' ],
39
- [ 'juventus', 'Juventus Turin', it, 'city:turin' ],
40
-
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' ],
44
- [ 'marseille', 'Olympique Marseille', fr, 'city:marseille' ],
45
-
46
- [ 'kiew', 'Dynamo Kiew|FC Dynamo Kiew|Dynamo Kiev', ua, 'city:kiev' ],
47
- [ 'donezk', 'Schachtjor Donezk|Shakhtar Don.|Shakhtar Donetsk', ua, 'city:donetsk' ],
48
- [ 'metalist', 'FC Metalist Kharkiv', ua, 'city:kharkov' ],
49
-
50
- [ 'zenit', 'Zenit St. Petersburg|Zenit Petersb.|FC Zenit St Petersburg', ru, 'city:stpetersburg' ],
51
- [ 'spartak', 'Spartak Moskau|Spartak Moscow', ru, 'city:moskva' ],
52
- [ 'moskva', 'PFC CSKA Moskva', ru, 'city:moskva' ],
53
-
54
- [ 'anderlecht', 'RSC Anderlecht', be, 'city:brussel' ],
55
-
56
- [ 'ajax', 'Ajax Amsterdam', nl, 'city:amsterdam' ],
57
- [ 'az', 'AZ Alkmaar', nl, 'city:alkmaar' ],
58
-
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' ],
66
- [ 'basel', 'FC Basel 1893', ch, 'city:basel' ],
67
- [ 'apoel', 'APOEL Nikosia', cy, 'city:nikosia' ]
68
- ]
69
-
70
-
71
- Team.create_from_ary!( teams, club: true )
72
-
73
- ## The End
74
- #################
data/db/copa/teams.rb DELETED
@@ -1,51 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ar = Country.find_by_key!( 'ar' )
4
- br = Country.find_by_key!( 'br' )
5
- cl = Country.find_by_key!( 'cl' )
6
- py = Country.find_by_key!( 'py' )
7
- uy = Country.find_by_key!( 'uy' )
8
- ec = Country.find_by_key!( 'ec' )
9
- co = Country.find_by_key!( 'co' )
10
-
11
- teams = [
12
- ['tigre', 'Club Atlético Tigre|CA Tigre|Tigre', ar ],
13
- ['colon', 'CA Colón|Club Atlético Colón (Santa Fe)', ar],
14
- ['independiente', 'Independiente|CA Independiente de Avellaneda', ar],
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|FC São Paulo|São Paulo SP', br],
19
- ['gremio', 'Grêmio Porto Alegre|Grêmio|Grêmio RS', br],
20
- ['palmeiras', 'SE Palmeiras São Paulo|SE Palmeiras|Palmeiras|Palmeiras SP', br],
21
- ['atleticogo', 'Atlético Goianiense|Atlético GO', br],
22
- ['corinthians', 'Corinthians São 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],
30
- ['cduc', 'Universidad Católica|CDUC|CD Universidad Católica', cl],
31
-
32
- ['millonarios', 'Millonarios Bogotá|Millonarios|Millonarios FC', co],
33
- ['atleticonacional', 'Atlético Nacional', co],
34
-
35
- ['quito', 'Deportivo Quito|Club Deportivo Quito', 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],
39
-
40
- ['liverpoolfc', 'Liverpool FC Montevideo|Liverpool FC|Liverpool Fútbol Club|Liverpool Montevideo', uy],
41
-
42
- ['porteno', 'Cerro Porteño|Club Cerro Porteño', py],
43
- ['libertad', 'Club Libertad Asunción|Libertad|Libertad Ascunción', py],
44
- ]
45
-
46
-
47
-
48
- Team.create_from_ary!( teams, club: true )
49
-
50
- ## The End
51
- #################
data/db/de/teams.rb DELETED
@@ -1,36 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ## fix/todo:
4
- ## bayern, schalke, etc. already defined in cl
5
- ## change create to create_or_update or similar (check for name convention in Rails?)
6
-
7
-
8
- ## nb: three letter codes (tags) taken from official bundesliga.de site
9
-
10
- teams = [
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
- [ 'frankfurt', 'Eintracht Frankfurt|E. Frankfurt', 'FFM', 'city:frankfurt' ],
15
- [ 'hannover', 'Hannover 96', 'H96', 'city:hannover' ],
16
- [ 'leverkusen', 'Bayer 04 Leverkusen|Bay. Leverkusen', 'B04', 'city:leverkusen' ],
17
- [ 'duesseldorf', 'Fortuna Düsseldorf|F. Düsseldorf', 'F95', 'city:duesseldorf' ],
18
- [ 'hsv', 'Hamburger SV', 'HSV', 'city:hamburg' ],
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
- [ 'freiburg', 'SC Freiburg', 'SCF', 'city:freiburg' ],
22
- [ 'bremen', 'Werder Bremen', 'BRE', 'city:bremen' ],
23
- [ 'hoffenheim', '1899 Hoffenheim|TSG 1899 Hoffenheim', 'HOF', 'city:hoffenheim' ],
24
- [ 'nuernberg', '1. FC Nürnberg', 'FCN', 'city:nuernberg' ],
25
- [ 'stuttgart', 'VfB Stuttgart', 'VFB', 'city:stuttgart' ],
26
- [ 'augsburg', 'FC Augsburg', 'FCA', 'city:augsburg' ],
27
- [ 'wolfsburg', 'VfL Wolfsburg', 'WOB', 'city:wolfsburg' ],
28
- [ 'fuerth', 'Greuther Fürth|SPVGG Greuther Fürth', 'SGF', 'city:fuerth' ]
29
- ]
30
-
31
- de = Country.find_by_key!( 'de' )
32
-
33
- Team.create_from_ary!( teams, club: true, country: de )
34
-
35
- ## The End
36
- #################
data/db/en/teams.rb DELETED
@@ -1,40 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ## fix/todo:
4
- ## chelsea, mancity, etc. already defined in cl
5
- ## change create to create_or_update or similar (check for name convention in Rails?)
6
-
7
- ## change manunited to manutd ??
8
-
9
-
10
- ## nb: three letter codes (tags) taken from official premierleague.com site
11
-
12
- teams = [
13
- [ 'chelsea', 'Chelsea|Chelsea FC|FC Chelsea', 'CHE', 'city:london' ],
14
- [ 'manunited', 'Manchester United|Man Utd|Manchester U.', 'MUN', 'city:manchester' ],
15
- [ 'mancity', 'Manchester City|Man City|Man. City', 'MCI', 'city:manchester' ],
16
- [ 'arsenal', 'Arsenal|Arsenal FC|FC Arsenal', 'ARS', 'city:london' ],
17
- [ 'everton', 'Everton|Everton FC|FC Everton', 'EVE', 'city:liverpool' ],
18
- [ 'tottenham', 'Tottenham Hotspur|Tottenham', 'TOT', 'city:london' ],
19
- [ 'westbrom', 'West Bromwich Albion|West Brom', 'WBA', 'city:westbrom' ],
20
- [ 'westham', 'West Ham United|West Ham', 'WHU', 'city:london' ],
21
- [ 'fulham', 'Fulham|Fulham FC|FC Fulham', 'FUL', 'city:london' ],
22
- [ 'newcastle', 'Newcastle United|Newcastle', 'NEW', 'city:newcastle' ],
23
- [ 'swansea', 'Swansea City|Swansea', 'SWA', 'city:swansea' ],
24
- [ 'stoke', 'Stoke City|Stoke', 'STK', 'city:stoke' ],
25
- [ 'sunderland', 'Sunderland|Sunderland AFC|AFC Sunderland', 'SUN', 'city:sunderland' ],
26
- [ 'liverpool', 'Liverpool|Liverpool FC|FC Liverpool', 'LIV', 'city:liverpool' ],
27
- [ 'wigan', 'Wigan Athletic|Wigan', 'WIG', 'city:wigan' ],
28
- [ 'astonvilla', 'Aston Villa', 'AVL', 'city:birmingham' ],
29
- [ 'southampton', 'Southampton|Southampton FC|FC Southampton', 'SOU', 'city:southampton' ],
30
- [ 'reading', 'Reading|Reading FC|FC Reading', 'RDG', 'city:reading' ],
31
- [ 'norwich', 'Norwich City|Norwich', 'NOR', 'city:norwich' ],
32
- [ 'qpr', 'Queens Park Rangers', 'QPR', 'city:london' ]]
33
-
34
-
35
- en = Country.find_by_key!( 'en' )
36
-
37
- Team.create_from_ary!( teams, club: true, country: en )
38
-
39
- ## The End
40
- #################
data/db/es/teams.rb DELETED
@@ -1,18 +0,0 @@
1
- # encoding: utf-8
2
-
3
-
4
- teams = [
5
- [ 'barcelona', 'FC Barcelona', 'city:barcelona' ],
6
- [ 'madrid', 'Real Madrid', 'city:madrid' ],
7
- [ 'atletico', 'Atlético Madrid', 'city:madrid' ],
8
- [ 'malaga', 'FC Málaga|Málaga CF|CF Málaga', 'city:malaga' ],
9
- [ 'valencia', 'FC Valencia|CF Valencia', 'city:valencia' ],
10
- [ 'athletic', 'Athletic Bilbao', 'city:bilbao' ]
11
- ]
12
-
13
- es = Country.find_by_key!( 'es' )
14
-
15
- Team.create_from_ary!( teams, club: true, country: es )
16
-
17
- ## The End
18
- #################
data/db/euro/teams.rb DELETED
@@ -1,78 +0,0 @@
1
- # encoding: utf-8
2
-
3
-
4
- pl = Country.find_by_key!( 'pl' )
5
- gr = Country.find_by_key!( 'gr' )
6
- ru = Country.find_by_key!( 'ru' )
7
- cz = Country.find_by_key!( 'cz' )
8
- nl = Country.find_by_key!( 'nl' )
9
- dk = Country.find_by_key!( 'dk' )
10
- de = Country.find_by_key!( 'de' )
11
- pt = Country.find_by_key!( 'pt' )
12
- es = Country.find_by_key!( 'es' )
13
- it = Country.find_by_key!( 'it' )
14
- ie = Country.find_by_key!( 'ie' )
15
- hr = Country.find_by_key!( 'hr' )
16
- ua = Country.find_by_key!( 'ua' )
17
- se = Country.find_by_key!( 'se' )
18
- fr = Country.find_by_key!( 'fr' )
19
- en = Country.find_by_key!( 'en' )
20
- fo = Country.find_by_key!( 'fo' )
21
- kz = Country.find_by_key!( 'kz' )
22
- at = Country.find_by_key!( 'at' )
23
- by = Country.find_by_key!( 'by' )
24
- fi = Country.find_by_key!( 'fi' )
25
- ge = Country.find_by_key!( 'ge' )
26
-
27
- ch = Country.find_by_key!( 'ch' )
28
- rs = Country.find_by_key!( 'rs' )
29
- si = Country.find_by_key!( 'si' )
30
- sk = Country.find_by_key!( 'sk' )
31
-
32
- tr = Country.find_by_key!( 'tr' )
33
- ro = Country.find_by_key!( 'ro' )
34
-
35
-
36
- teams = [
37
- [ 'pol', 'Polen|Poland', 'POL', pl ],
38
- [ 'gre', 'Griechenland|Greece', 'GRE', gr ],
39
- [ 'rus', 'Russland|Russia', 'RUS', ru ],
40
- [ 'cze', 'Tschechien|Czech Republic', 'CZE', cz ],
41
- [ 'ned', 'Niederlande|Netherlands', 'NED', nl ],
42
- [ 'den', 'Dänemark', 'DEN', dk ],
43
- [ 'ger', 'Deutschland|Germany', 'GER', de ],
44
- [ 'por', 'Portugal', 'POR', pt ],
45
- [ 'esp', 'Spanien|Spain', 'ESP', es ],
46
- [ 'ita', 'Italien|Italy', 'ITA', it ],
47
- [ 'irl', 'Irland', 'IRL', ie ],
48
- [ 'cro', 'Kroatien|Croatia', 'CRO', hr ],
49
- [ 'ukr', 'Ukraine', 'UKR', ua ],
50
- [ 'swe', 'Schweden|Sweden', 'SWE', se ],
51
- [ 'fra', 'Frankreich|France', 'FRA', fr ],
52
- [ 'eng', 'England', 'ENG', en ],
53
-
54
- ## some more teams for wm quali
55
-
56
- [ 'fro', 'Färöer|Färöer Inseln', 'FRO', fo ],
57
- [ 'kaz', 'Kasachstan', 'KAZ', kz ],
58
- [ 'aut', 'Österreich|Austria', 'AUT', at ],
59
- [ 'blr', 'Weißrussland', 'BLR', by ],
60
- [ 'fin', 'Finnland', 'FIN', fi ],
61
- [ 'geo', 'Georgien', 'GEO', ge ],
62
-
63
- ## some more teams for wm 2010
64
-
65
- [ 'sui', 'Schweiz|Switzerland', 'SUI', ch ],
66
- [ 'srb', 'Serbien', 'SRB', rs ],
67
- [ 'svn', 'Slowenien', 'SVN', si ],
68
- [ 'svk', 'Slowakei', 'SVK', sk ],
69
- [ 'tur', 'Türkei|Turkey', 'TUR', tr ],
70
- [ 'rou', 'Rumänien|Romania', 'ROU', ro ],
71
- ]
72
-
73
-
74
- Team.create_from_ary!( teams, national: true )
75
-
76
-
77
- ## The End
78
- #################
data/db/mx/teams.rb DELETED
@@ -1,29 +0,0 @@
1
- # encoding: utf-8
2
-
3
- teams = [
4
- [ 'america', 'Club América|America de Mexico', 'city:mexico' ],
5
- [ 'atlante', 'Atlante', 'city:cancun' ],
6
- [ 'atlas', 'Atlas', 'city:guadalajara' ],
7
- [ 'chivas', 'Guadalajara Chivas', 'city:guadalajara' ],
8
- [ 'cruzazul', 'Cruz Azul', 'city:mexico' ],
9
- [ 'jaguares', 'Jaguares de Chiapas', 'city:tuxtla' ],
10
- [ 'leon', 'Club León|Club Leon', 'city:leon' ],
11
- [ 'monarcas', 'Monarcas Morelia|Atletico Monarcas Morelia', 'city:morelia' ],
12
- [ 'monterrey', 'Monterrey|CF Monterrey ', 'city:monterrey' ],
13
- [ 'pachuca', 'Pachuca', 'city:pachuca' ],
14
- [ 'puebla', 'Puebla F.C. ', 'city:puebla' ],
15
- [ 'queretaro', 'Querétaro F.C.', 'city:queretaro' ],
16
- [ 'sanluis', 'Club San Luis', 'city:sanluispotosi' ],
17
- [ 'slaguna', 'Santos Laguna', 'city:torreon' ],
18
- [ 'tijuana', 'Club Tijuana', 'city:tijuana' ],
19
- [ 'toluca', 'Toluca|Deportivo Toluca', 'city:toluca' ],
20
- [ 'tigres', 'Tigres UANL', 'city:sannicolas' ],
21
- [ 'pumas', 'Pumas UNAM', 'city:mexico' ]
22
- ]
23
-
24
- mx = Country.find_by_key!( 'mx' )
25
-
26
- Team.create_from_ary!( teams, club: true, country: mx )
27
-
28
- ## The End
29
- #################
data/db/nhl/teams.rb DELETED
@@ -1,51 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ######################################
4
- ## NHL Teams 2012
5
-
6
- us = Country.find_by_key!( 'us' )
7
- ca = Country.find_by_key!( 'ca' )
8
-
9
-
10
- teams = [
11
- [ 'newjersey', 'New Jersey Devils', 'East/Atlantic', us ],
12
- [ 'nyislanders', 'New York Islanders', 'East/Atlantic', us, 'city:newyork' ],
13
- [ 'nyrangers', 'New York Rangers', 'East/Atlantic', us, 'city:newyork' ],
14
- [ 'philadelphia', 'Philadelphia Flyers', 'East/Atlantic', us, 'city:philadelphia' ],
15
- [ 'pittsburgh', 'Pittsburgh Penguins', 'East/Atlantic', us, 'city:pittsburgh' ],
16
-
17
- [ 'boston', 'Boston Bruis', 'East/Northeast', us, 'city:boston' ],
18
- [ 'buffalo', 'Buffalo Sabres', 'East/Northeast', us, 'city:buffalo' ],
19
- [ 'montreal', 'Montreal Canadiens', 'East/Northeast', ca, 'city:montreal' ],
20
- [ 'ottawa', 'Ottawa Senators', 'East/Northeast', ca, 'city:ottawa' ],
21
- [ 'toronto', 'Toronto Maple Leafs', 'East/Northeast', ca, 'city:toronto' ],
22
-
23
- [ 'carolina', 'Carolina Hurricanes', 'East/Southeast', us ],
24
- [ 'florida', 'Florida Panthers', 'East/Southeast', us ],
25
- [ 'tampabay', 'Tampa Bay Lightning', 'East/Southeast', us ],
26
- [ 'washington', 'Washington Capitals', 'East/Southeast', us, 'city:washington' ],
27
- [ 'winnipeg', 'Winnipeg Jets', 'East/Southeast', ca, 'city:winnipeg' ],
28
-
29
- [ 'chicago', 'Chicago Blackhawks', 'West/Central', us, 'city:chicago' ],
30
- [ 'columbus', 'Columbus Blue Jackets', 'West/Central', us, 'city:columbus' ],
31
- [ 'detroit', 'Detroit Red Wings', 'West/Central', us, 'city:detroit' ],
32
- [ 'nashville', 'Nashville Predators', 'West/Central', us, 'city:nashville' ],
33
- [ 'stlouis', 'St. Louis Blues', 'West/Central', us, 'city:stlouis' ],
34
-
35
- [ 'calgary', 'Calgary Flames', 'West/Northwest', ca, 'city:calgary' ],
36
- [ 'colorado', 'Colorado Avalanche', 'West/Northwest', us ],
37
- [ 'edmonton', 'Edmonton Oilers', 'West/Northwest', ca, 'city:edmonton' ],
38
- [ 'minnesota', 'Minnesota Wild', 'West/Northwest', us ],
39
- [ 'vancouver', 'Vancouver Canucks', 'West/Northwest', ca, 'city:vancouver' ],
40
-
41
- [ 'anaheim', 'Anaheim Ducks', 'West/Pacific', us, 'city:anaheim' ],
42
- [ 'dallas', 'Dallas Stars', 'West/Pacific', us, 'city:dallas' ],
43
- [ 'losangeles', 'Los Angeles Kings', 'West/Pacific', us, 'city:losangeles' ],
44
- [ 'phoenix', 'Phoenix Coyotes', ' West/Pacific', us, 'city:phoenix' ],
45
- [ 'sanjose', 'San Jose Sharks', ' West/Pacific', us, 'city:sanjose' ]
46
- ]
47
-
48
- Team.create_from_ary!( teams, club: true )
49
-
50
- ## The End
51
- #################