sportdb 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,14 +63,14 @@ gak 0:6 wac 2012-09-26 20:20
63
63
 
64
64
  3. Runde / Achtelfinale - Di+Mi 30.+31. Okt 2012
65
65
 
66
- lask 7:6 mattersburg 2012-10-30 15:00
67
- rapid - altach 2012-10-30 15:00
68
- viktoria 0:1 ried 2012-10-30 15:00
69
- sturm 1:2 innsbruck 2012-10-30 15:00
70
- pasching 2:1 austriak 2012-10-30 15:00
71
- lustenau 1:2 wac 2012-10-30 15:00
72
- kalsdorf - salzburg 2012-10-30 15:00
73
- vsv - austria 2012-10-30 15:00
66
+ sturm 1:2 innsbruck 2012-10-30 18:00
67
+ lustenau 1:2 wac 2012-10-30 18:30
68
+ pasching 2:1 austriak 2012-10-30 19:00
69
+ lask 2:2 2:2nV 9:8iE mattersburg 2012-10-30 19:00
70
+ viktoria 0:1 ried 2012-10-30 20:30
71
+ kalsdorf 1:3 salzburg 2012-10-31 19:00
72
+ vsv 0:4 austria 2012-10-31 19:00
73
+ rapid 2:2 4:2nV altach 2012-10-31 19:30
74
74
 
75
75
 
76
76
  4. Runde / Viertelfinale - Di+Mi 16.+17. April 2013
data/db/cities.rb CHANGED
@@ -117,7 +117,7 @@ City.create_from_ary!( cities_gr, country: gr )
117
117
 
118
118
 
119
119
  cities_dk = [
120
- ['farum','farum'] ## region: North Zealand ??
120
+ ['farum','Farum'] ## region: North Zealand ??
121
121
  ]
122
122
 
123
123
  dk = Country.find_by_key!( 'dk' )
@@ -195,40 +195,68 @@ mx = Country.find_by_key!( 'mx' )
195
195
  City.create_from_ary!( cities_mx, country: mx )
196
196
 
197
197
 
198
+ regions_ca = [
199
+ ['on', 'Ontario'],
200
+ ['qc', 'Quebec'],
201
+ ['ns', 'Nova Scotia'],
202
+ ['nb', 'New Brunswick'],
203
+ ['mb', 'Manitoba'],
204
+ ['bc', 'British Columbia'],
205
+ ['pe', 'Prince Edward Island'],
206
+ ['sk', 'Saskatchewan'],
207
+ ['ab', 'Alberta'],
208
+ ['nl', 'Newfoundland and Labrador']
209
+ ]
210
+
198
211
  cities_ca = [
199
- ['montreal','Montreal'],
200
- ['ottawa','Ottawa'],
201
- ['toronto','Toronto'],
202
- ['winnipeg','Winnipeg'],
203
- ['calgary','Calgary'],
204
- ['edmonton','Edmonton'],
205
- ['vancouver','Vancouver']
212
+ ['montreal', 'Montreal', 'region:qc'],
213
+ ['ottawa', 'Ottawa', 'region:on'],
214
+ ['toronto', 'Toronto', 'region:on'],
215
+ ['winnipeg', 'Winnipeg', 'region:mb'],
216
+ ['calgary', 'Calgary', 'region:ab'],
217
+ ['edmonton', 'Edmonton', 'region:ab'],
218
+ ['vancouver', 'Vancouver', 'region:bc']
206
219
  ]
207
220
 
208
221
  ca = Country.find_by_key!( 'ca' )
222
+ Region.create_from_ary!( regions_ca, country: ca )
209
223
  City.create_from_ary!( cities_ca, country: ca )
210
224
 
211
225
 
