sportdb 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,119 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ####################################################################
4
- # generiert am 2012-10-28 16:08:22 +0100
5
- # using sportdb 0.4.3 on Ruby 1.9.3 (2012-02-16) [i686-linux]
6
- ####################################################################
7
-
8
-
9
- ###########################################
10
- # World Cup Quali. Europe 2012/13
11
-
12
-
13
-
14
- ev = Event.find_by_key!( 'wmq.euro' )
15
-
16
- ger = Team.find_by_key!( 'ger' )
17
- irl = Team.find_by_key!( 'irl' )
18
- swe = Team.find_by_key!( 'swe' )
19
- fro = Team.find_by_key!( 'fro' )
20
- kaz = Team.find_by_key!( 'kaz' )
21
- aut = Team.find_by_key!( 'aut' )
22
-
23
-
24
- r01 = Round.create!( event: ev, pos: 1, title: '1. Runde', start_at: Time.utc('2012-09-07 15:00'))
25
- r02 = Round.create!( event: ev, pos: 2, title: '2. Runde', start_at: Time.utc('2012-09-11 15:00'))
26
- r03 = Round.create!( event: ev, pos: 3, title: '3. Runde', start_at: Time.utc('2012-10-12 20:45'))
27
- r04 = Round.create!( event: ev, pos: 4, title: '4. Runde', start_at: Time.utc('2012-10-16 20:45'))
28
- r05 = Round.create!( event: ev, pos: 5, title: '5. Runde', start_at: Time.utc('2013-03-22 15:00'))
29
- r06 = Round.create!( event: ev, pos: 6, title: '6. Runde', start_at: Time.utc('2013-03-26 15:00'))
30
- r07 = Round.create!( event: ev, pos: 7, title: '7. Runde', start_at: Time.utc('2013-06-07 15:00'))
31
- r08 = Round.create!( event: ev, pos: 8, title: '8. Runde', start_at: Time.utc('2013-06-11 15:00'))
32
- r09 = Round.create!( event: ev, pos: 9, title: '9. Runde', start_at: Time.utc('2013-09-06 15:00'))
33
- r10 = Round.create!( event: ev, pos: 10, title: '10. Runde', start_at: Time.utc('2013-09-10 15:00'))
34
- r11 = Round.create!( event: ev, pos: 11, title: '11. Runde', start_at: Time.utc('2013-10-11 15:00'))
35
- r12 = Round.create!( event: ev, pos: 12, title: '12. Runde', start_at: Time.utc('2013-10-15 15:00'))
36
-
37
-
38
- games01 = [
39
- [ ger, [3,0], fro, Time.utc('2012-09-07 15:00') ],
40
- [ kaz, [1,2], irl, Time.utc('2012-09-07 15:00') ],
41
- ]
42
-
43
- games02 = [
44
- [ aut, [1,2], ger, Time.utc('2012-09-11 15:00') ],
45
- [ swe, [2,0], kaz, Time.utc('2012-09-11 15:00') ],
46
- ]
47
-
48
- games03 = [
49
- [ irl, [1,6], ger, Time.utc('2012-10-12 20:45') ],
50
- [ fro, [1,2], swe, Time.utc('2012-10-12 18:00') ],
51
- [ kaz, [0,0], aut, Time.utc('2012-10-12 18:00') ],
52
- ]
53
-
54
- games04 = [
55
- [ ger, [4,4], swe, Time.utc('2012-10-16 20:45') ],
56
- [ fro, [1,4], irl, Time.utc('2012-10-16 20:00') ],
57
- [ aut, [4,0], kaz, Time.utc('2012-10-16 20:30') ],
58
- ]
59
-
60
- games05 = [
61
- [ kaz, [], ger, Time.utc('2013-03-22 15:00') ],
62
- [ aut, [], fro, Time.utc('2013-03-22 15:00') ],
63
- [ swe, [], irl, Time.utc('2013-03-22 15:00') ],
64
- ]
65
-
66
- games06 = [
67
- [ ger, [], kaz, Time.utc('2013-03-26 15:00') ],
68
- [ irl, [], aut, Time.utc('2013-03-26 15:00') ],
69
- ]
70
-
71
- games07 = [
72
- [ irl, [], fro, Time.utc('2013-06-07 15:00') ],
73
- [ aut, [], swe, Time.utc('2013-06-07 15:00') ],
74
- ]
75
-
76
- games08 = [
77
- [ swe, [], fro, Time.utc('2013-06-11 15:00') ],
78
- ]
79
-
80
- games09 = [
81
- [ ger, [], aut, Time.utc('2013-09-06 15:00') ],
82
- [ kaz, [], fro, Time.utc('2013-09-06 15:00') ],
83
- [ irl, [], swe, Time.utc('2013-09-06 15:00') ],
84
- ]
85
-
86
- games10 = [
87
- [ fro, [], ger, Time.utc('2013-09-10 15:00') ],
88
- [ aut, [], irl, Time.utc('2013-09-10 15:00') ],
89
- [ kaz, [], swe, Time.utc('2013-09-10 15:00') ],
90
- ]
91
-
92
- games11 = [
93
- [ ger, [], irl, Time.utc('2013-10-11 15:00') ],
94
- [ fro, [], kaz, Time.utc('2013-10-11 15:00') ],
95
- [ swe, [], aut, Time.utc('2013-10-11 15:00') ],
96
- ]
97
-
98
- games12 = [
99
- [ swe, [], ger, Time.utc('2013-10-15 15:00') ],
100
- [ fro, [], aut, Time.utc('2013-10-15 15:00') ],
101
- [ irl, [], kaz, Time.utc('2013-10-15 15:00') ],
102
- ]
103
-
104
-
105
-
106
- Game.create_from_ary!( games01, r01 )
107
- Game.create_from_ary!( games02, r02 )
108
- Game.create_from_ary!( games03, r03 )
109
- Game.create_from_ary!( games04, r04 )
110
- Game.create_from_ary!( games05, r05 )
111
- Game.create_from_ary!( games06, r06 )
112
- Game.create_from_ary!( games07, r07 )
113
- Game.create_from_ary!( games08, r08 )
114
- Game.create_from_ary!( games09, r09 )
115
- Game.create_from_ary!( games10, r10 )
116
- Game.create_from_ary!( games11, r11 )
117
- Game.create_from_ary!( games12, r12 )
118
-
119
- Prop.create!( key: 'db.wmq.euro.fixtures.version', value: '1' )