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/ro/teams.rb DELETED
@@ -1,32 +0,0 @@
1
- # encoding: utf-8
2
-
3
-
4
- l1 = [
5
- [ 'astra', 'Astra Ploiesti', 'AFC' ],
6
- [ 'ceahlau', 'Ceahlaul Piatra Neamt', 'FCC' ],
7
- [ 'cfr', 'CFR Cluj', 'CFR' ],
8
- [ 'chiajna', 'Concordia Chiajna', 'CCH' ],
9
- [ 'iasi', 'CSMS Iasi', 'CSI' ],
10
- [ 'dinamo', 'Dinamo Bucuresti', 'FCD' ],
11
- [ 'fcbrasov', 'FC Brasov', 'FCB' ],
12
- [ 'gazmetan_severin', 'FC Severin', 'FCS' ],
13
- [ 'vaslui', 'FC Vaslui', 'FCV' ],
14
- [ 'gazmetan_medias', 'Gaz Metan Medias', 'GMM' ],
15
- [ 'gloria_bistrita', 'Gloria Bistrita', 'GBS' ],
16
- [ 'otelul', 'Otelul Galati', 'OTG' ],
17
- [ 'pandurii', 'Pandurii Tg Jiu', 'PTJ' ],
18
- [ 'petrolul', 'Petrolul Ploiesti', 'PPL' ],
19
- ## fix: at/rapid!!!! already taken
20
- [ 'rapid', 'Rapid Bucuresti', 'RBU' ],
21
- [ 'steaua', 'Steaua Bucuresti', 'SBU' ],
22
- [ 'u_cluj', 'U Cluj', 'UCJ' ],
23
- [ 'viitorul_constanta', 'Viitorul Constanta', 'VCT' ]
24
- ]
25
-
26
- ro = Country.find_by_key!( 'ro' )
27
-
28
- Team.create_from_ary!( l1, club: true, country: ro )
29
-
30
-
31
- ## The End
32
- #################
data/db/world/teams.rb DELETED
@@ -1,52 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ########################
4
- ## africa
5
-
6
- dz = Country.find_by_key!( 'dz' )
7
- ci = Country.find_by_key!( 'ci' )
8
- gh = Country.find_by_key!( 'gh' )
9
- cm = Country.find_by_key!( 'cm' )
10
- ng = Country.find_by_key!( 'ng' )
11
- za = Country.find_by_key!( 'za' )
12
-
13
- teams_africa = [
14
- [ 'alg', 'Algerien', 'ALG', dz ],
15
- [ 'civ', 'Elfenbeinküste', 'CIV', ci ],
16
- [ 'gha', 'Ghana', 'GHA', gh ],
17
- [ 'cmr', 'Kamerun', 'CMR', cm ],
18
- [ 'nga', 'Nigeria', 'NGA', ng ],
19
- [ 'rsa', 'Südafrika', 'RSA', za ]
20
- ]
21
-
22
-
23
- #############################
24
- ## asia w/ australia
25
-
26
- au = Country.find_by_key!( 'au' )
27
- jp = Country.find_by_key!( 'jp' )
28
- kp = Country.find_by_key!( 'kp' )
29
- kr = Country.find_by_key!( 'kr' )
30
-
31
- teams_asia = [
32
- [ 'aus', 'Australien', 'AUS', au ],
33
- [ 'jpn', 'Japan', 'JPN', jp ],
34
- [ 'prk', 'Nordkorea', 'PRK', kp ],
35
- [ 'kor', 'Südkorea', 'KOR', kr ]
36
- ]
37
-
38
- ###############################
39
- ## oceania
40
-
41
- nz = Country.find_by_key!( 'nz' )
42
-
43
- teams_oceania = [
44
- [ 'nzl', 'Neuseeland', 'NZL', nz ]
45
- ]
46
-
47
- teams = teams_africa + teams_asia + teams_oceania
48
-
49
- Team.create_from_ary!( teams, national: true )
50
-
51
- ## The End
52
- #################