226
+ regions_us = [
227
+ ['ca', 'California'],
228
+ ['ny', 'New York'],
229
+ ['ma', 'Massachusetts'],
230
+ ['pa', 'Pennsylvania'],
231
+ ['il', 'Illinois'],
232
+ ['oh', 'Ohio'],
233
+ ['mi', 'Michigan'],
234
+ ['tn', 'Tennessee'],
235
+ ['tx', 'Texas'],
236
+ ['az', 'Arizona']
237
+ ]
238
+
212
239
  cities_us = [
213
- ['newyork','New York'],
214
- ['philadelphia','Philadelphia'],
215
- ['pittsburgh','Pittsburgh'],
216
- ['boston','Boston'],
217
- ['buffalo','Buffalo'],
218
- ['washington','Washington'],
219
- ['chicago','Chicago'],
220
- ['columbus','Columbus'],
221
- ['detroit','Detroit'],
222
- ['nashville','Nashville'],
223
- ['stlouis','St. Louis'],
224
- ['dallas','Dallas'],
225
- ['losangeles','Los Angeles'],
226
- ['phoenix','phoenix'],
227
- ['sanjose','San Jose'],
228
- ['anaheim','Anaheim']
240
+ ['newyork', 'New York', 'region:ny'],
241
+ ['buffalo', 'Buffalo', 'region:ny'],
242
+ ['philadelphia', 'Philadelphia', 'region:pa'],
243
+ ['boston', 'Boston', 'region:ma'],
244
+ ['chicago', 'Chicago', 'region:il'],
245
+ ['columbus', 'Columbus', 'region:oh'],
246
+ ['detroit', 'Detroit', 'region:mi'],
247
+ ['nashville', 'Nashville', 'region:tn'],
248
+ ['dallas', 'Dallas', 'region:tx'],
249
+ ['phoenix', 'Phoenix', 'region:az'],
250
+ ['losangeles', 'Los Angeles', 'region:ca'],
251
+ ['sanjose', 'San Jose', 'region:ca'],
252
+ ['anaheim', 'Anaheim', 'region:ca'],
253
+ ['stlouis', 'St. Louis'],
254
+ ['pittsburgh', 'Pittsburgh'],
255
+ ['washington', 'Washington']
229
256
  ]
230
257
 
231
258
  us = Country.find_by_key!( 'us' )
259
+ Region.create_from_ary!( regions_us, country: us )
232
260
  City.create_from_ary!( cities_us, country: us )
233
261
 
234
262
 
data/db/de/cities.rb CHANGED
@@ -2,25 +2,47 @@
2
2
 
3
3
  de = Country.find_by_key!( 'de' )
4
4
 
