sportdb 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.markdown +5 -0
- data/Manifest.txt +19 -1
- data/Rakefile +14 -5
- data/db/at/2011_12/bl.rb +52 -53
- data/db/at/2011_12/cup.rb +14 -12
- data/db/at/2012_13/bl.rb +127 -125
- data/db/at/2012_13/cup.rb +66 -66
- data/db/at/teams.rb +3 -9
- data/db/cl/2011_12/cl.rb +11 -12
- data/db/cl/2011_12/el.rb +9 -9
- data/db/cl/2012_13/cl.rb +25 -25
- data/db/cl/teams.rb +80 -55
- data/db/countries.rb +70 -0
- data/db/de/2012_13/bl.rb +175 -0
- data/db/de/teams.rb +36 -0
- data/db/en/2012_13/pl.rb +9 -0
- data/db/en/teams.rb +40 -0
- data/db/euro/2012.rb +14 -14
- data/db/euro/teams.rb +52 -22
- data/db/mx/apertura_2012.rb +84 -84
- data/db/mx/teams.rb +4 -2
- data/db/nhl/teams.rb +50 -0
- data/db/ro/l1_2012_13.rb +134 -0
- data/db/ro/teams.rb +31 -0
- data/db/world/quali_2012_13.rb +17 -92
- data/db/world/quali_2012_13_c.rb +127 -0
- data/db/world/quali_2012_13_i.rb +114 -0
- data/lib/sportdb.rb +34 -10
- data/lib/sportdb/cli/runner.rb +12 -2
- data/lib/sportdb/loader.rb +6 -1
- data/lib/sportdb/models/country.rb +26 -0
- data/lib/sportdb/models/event.rb +19 -0
- data/lib/sportdb/models/event_team.rb +14 -0
- data/lib/sportdb/{models.rb → models/game.rb} +141 -215
- data/lib/sportdb/models/group.rb +18 -0
- data/lib/sportdb/models/group_team.rb +15 -0
- data/lib/sportdb/models/prop.rb +12 -0
- data/lib/sportdb/models/round.rb +15 -0
- data/lib/sportdb/models/team.rb +49 -0
- data/lib/sportdb/schema.rb +22 -5
- data/lib/sportdb/version.rb +1 -1
- metadata +67 -10
data/History.markdown
CHANGED
data/Manifest.txt
CHANGED
@@ -12,16 +12,34 @@ db/cl/2011_12/cl.rb
|
|
12
12
|
db/cl/2011_12/el.rb
|
13
13
|
db/cl/2012_13/cl.rb
|
14
14
|
db/cl/teams.rb
|
15
|
+
db/countries.rb
|
16
|
+
db/de/2012_13/bl.rb
|
17
|
+
db/de/teams.rb
|
18
|
+
db/en/2012_13/pl.rb
|
19
|
+
db/en/teams.rb
|
15
20
|
db/euro/2012.rb
|
16
21
|
db/euro/teams.rb
|
17
22
|
db/mx/apertura_2012.rb
|
18
23
|
db/mx/teams.rb
|
24
|
+
db/nhl/teams.rb
|
25
|
+
db/ro/l1_2012_13.rb
|
26
|
+
db/ro/teams.rb
|
19
27
|
db/world/quali_2012_13.rb
|
28
|
+
db/world/quali_2012_13_c.rb
|
29
|
+
db/world/quali_2012_13_i.rb
|
20
30
|
lib/sportdb.rb
|
21
31
|
lib/sportdb/cli/opts.rb
|
22
32
|
lib/sportdb/cli/runner.rb
|
23
33
|
lib/sportdb/loader.rb
|
24
|
-
lib/sportdb/models.rb
|
34
|
+
lib/sportdb/models/country.rb
|
35
|
+
lib/sportdb/models/event.rb
|
36
|
+
lib/sportdb/models/event_team.rb
|
37
|
+
lib/sportdb/models/game.rb
|
38
|
+
lib/sportdb/models/group.rb
|
39
|
+
lib/sportdb/models/group_team.rb
|
40
|
+
lib/sportdb/models/prop.rb
|
41
|
+
lib/sportdb/models/round.rb
|
42
|
+
lib/sportdb/models/team.rb
|
25
43
|
lib/sportdb/schema.rb
|
26
44
|
lib/sportdb/utils.rb
|
27
45
|
lib/sportdb/version.rb
|
data/Rakefile
CHANGED
@@ -17,9 +17,18 @@ Hoe.spec 'sportdb' do
|
|
17
17
|
self.readme_file = 'README.markdown'
|
18
18
|
self.history_file = 'History.markdown'
|
19
19
|
|
20
|
-
|
20
|
+
self.extra_deps = [
|
21
|
+
['activerecord', '>= 3.2.8'], # NB: will include activesupport,etc.
|
22
|
+
['sqlite3', '>= 1.3.6']
|
23
|
+
]
|
24
|
+
|
25
|
+
self.post_install_message =<<EOS
|
26
|
+
******************************************************************************
|
27
|
+
|
28
|
+
Questions? Comments? Send them along to the mailing list.
|
29
|
+
https://groups.google.com/group/opensport
|
21
30
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
31
|
+
******************************************************************************
|
32
|
+
EOS
|
33
|
+
|
34
|
+
end
|
data/db/at/2011_12/bl.rb
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
##
|
9
9
|
## more info => http://bundesliga.at
|
10
10
|
|
11
|
-
bl = Event.create!( :
|
12
|
-
:
|
13
|
-
:
|
11
|
+
bl = Event.create!( key: 'at.2011/12',
|
12
|
+
title: 'Österr. Bundesliga 2011/12',
|
13
|
+
start_at: Time.cet('2012-04-07 00:00') )
|
14
14
|
|
15
15
|
salzburg = Team.find_by_key!( 'salzburg' )
|
16
16
|
rapid = Team.find_by_key!( 'rapid' )
|
@@ -35,78 +35,78 @@ bl.teams << neustadt
|
|
35
35
|
bl.teams << ksv
|
36
36
|
|
37
37
|
|
38
|
-
bl29 = Round.create!( :
|
39
|
-
bl30 = Round.create!( :
|
40
|
-
bl31 = Round.create!( :
|
41
|
-
bl32 = Round.create!( :
|
42
|
-
bl33 = Round.create!( :
|
43
|
-
bl34 = Round.create!( :
|
44
|
-
bl35 = Round.create!( :
|
45
|
-
bl36 = Round.create!( :
|
38
|
+
bl29 = Round.create!( event: bl, pos: 29, title: '29. Runde', start_at: Time.cet('2012-04-07'), title2: 'Sa+So 7.+8. April 2012' )
|
39
|
+
bl30 = Round.create!( event: bl, pos: 30, title: '30. Runde', start_at: Time.cet('2012-04-14'), title2: 'Sa+So 14.+15. April 2012' )
|
40
|
+
bl31 = Round.create!( event: bl, pos: 31, title: '31. Runde', start_at: Time.cet('2012-04-21'), title2: 'Sa+So 21.+22. April 2012' )
|
41
|
+
bl32 = Round.create!( event: bl, pos: 32, title: '32. Runde', start_at: Time.cet('2012-04-28'), title2: 'Sa+So 28.+29. April 2012' )
|
42
|
+
bl33 = Round.create!( event: bl, pos: 33, title: '33. Runde', start_at: Time.cet('2012-05-05'), title2: 'Sa 5. Mai 2012' )
|
43
|
+
bl34 = Round.create!( event: bl, pos: 34, title: '34. Runde', start_at: Time.cet('2012-05-10'), title2: 'Do 10. Mai 2012' )
|
44
|
+
bl35 = Round.create!( event: bl, pos: 35, title: '35. Runde', start_at: Time.cet('2012-05-13'), title2: 'So 13. Mai 2012' )
|
45
|
+
bl36 = Round.create!( event: bl, pos: 36, title: '36. Runde', start_at: Time.cet('2012-05-17'), title2: 'Do 17. Mai 2012' )
|
46
46
|
|
47
47
|
|
48
48
|
games_bl29 = [
|
49
|
-
[
|
50
|
-
[
|
51
|
-
[
|
52
|
-
[
|
53
|
-
[
|
49
|
+
[ salzburg, [2, 0], wacker, Time.cet('2012-04-07 16:00') ],
|
50
|
+
[ ried, [0, 1], austria, Time.cet('2012-04-07 18:30') ],
|
51
|
+
[ ksv, [2, 3], admira, Time.cet('2012-04-07 18:30') ],
|
52
|
+
[ rapid, [2, 1], neustadt, Time.cet('2012-04-07 18:30') ],
|
53
|
+
[ mattersburg, [0, 2], sturm, Time.cet('2012-04-08 16:00') ]
|
54
54
|
]
|
55
55
|
|
56
56
|
games_bl30 = [
|
57
|
-
[
|
58
|
-
[
|
59
|
-
[
|
60
|
-
[
|
61
|
-
[
|
57
|
+
[ neustadt, [0, 0], ksv, Time.cet('2012-04-14 16:00') ],
|
58
|
+
[ admira, [1, 1], wacker, Time.cet('2012-04-14 18:30') ],
|
59
|
+
[ sturm, [2, 2], salzburg, Time.cet('2012-04-14 18:30') ],
|
60
|
+
[ ried, [2, 0], mattersburg, Time.cet('2012-04-14 18:30') ],
|
61
|
+
[ austria, [0, 0], rapid, Time.cet('2012-04-15 16:00') ]
|
62
62
|
]
|
63
63
|
|
64
64
|
games_bl31 = [
|
65
|
-
[
|
66
|
-
[
|
67
|
-
[
|
68
|
-
[
|
69
|
-
[
|
65
|
+
[ wacker, [2, 0], neustadt, Time.cet('2012-04-21 16:00') ],
|
66
|
+
[ ksv, [1, 0], austria, Time.cet('2012-04-21 18:30') ],
|
67
|
+
[ mattersburg, [1, 2], admira, Time.cet('2012-04-21 18:30') ],
|
68
|
+
[ salzburg, [2, 0], ried, Time.cet('2012-04-21 18:30') ],
|
69
|
+
[ rapid, [1, 1], sturm, Time.cet('2012-04-22 16:00') ]
|
70
70
|
]
|
71
71
|
|
72
72
|
games_bl32 = [
|
73
|
-
[
|
74
|
-
[
|
75
|
-
[
|
76
|
-
[
|
77
|
-
[
|
73
|
+
[ austria, [3, 0], wacker, Time.cet('2012-04-28 16:00') ],
|
74
|
+
[ neustadt, [1, 4], admira, Time.cet('2012-04-28 18:30') ],
|
75
|
+
[ mattersburg, [0, 1], salzburg, Time.cet('2012-04-28 18:30') ],
|
76
|
+
[ sturm, [2, 1], ksv, Time.cet('2012-04-28 18:30') ],
|
77
|
+
[ ried, [2, 3], rapid, Time.cet('2012-04-29 16:00') ]
|
78
78
|
]
|
79
79
|
|
80
80
|
games_bl33 = [
|
81
|
-
[
|
82
|
-
[
|
83
|
-
[
|
84
|
-
[
|
85
|
-
[
|
81
|
+
[ neustadt, [0, 0], sturm, Time.cet('2012-05-05 16:00') ],
|
82
|
+
[ admira, [3, 2], austria, Time.cet('2012-05-05 18:30') ],
|
83
|
+
[ ksv, [0, 0], ried, Time.cet('2012-05-05 18:30') ],
|
84
|
+
[ wacker, [3, 6], mattersburg, Time.cet('2012-05-05 18:30') ],
|
85
|
+
[ rapid, [0, 1], salzburg, Time.cet('2012-05-06 16:00') ]
|
86
86
|
]
|
87
87
|
|
88
88
|
games_bl34 = [
|
89
|
-
[
|
90
|
-
[
|
91
|
-
[
|
92
|
-
[
|
93
|
-
[
|
89
|
+
[ salzburg, [2, 0], ksv, Time.cet('2012-05-10 18:30') ],
|
90
|
+
[ austria, [3, 1], neustadt, Time.cet('2012-05-10 20:30') ],
|
91
|
+
[ ried, [1, 1], wacker, Time.cet('2012-05-10 20:30') ],
|
92
|
+
[ mattersburg, [0, 1], rapid, Time.cet('2012-05-10 20:30') ],
|
93
|
+
[ sturm, [0, 3], admira, Time.cet('2012-05-10 20:30') ]
|
94
94
|
]
|
95
95
|
|
96
96
|
games_bl35 = [
|
97
|
-
[
|
98
|
-
[
|
99
|
-
[
|
100
|
-
[
|
101
|
-
[
|
97
|
+
[ ksv, [0,2], rapid, Time.cet('2012-05-13 16:00') ],
|
98
|
+
[ wacker, [1,1], sturm, Time.cet('2012-05-13 16:00') ],
|
99
|
+
[ neustadt, [1,5], salzburg, Time.cet('2012-05-13 16:00') ],
|
100
|
+
[ admira, [1,1], ried, Time.cet('2012-05-13 16:00') ],
|
101
|
+
[ austria, [1,0], mattersburg, Time.cet('2012-05-13 16:00') ]
|
102
102
|
]
|
103
103
|
|
104
104
|
games_bl36 = [
|
105
|
-
[
|
106
|
-
[
|
107
|
-
[
|
108
|
-
[
|
109
|
-
[
|
105
|
+
[ rapid, [2,0], wacker, Time.cet('2012-05-17 16:00') ],
|
106
|
+
[ ried, [2,2], neustadt, Time.cet('2012-05-17 16:00') ],
|
107
|
+
[ mattersburg, [2,0], ksv, Time.cet('2012-05-17 16:00') ],
|
108
|
+
[ sturm, [3,1], austria, Time.cet('2012-05-17 16:00') ],
|
109
|
+
[ salzburg, [2,0], admira, Time.cet('2012-05-17 16:00') ]
|
110
110
|
]
|
111
111
|
|
112
112
|
Game.create_from_ary!( games_bl29, bl29 )
|
@@ -119,5 +119,4 @@ Game.create_from_ary!( games_bl35, bl35 )
|
|
119
119
|
Game.create_from_ary!( games_bl36, bl36 )
|
120
120
|
|
121
121
|
|
122
|
-
Prop.create!( :
|
123
|
-
|
122
|
+
Prop.create!( key: 'db.at.bl.2011/12.version', value: '1' )
|
data/db/at/2011_12/cup.rb
CHANGED
@@ -6,7 +6,9 @@
|
|
6
6
|
##################################
|
7
7
|
### ÖFB Cup 2011/12
|
8
8
|
|
9
|
-
ofb = Event.create!(
|
9
|
+
ofb = Event.create!( key: 'at.cup.2011/12',
|
10
|
+
title: 'ÖFB Cup 2011/12',
|
11
|
+
start_at: Time.cet( '2011-10-10 17:00' ) )
|
10
12
|
|
11
13
|
|
12
14
|
sturm = Team.find_by_key!( 'sturm' )
|
@@ -35,24 +37,24 @@ ofb.teams << juniors
|
|
35
37
|
ofb.teams << austrial
|
36
38
|
ofb.teams << austria
|
37
39
|
|
38
|
-
ofb8 = Round.create!( :
|
39
|
-
ofb4 = Round.create!( :
|
40
|
-
ofb1 = Round.create!( :
|
40
|
+
ofb8 = Round.create!( event: ofb, pos: 1, title: 'Viertelfinale', start_at: Time.cet( '2012-04-10' ), title2: 'Di+Mi 10.+11. April 2012' )
|
41
|
+
ofb4 = Round.create!( event: ofb, pos: 2, title: 'Halbfinale', start_at: Time.cet( '2012-05-01' ), title2: 'Di+Mi 1.+2. Mai 2012' )
|
42
|
+
ofb1 = Round.create!( event: ofb, pos: 3, title: 'Finale', start_at: Time.cet( '2012-05-20' ), title2: 'So 20. Mai 2012' )
|
41
43
|
|
42
44
|
games_ofb8 = [
|
43
|
-
[
|
44
|
-
[
|
45
|
-
[
|
46
|
-
[
|
45
|
+
[ groedig, [2, 3], ried, Time.cet('2012-04-10 18:00') ],
|
46
|
+
[ austrial, [1, 2], austria, Time.cet('2012-04-11 18:00') ],
|
47
|
+
[ sturm, [2, 2, 2, 4], hartberg, Time.cet('2012-04-11 19:00') ],
|
48
|
+
[ salzburg, [4, 1], juniors, Time.cet('2012-04-11 19:00') ]
|
47
49
|
]
|
48
50
|
|
49
51
|
games_ofb4 = [
|
50
|
-
[
|
51
|
-
[
|
52
|
+
[ hartberg, [0, 1], salzburg, Time.cet('2012-05-01 18:00') ],
|
53
|
+
[ ried, [2, 0], austria, Time.cet('2012-05-02 20:30') ]
|
52
54
|
]
|
53
55
|
|
54
56
|
games_ofb1 = [
|
55
|
-
[
|
57
|
+
[ salzburg, [3,0], ried, Time.cet('2012-05-20 16:00') ]
|
56
58
|
]
|
57
59
|
|
58
60
|
Game.create_knockouts_from_ary!( games_ofb8, ofb8 )
|
@@ -60,4 +62,4 @@ Game.create_knockouts_from_ary!( games_ofb4, ofb4 )
|
|
60
62
|
Game.create_knockouts_from_ary!( games_ofb1, ofb1 )
|
61
63
|
|
62
64
|
|
63
|
-
Prop.create!( :
|
65
|
+
Prop.create!( key: 'db.at.cup.2011/12.version', value: '1' )
|
data/db/at/2012_13/bl.rb
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
## more info => http://bundesliga.at
|
9
9
|
|
10
10
|
|
11
|
-
bl = Event.create!( :
|
12
|
-
:
|
13
|
-
:
|
11
|
+
bl = Event.create!( key: 'at_bl_2012_13',
|
12
|
+
title: 'Österr. Bundesliga 2012/13',
|
13
|
+
start_at: Time.cet('2012-07-21 00:00') )
|
14
14
|
|
15
15
|
salzburg = Team.find_by_key!( 'salzburg' )
|
16
16
|
rapid = Team.find_by_key!( 'rapid' )
|
@@ -36,186 +36,188 @@ bl.teams << neustadt
|
|
36
36
|
bl.teams << wac
|
37
37
|
|
38
38
|
|
39
|
-
bl01 = Round.create!( :
|
40
|
-
bl02 = Round.create!( :
|
41
|
-
bl03 = Round.create!( :
|
42
|
-
bl04 = Round.create!( :
|
43
|
-
bl05 = Round.create!( :
|
44
|
-
bl06 = Round.create!( :
|
45
|
-
bl07 = Round.create!( :
|
46
|
-
bl08 = Round.create!( :
|
47
|
-
bl09 = Round.create!( :
|
48
|
-
bl10 = Round.create!( :
|
49
|
-
bl11 = Round.create!( :
|
50
|
-
bl12 = Round.create!( :
|
51
|
-
bl13 = Round.create!( :
|
52
|
-
bl14 = Round.create!( :
|
53
|
-
bl15 = Round.create!( :
|
54
|
-
bl16 = Round.create!( :
|
55
|
-
bl17 = Round.create!( :
|
56
|
-
bl18 = Round.create!( :
|
57
|
-
bl19 = Round.create!( :
|
58
|
-
bl20 = Round.create!( :
|
59
|
-
|
39
|
+
bl01 = Round.create!( event: bl, pos: 1, title: '1. Runde', start_at: Time.cet('2012-07-21'), title2: 'Sa+So 21.+22. Jul 2012' )
|
40
|
+
bl02 = Round.create!( event: bl, pos: 2, title: '2. Runde', start_at: Time.cet('2012-07-28'), title2: 'Sa+So 28.+29. Jul 2012' )
|
41
|
+
bl03 = Round.create!( event: bl, pos: 3, title: '3. Runde', start_at: Time.cet('2012-08-04'), title2: 'Sa+So 4.+5. Aug 2012' )
|
42
|
+
bl04 = Round.create!( event: bl, pos: 4, title: '4. Runde', start_at: Time.cet('2012-08-11'), title2: 'Sa 11. Aug 2012' )
|
43
|
+
bl05 = Round.create!( event: bl, pos: 5, title: '5. Runde', start_at: Time.cet('2012-08-18'), title2: 'Sa 18. Aug 2012' )
|
44
|
+
bl06 = Round.create!( event: bl, pos: 6, title: '6. Runde', start_at: Time.cet('2012-08-25'), title2: 'Sa 25. Aug 2012' )
|
45
|
+
bl07 = Round.create!( event: bl, pos: 7, title: '7. Runde', start_at: Time.cet('2012-09-01'), title2: 'Sa 1. Sep 2012' )
|
46
|
+
bl08 = Round.create!( event: bl, pos: 8, title: '8. Runde', start_at: Time.cet('2012-09-15'), title2: 'Sa 15. Sep 2012' )
|
47
|
+
bl09 = Round.create!( event: bl, pos: 9, title: '9. Runde', start_at: Time.cet('2012-09-22'), title2: 'Sa 22. Sep 2012' )
|
48
|
+
bl10 = Round.create!( event: bl, pos: 10, title: '10. Runde', start_at: Time.cet('2012-09-29'), title2: 'Sa 29. Sep 2012' )
|
49
|
+
bl11 = Round.create!( event: bl, pos: 11, title: '11. Runde', start_at: Time.cet('2012-10-06'), title2: 'Sa 6. Okt 2012' )
|
50
|
+
bl12 = Round.create!( event: bl, pos: 12, title: '12. Runde', start_at: Time.cet('2012-10-20'), title2: 'Sa 20. Okt 2012' )
|
51
|
+
bl13 = Round.create!( event: bl, pos: 13, title: '13. Runde', start_at: Time.cet('2012-10-27'), title2: 'Sa 27. Okt 2012' )
|
52
|
+
bl14 = Round.create!( event: bl, pos: 14, title: '14. Runde', start_at: Time.cet('2012-11-03'), title2: 'Sa 3. Nov 2012' )
|
53
|
+
bl15 = Round.create!( event: bl, pos: 15, title: '15. Runde', start_at: Time.cet('2012-11-10'), title2: 'Sa 10. Nov 2012' )
|
54
|
+
bl16 = Round.create!( event: bl, pos: 16, title: '16. Runde', start_at: Time.cet('2012-11-17'), title2: 'Sa 17. Nov 2012' )
|
55
|
+
bl17 = Round.create!( event: bl, pos: 17, title: '17. Runde', start_at: Time.cet('2012-11-24'), title2: 'Sa 24. Nov 2012' )
|
56
|
+
bl18 = Round.create!( event: bl, pos: 18, title: '18. Runde', start_at: Time.cet('2012-12-01'), title2: 'Sa 1. Dez 2012' )
|
57
|
+
bl19 = Round.create!( event: bl, pos: 19, title: '19. Runde', start_at: Time.cet('2012-12-08'), title2: 'Sa 8. Dez 2012' )
|
58
|
+
bl20 = Round.create!( event: bl, pos: 20, title: '20. Runde', start_at: Time.cet('2012-12-15'), title2: 'Sa 15. Dez 2012' )
|
59
|
+
|
60
|
+
|
61
|
+
## todo: fix game dates - do not use 00:00
|
60
62
|
|
61
63
|
games_bl01 = [
|
62
|
-
[
|
63
|
-
[
|
64
|
-
[
|
65
|
-
[
|
66
|
-
[
|
64
|
+
[ sturm, [0,2], salzburg, Time.cet('2012-07-21 16:00') ],
|
65
|
+
[ rapid, [4,0], wacker, Time.cet('2012-07-21 18:30') ],
|
66
|
+
[ mattersburg, [2,0], neustadt, Time.cet('2012-07-21 18:30') ],
|
67
|
+
[ wac, [0,1], austria, Time.cet('2012-07-25 18:30') ], # NB: date changed
|
68
|
+
[ admira, [0,2], ried, Time.cet('2012-07-22 16:00') ]
|
67
69
|
]
|
68
70
|
|
69
71
|
games_bl02 = [
|
70
|
-
[
|
71
|
-
[
|
72
|
-
[
|
73
|
-
[
|
74
|
-
[
|
72
|
+
[ neustadt, [0,1], rapid, Time.cet('2012-07-28 18:30') ],
|
73
|
+
[ salzburg, [3,2], mattersburg, Time.cet('2012-07-28 18:30') ],
|
74
|
+
[ austria, [0,1], sturm, Time.cet('2012-07-28 18:30') ],
|
75
|
+
[ wacker, [1,2], admira, Time.cet('2012-07-29 16:00') ],
|
76
|
+
[ ried, [0,2], wac, Time.cet('2012-07-29 18:30') ]
|
75
77
|
]
|
76
78
|
|
77
79
|
games_bl03 = [
|
78
|
-
[
|
79
|
-
[
|
80
|
-
[
|
81
|
-
[
|
82
|
-
[
|
80
|
+
[ ried, [2,0], wacker, Time.cet('2012-08-04 18:30') ],
|
81
|
+
[ mattersburg, [3,1], sturm, Time.cet('2012-08-04 18:30') ],
|
82
|
+
[ wac, [0,2], salzburg, Time.cet('2012-08-04 18:30') ],
|
83
|
+
[ admira, [4,0], neustadt, Time.cet('2012-08-04 18:30') ],
|
84
|
+
[ rapid, [0,3], austria, Time.cet('2012-08-05 16:00') ]
|
83
85
|
]
|
84
86
|
|
85
87
|
games_bl04 = [
|
86
|
-
[
|
87
|
-
[
|
88
|
-
[
|
89
|
-
[
|
90
|
-
[
|
88
|
+
[ neustadt, [2,3], ried, Time.cet('2012-08-11 00:00') ],
|
89
|
+
[ sturm, [4,1], wac, Time.cet('2012-08-11 00:00') ],
|
90
|
+
[ salzburg, [0,2], rapid, Time.cet('2012-08-11 00:00') ],
|
91
|
+
[ austria, [1,0], admira, Time.cet('2012-08-11 00:00') ],
|
92
|
+
[ wacker, [2,1], mattersburg, Time.cet('2012-08-11 00:00') ]
|
91
93
|
]
|
92
94
|
|
93
95
|
games_bl05 = [
|
94
|
-
[
|
95
|
-
[
|
96
|
-
[
|
97
|
-
[
|
98
|
-
[
|
96
|
+
[ ried, [0,1], austria, Time.cet('2012-08-18 00:00') ],
|
97
|
+
[ rapid, [3,0], sturm, Time.cet('2012-08-18 00:00') ],
|
98
|
+
[ wacker, [2,3], neustadt, Time.cet('2012-08-18 00:00') ],
|
99
|
+
[ wac, [0,1], mattersburg, Time.cet('2012-08-18 00:00') ],
|
100
|
+
[ admira, [4,4], salzburg, Time.cet('2012-08-18 00:00') ]
|
99
101
|
]
|
100
102
|
|
101
103
|
games_bl06 = [
|
102
|
-
[
|
103
|
-
[
|
104
|
-
[
|
105
|
-
[
|
106
|
-
[
|
104
|
+
[ sturm, [3,2], admira, Time.cet('2012-08-25 00:00') ],
|
105
|
+
[ salzburg, [1,1], neustadt, Time.cet('2012-08-25 00:00') ],
|
106
|
+
[ austria, [2,0], wacker, Time.cet('2012-08-25 00:00') ],
|
107
|
+
[ mattersburg, [2,1], ried, Time.cet('2012-08-25 00:00') ],
|
108
|
+
[ wac, [1,0], rapid, Time.cet('2012-08-25 00:00') ]
|
107
109
|
]
|
108
110
|
|
109
111
|
games_bl07 = [
|
110
|
-
[
|
111
|
-
[
|
112
|
-
[
|
113
|
-
[
|
114
|
-
[
|
112
|
+
[ ried, [0,1], sturm, Time.cet('2012-09-01 00:00') ],
|
113
|
+
[ neustadt,[0,2], austria, Time.cet('2012-09-01 00:00') ],
|
114
|
+
[ rapid, [3,0], mattersburg, Time.cet('2012-09-01 00:00') ],
|
115
|
+
[ wacker, [0,4], salzburg, Time.cet('2012-09-01 00:00') ],
|
116
|
+
[ admira, [1,1], wac, Time.cet('2012-09-01 00:00') ]
|
115
117
|
]
|
116
118
|
|
117
119
|
games_bl08 = [
|
118
|
-
[
|
119
|
-
[
|
120
|
-
[
|
121
|
-
[
|
122
|
-
[
|
120
|
+
[ sturm, [3,0], wacker, Time.cet('2012-09-15 00:00') ],
|
121
|
+
[ salzburg, [1,1], ried, Time.cet('2012-09-15 00:00') ],
|
122
|
+
[ rapid, [0,0], admira, Time.cet('2012-09-15 00:00') ],
|
123
|
+
[ mattersburg, [2,4], austria, Time.cet('2012-09-15 00:00') ],
|
124
|
+
[ wac, [6,0], neustadt, Time.cet('2012-09-15 00:00') ]
|
123
125
|
]
|
124
126
|
|
125
127
|
games_bl09 = [
|
126
|
-
[
|
127
|
-
[
|
128
|
-
[
|
129
|
-
[
|
130
|
-
[
|
128
|
+
[ ried, [0,2], rapid, Time.cet('2012-09-22 00:00') ],
|
129
|
+
[ neustadt,[1,1], sturm, Time.cet('2012-09-22 00:00') ],
|
130
|
+
[ austria, [0,1], salzburg, Time.cet('2012-09-22 00:00') ],
|
131
|
+
[ wacker, [0,1], wac, Time.cet('2012-09-22 00:00') ],
|
132
|
+
[ admira, [5,1], mattersburg, Time.cet('2012-09-22 00:00') ]
|
131
133
|
]
|
132
134
|
|
133
135
|
games_bl10 = [
|
134
|
-
[
|
135
|
-
[
|
136
|
-
[
|
137
|
-
[
|
138
|
-
[
|
136
|
+
[ salzburg, [3,2], sturm, Time.cet('2012-09-29 00:00') ],
|
137
|
+
[ wacker, [0,2], rapid, Time.cet('2012-09-29 00:00') ],
|
138
|
+
[ neustadt, [0,0], mattersburg, Time.cet('2012-09-29 00:00') ],
|
139
|
+
[ austria, [1,1], wac, Time.cet('2012-09-29 00:00') ],
|
140
|
+
[ ried, [1,1], admira, Time.cet('2012-09-29 00:00') ]
|
139
141
|
]
|
140
142
|
|
141
143
|
games_bl11 = [
|
142
|
-
[
|
143
|
-
[
|
144
|
-
[
|
145
|
-
[
|
146
|
-
[
|
144
|
+
[ wac, [2,5], ried, Time.cet('2012-10-06 00:00') ],
|
145
|
+
[ rapid, [1,1], neustadt, Time.cet('2012-10-06 00:00') ],
|
146
|
+
[ mattersburg, [1,3], salzburg, Time.cet('2012-10-06 00:00') ],
|
147
|
+
[ sturm, [1,1], austria, Time.cet('2012-10-06 00:00') ],
|
148
|
+
[ admira, [4,1], wacker, Time.cet('2012-10-06 00:00') ]
|
147
149
|
]
|
148
150
|
|
149
151
|
games_bl12 = [
|
150
|
-
[
|
151
|
-
[
|
152
|
-
[
|
153
|
-
[
|
154
|
-
[
|
152
|
+
[ wacker, [], ried, Time.cet('2012-10-20 00:00') ],
|
153
|
+
[ austria, [], rapid, Time.cet('2012-10-20 00:00') ],
|
154
|
+
[ sturm, [], mattersburg, Time.cet('2012-10-20 00:00') ],
|
155
|
+
[ salzburg, [], wac, Time.cet('2012-10-20 00:00') ],
|
156
|
+
[ neustadt, [], admira, Time.cet('2012-10-20 00:00') ]
|
155
157
|
]
|
156
158
|
|
157
159
|
games_bl13 = [
|
158
|
-
[
|
159
|
-
[
|
160
|
-
[
|
161
|
-
[
|
162
|
-
[
|
160
|
+
[ ried, [], neustadt, Time.cet('2012-10-27 00:00') ],
|
161
|
+
[ wac, [], sturm, Time.cet('2012-10-27 00:00') ],
|
162
|
+
[ rapid, [], salzburg, Time.cet('2012-10-27 00:00') ],
|
163
|
+
[ admira, [], austria, Time.cet('2012-10-27 00:00') ],
|
164
|
+
[ mattersburg, [], wacker, Time.cet('2012-10-27 00:00') ]
|
163
165
|
]
|
164
166
|
|
165
167
|
games_bl14 = [
|
166
|
-
[
|
167
|
-
[
|
168
|
-
[
|
169
|
-
[
|
170
|
-
[
|
168
|
+
[ austria, [], ried, Time.cet('2012-11-03 00:00') ],
|
169
|
+
[ sturm, [], rapid, Time.cet('2012-11-03 00:00') ],
|
170
|
+
[ neustadt, [], wacker, Time.cet('2012-11-03 00:00') ],
|
171
|
+
[ mattersburg, [], wac, Time.cet('2012-11-03 00:00') ],
|
172
|
+
[ salzburg, [], admira, Time.cet('2012-11-03 00:00') ]
|
171
173
|
]
|
172
174
|
|
173
175
|
games_bl15 = [
|
174
|
-
[
|
175
|
-
[
|
176
|
-
[
|
177
|
-
[
|
178
|
-
[
|
176
|
+
[ admira, [], sturm, Time.cet('2012-11-10 00:00') ],
|
177
|
+
[ neustadt, [], salzburg, Time.cet('2012-11-10 00:00') ],
|
178
|
+
[ wacker, [], austria, Time.cet('2012-11-10 00:00') ],
|
179
|
+
[ ried, [], mattersburg, Time.cet('2012-11-10 00:00') ],
|
180
|
+
[ rapid, [], wac, Time.cet('2012-11-10 00:00') ]
|
179
181
|
]
|
180
182
|
|
181
183
|
games_bl16 = [
|
182
|
-
[
|
183
|
-
[
|
184
|
-
[
|
185
|
-
[
|
186
|
-
[
|
184
|
+
[ sturm, [], ried, Time.cet('2012-11-17 00:00') ],
|
185
|
+
[ austria, [], neustadt, Time.cet('2012-11-17 00:00') ],
|
186
|
+
[ mattersburg,[], rapid, Time.cet('2012-11-17 00:00') ],
|
187
|
+
[ salzburg, [], wacker, Time.cet('2012-11-17 00:00') ],
|
188
|
+
[ wac, [], admira, Time.cet('2012-11-17 00:00') ]
|
187
189
|
]
|
188
190
|
|
189
191
|
games_bl17 = [
|
190
|
-
[
|
191
|
-
[
|
192
|
-
[
|
193
|
-
[
|
194
|
-
[
|
192
|
+
[ wacker, [], sturm, Time.cet('2012-11-24 00:00') ],
|
193
|
+
[ ried, [], salzburg, Time.cet('2012-11-24 00:00') ],
|
194
|
+
[ admira, [], rapid, Time.cet('2012-11-24 00:00') ],
|
195
|
+
[ austria, [], mattersburg, Time.cet('2012-11-24 00:00') ],
|
196
|
+
[ neustadt, [], wac, Time.cet('2012-11-24 00:00') ]
|
195
197
|
]
|
196
198
|
|
197
199
|
games_bl18 = [
|
198
|
-
[
|
199
|
-
[
|
200
|
-
[
|
201
|
-
[
|
202
|
-
[
|
200
|
+
[ rapid, [], ried, Time.cet('2012-12-01 00:00') ],
|
201
|
+
[ sturm, [], neustadt, Time.cet('2012-12-01 00:00') ],
|
202
|
+
[ salzburg, [], austria, Time.cet('2012-12-01 00:00') ],
|
203
|
+
[ wac, [], wacker, Time.cet('2012-12-01 00:00') ],
|
204
|
+
[ mattersburg, [], admira, Time.cet('2012-12-01 00:00') ]
|
203
205
|
]
|
204
206
|
|
205
207
|
games_bl19 = [
|
206
|
-
[
|
207
|
-
[
|
208
|
-
[
|
209
|
-
[
|
210
|
-
[
|
208
|
+
[ sturm, [], salzburg, Time.cet('2012-12-08 00:00') ],
|
209
|
+
[ rapid, [], wacker, Time.cet('2012-12-08 00:00') ],
|
210
|
+
[ mattersburg, [], neustadt, Time.cet('2012-12-08 00:00') ],
|
211
|
+
[ wac, [], austria, Time.cet('2012-12-08 00:00') ],
|
212
|
+
[ admira, [], ried, Time.cet('2012-12-08 00:00') ]
|
211
213
|
]
|
212
214
|
|
213
215
|
games_bl20 = [
|
214
|
-
[
|
215
|
-
[
|
216
|
-
[
|
217
|
-
[
|
218
|
-
[
|
216
|
+
[ ried, [], wac, Time.cet('2012-12-15 00:00') ],
|
217
|
+
[ neustadt, [], rapid, Time.cet('2012-12-15 00:00') ],
|
218
|
+
[ salzburg, [], mattersburg, Time.cet('2012-12-15 00:00') ],
|
219
|
+
[ austria, [], sturm, Time.cet('2012-12-15 00:00') ],
|
220
|
+
[ wacker, [], admira, Time.cet('2012-12-15 00:00') ]
|
219
221
|
]
|
220
222
|
|
221
223
|
|
@@ -242,4 +244,4 @@ Game.create_from_ary!( games_bl19, bl19 )
|
|
242
244
|
Game.create_from_ary!( games_bl20, bl20 )
|
243
245
|
|
244
246
|
|
245
|
-
Prop.create!( :
|
247
|
+
Prop.create!( key: 'db.at.bl.2012/13.version', value: '1' )
|