5
+ regions_de = [
6
+ ['bw', 'Baden-Württemberg'],
7
+ ['by', 'Bayern'],
8
+ ['be', 'Berlin'],
9
+ ['bb', 'Brandenburg'],
10
+ ['hb', 'Bremen'],
11
+ ['hh', 'Hamburg'],
12
+ ['he', 'Hessen'],
13
+ ['mv', 'Mecklenburg-Vorpommern'],
14
+ ['ni', 'Niedersachsen'],
15
+ ['nw', 'Nordrhein-Westfalen'],
16
+ ['rp', 'Rheinland-Pfalz'],
17
+ ['sl', 'Saarland'],
18
+ ['sn', 'Sachsen'],
19
+ ['st', 'Sachsen-Anhalt'],
20
+ ['sh', 'Schleswig-Holstein'],
21
+ ['th', 'Thüringen']
22
+ ]
23
+
24
+ Region.create_from_ary!( regions_de, country: de )
25
+
26
+
5
27
  cities_de = [
6
- ['hoffenheim', 'Hoffenheim'],
7
- ['nuernberg', 'Nürnberg'],
8
- ['stuttgart', 'Stuttgart'],
9
- ['augsburg', 'Augsburg'],
10
- ['wolfsburg', 'Wolfsburg'],
11
- ['fuerth', 'Fürth'],
12
- ['muenchen', 'München'],
13
- ['gelsenkirchen', 'Gelsenkirchen'],
14
- ['dortmund', 'Dortmund'],
15
- ['frankfurt', 'Frankfurt'],
16
- ['hannover', 'Hannover'],
17
- ['leverkusen', 'Leverkusen'],
18
- ['duesseldorf', 'Düsseldorf'],
19
- ['hamburg', 'Hamburg'],
20
- ['mainz', 'Mainz'],
21
- ['mgladbach', "Mönchengladbach|M'gladbach" ],
22
- ['freiburg', 'Freiburg'],
23
- ['bremen', 'Bremen']
28
+ ['muenchen', 'München', 'region:by'],
29
+ ['nuernberg', 'Nürnberg', 'region:by'],
30
+ ['augsburg', 'Augsburg', 'region:by'],
31
+ ['fuerth', 'Fürth', 'region:by'],
32
+ ['stuttgart', 'Stuttgart', 'region:bw'],
33
+ ['hoffenheim', 'Hoffenheim', 'region:bw'],
34
+ ['freiburg', 'Freiburg', 'region:bw'],
35
+ ['hannover', 'Hannover', 'region:ni'],
36
+ ['wolfsburg', 'Wolfsburg', 'region:ni'],
37
+ ['gelsenkirchen', 'Gelsenkirchen', 'region:nw'],
38
+ ['dortmund', 'Dortmund', 'region:nw'],
39
+ ['leverkusen', 'Leverkusen', 'region:nw'],
40
+ ['duesseldorf', 'Düsseldorf', 'region:nw'],
41
+ ['mgladbach', "Mönchengladbach|M'gladbach", 'region:nw' ],
42
+ ['frankfurt', 'Frankfurt', 'region:he'],
43
+ ['mainz', 'Mainz', 'region:rp'],
44
+ ['hamburg', 'Hamburg', 'region:hh'],
45
+ ['bremen', 'Bremen', 'region:hb']
24
46
  ]
25
47
 
26
48
  City.create_from_ary!( cities_de, country: de )
data/db/leagues.rb CHANGED
@@ -6,8 +6,15 @@
6
6
  at = Country.find_by_key!( 'at' )
7
7
  de = Country.find_by_key!( 'de' )
8
8
  en = Country.find_by_key!( 'en' )
9
+ es = Country.find_by_key!( 'es' )
10
+ it = Country.find_by_key!( 'it' )
11
+ fr = Country.find_by_key!( 'fr' )
12
+ nl = Country.find_by_key!( 'nl' )
13
+ pt = Country.find_by_key!( 'pt' )
14
+ ru = Country.find_by_key!( 'ru' )
9
15
  ro = Country.find_by_key!( 'ro' )
10
16
  mx = Country.find_by_key!( 'mx' )
17
+ br = Country.find_by_key!( 'br' )
11
18
 
12
19
 
13
20
  leagues_club = [
@@ -15,8 +22,15 @@ leagues_club = [
15
22
  [ 'at.cup', 'ÖFB Cup', at ],
16
23
  [ 'de', 'Deutsche Bundesliga', de ],
17
24
  [ 'en', 'English Premier League', en ],
25
+ [ 'es', 'Primera División', es ],
26
+ [ 'it', 'Serie A', it ],
27
+ [ 'fr', 'Ligue 1', fr ],
28
+ [ 'nl', 'Eredivisie', nl ],
29
+ [ 'pt', 'SuperLiga', pt ],
30
+ [ 'ru', 'Premier Liga', ru ],
18
31
  [ 'ro', 'Romania Liga 1', ro ],
19
- [ 'mx.apertura', 'México Primera División Apertura', mx ]
32
+ [ 'mx.apertura', 'México Primera División Apertura', mx ],
33
+ [ 'br', 'Campeonato Brasileiro Série A', br ]
20
34
  ]
21
35
 
22
36
  League.create_from_ary!( leagues_club, club: true )
@@ -1,4 +1,4 @@
1
1
 
2
2
  module SportDB
3
- VERSION = '0.5.5'
3
+ VERSION = '0.5.6'
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 5
10
- version: 0.5.5
9
+ - 6
10
+ version: 0.5.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gerald Bauer