sportdb-models 1.18.6 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Manifest.txt +0 -106
- data/Rakefile +0 -1
- data/lib/sportdb/deleter.rb +1 -1
- data/lib/sportdb/models.rb +3 -88
- data/lib/sportdb/version.rb +2 -2
- data/test/helper.rb +0 -108
- metadata +2 -122
- data/lib/sportdb/indexers/team.rb +0 -87
- data/lib/sportdb/matcher.rb +0 -31
- data/lib/sportdb/pretty_printer.rb +0 -175
- data/lib/sportdb/reader.rb +0 -132
- data/lib/sportdb/reader_file.rb +0 -131
- data/lib/sportdb/reader_zip.rb +0 -172
- data/lib/sportdb/readers/assoc.rb +0 -54
- data/lib/sportdb/readers/event.rb +0 -253
- data/lib/sportdb/readers/event_meta.rb +0 -133
- data/lib/sportdb/readers/event_table.rb +0 -196
- data/lib/sportdb/readers/game.rb +0 -912
- data/lib/sportdb/readers/ground.rb +0 -53
- data/lib/sportdb/readers/league.rb +0 -54
- data/lib/sportdb/readers/season.rb +0 -83
- data/lib/sportdb/readers/squad_club.rb +0 -201
- data/lib/sportdb/readers/squad_national_team.rb +0 -173
- data/lib/sportdb/readers/team.rb +0 -53
- data/lib/sportdb/rsssf_reader.rb +0 -367
- data/lib/sportdb/utils.rb +0 -89
- data/lib/sportdb/utils_date.rb +0 -26
- data/lib/sportdb/utils_goals.rb +0 -20
- data/lib/sportdb/utils_group.rb +0 -63
- data/lib/sportdb/utils_map.rb +0 -44
- data/lib/sportdb/utils_round.rb +0 -165
- data/lib/sportdb/utils_scores.rb +0 -17
- data/lib/sportdb/utils_teams.rb +0 -48
- data/test/data/at-austria/2013_14/bl.txt +0 -227
- data/test/data/at-austria/2013_14/bl.yml +0 -30
- data/test/data/at-austria/2013_14/bl_ii.txt +0 -154
- data/test/data/at-austria/2013_14/el.txt +0 -4
- data/test/data/at-austria/2013_14/el.yml +0 -25
- data/test/data/at-austria/2013_14/squads/austria.txt +0 -40
- data/test/data/at-austria/2013_14/squads/salzburg.txt +0 -35
- data/test/data/at-austria/2014_15/1-bundesliga-ii.txt +0 -158
- data/test/data/at-austria/2014_15/1-bundesliga.yml +0 -18
- data/test/data/at-austria/2015_16/1-bundesliga-v2.conf.txt +0 -20
- data/test/data/at-austria/2015_16/1-bundesliga-v2.yml +0 -20
- data/test/data/at-austria/2015_16/1-bundesliga.conf.txt +0 -20
- data/test/data/at-austria/2015_16/1-bundesliga.yml +0 -24
- data/test/data/at-austria/2015_16/cup.yml +0 -77
- data/test/data/at-austria/leagues.txt +0 -11
- data/test/data/at-austria/teams.txt +0 -68
- data/test/data/at-austria/teams_2.txt +0 -21
- data/test/data/csv/de-2013-14--1-bundesliga.txt +0 -307
- data/test/data/de-deutschland/2013-14/1-bundesliga.yml +0 -26
- data/test/data/de-deutschland/leagues.txt +0 -4
- data/test/data/de-deutschland/teams.txt +0 -53
- data/test/data/eng-england/2015-16/1-premierleague-v2.yml +0 -2
- data/test/data/eng-england/2015-16/1-premierleague.yml +0 -5
- data/test/data/national-teams/assocs.txt +0 -231
- data/test/data/national-teams/europe/assocs.txt +0 -13
- data/test/data/national-teams/europe/teams.txt +0 -13
- data/test/data/national-teams/north-america/assocs.txt +0 -10
- data/test/data/national-teams/north-america/teams.txt +0 -7
- data/test/data/national-teams/teams.txt +0 -19
- data/test/data/players/europe/at-austria/players.txt +0 -45
- data/test/data/players/europe/de-deutschland/players.txt +0 -41
- data/test/data/players/south-america/br-brazil/players.txt +0 -51
- data/test/data/rsssf/at-2014-15--1-bundesliga.txt +0 -339
- data/test/data/rsssf/at-2015-16--1-bundesliga.txt +0 -18
- data/test/data/world-cup/1930/cup.txt +0 -71
- data/test/data/world-cup/1930/cup.yml +0 -23
- data/test/data/world-cup/1930/cup_goals.txt +0 -47
- data/test/data/world-cup/1930/cup_goals.yml +0 -23
- data/test/data/world-cup/1954/cup.txt +0 -90
- data/test/data/world-cup/1954/cup.yml +0 -30
- data/test/data/world-cup/1962/cup.txt +0 -86
- data/test/data/world-cup/1962/cup.yml +0 -32
- data/test/data/world-cup/1974/cup.yml +0 -35
- data/test/data/world-cup/1974/cup_finals.txt +0 -14
- data/test/data/world-cup/1974/cup_i.txt +0 -55
- data/test/data/world-cup/1974/cup_ii.txt +0 -34
- data/test/data/world-cup/2014/cup.txt +0 -5
- data/test/data/world-cup/2014/cup.yml +0 -54
- data/test/data/world-cup/2014/squads/br-brazil.txt +0 -46
- data/test/data/world-cup/2014/squads/de-deutschland.txt +0 -8
- data/test/data/world-cup/2014/squads/jp-japan.txt +0 -30
- data/test/data/world-cup/2014/squads/uy-uruguay.txt +0 -32
- data/test/data/world-cup/leagues.txt +0 -5
- data/test/data/world-cup/seasons_1930.txt +0 -4
- data/test/data/world-cup/seasons_1954.txt +0 -4
- data/test/data/world-cup/seasons_1962.txt +0 -4
- data/test/data/world-cup/seasons_1974.txt +0 -5
- data/test/data/world-cup/teams_1930.txt +0 -26
- data/test/data/world-cup/teams_1954.txt +0 -30
- data/test/data/world-cup/teams_1962.txt +0 -29
- data/test/data/world-cup/teams_1974.txt +0 -29
- data/test/test_assoc_reader.rb +0 -199
- data/test/test_event_meta_reader.rb +0 -47
- data/test/test_event_reader.rb +0 -64
- data/test/test_event_table_reader.rb +0 -57
- data/test/test_goals.rb +0 -107
- data/test/test_indexer_team.rb +0 -34
- data/test/test_load.rb +0 -61
- data/test/test_pp.rb +0 -35
- data/test/test_reader.rb +0 -88
- data/test/test_reader_from_string.rb +0 -63
- data/test/test_round_auto.rb +0 -370
- data/test/test_round_def.rb +0 -109
- data/test/test_round_header.rb +0 -183
- data/test/test_rsssf_reader.rb +0 -76
- data/test/test_squad_club_reader.rb +0 -76
- data/test/test_squad_national_team_reader.rb +0 -116
- data/test/test_standings.rb +0 -279
- data/test/test_standings_ii.rb +0 -46
- data/test/test_utils.rb +0 -124
data/lib/sportdb/utils_date.rb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module SportDb
|
4
|
-
module FixtureHelpers
|
5
|
-
|
6
|
-
def is_postponed?( line )
|
7
|
-
# check if line include postponed marker e.g. =>
|
8
|
-
line =~ /=>/
|
9
|
-
end
|
10
|
-
|
11
|
-
|
12
|
-
def find_date!( line, opts={} )
|
13
|
-
## NB: lets us pass in start_at/end_at date (for event)
|
14
|
-
# for auto-complete year
|
15
|
-
|
16
|
-
# extract date from line
|
17
|
-
# and return it
|
18
|
-
# NB: side effect - removes date from line string
|
19
|
-
|
20
|
-
finder = DateFinder.new
|
21
|
-
finder.find!( line, opts )
|
22
|
-
end
|
23
|
-
|
24
|
-
end # module FixtureHelpers
|
25
|
-
end # module SportDb
|
26
|
-
|
data/lib/sportdb/utils_goals.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module SportDb
|
4
|
-
module FixtureHelpers
|
5
|
-
|
6
|
-
def is_goals?( line )
|
7
|
-
# check if is goals line
|
8
|
-
# e.g. looks like
|
9
|
-
# Neymar 29', 71' (pen.) Oscar 90+1'; Marcelo 11' (o.g.)
|
10
|
-
# check for
|
11
|
-
# <space>90' or
|
12
|
-
# <space>90+1'
|
13
|
-
|
14
|
-
line =~ /[ ](\d{1,3}\+)?\d{1,3}'/
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
|
-
end # module FixtureHelpers
|
19
|
-
end # module SportDb
|
20
|
-
|
data/lib/sportdb/utils_group.rb
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module SportDb
|
4
|
-
module FixtureHelpers
|
5
|
-
|
6
|
-
def is_group_def?( line )
|
7
|
-
# NB: check after is_round? (round may contain group reference!)
|
8
|
-
## must include bar (|) marker (make required)
|
9
|
-
line =~ /\|/ && is_group?( line )
|
10
|
-
end
|
11
|
-
|
12
|
-
def is_group?( line )
|
13
|
-
# NB: check after is_round? (round may contain group reference!)
|
14
|
-
## note: =~ return nil if not match found, and 0,1, etc for match
|
15
|
-
(line =~ SportDb.lang.regex_group) != nil
|
16
|
-
end
|
17
|
-
|
18
|
-
def find_group_title_and_pos!( line )
|
19
|
-
## group pos - for now support single digit e.g 1,2,3 or letter e.g. A,B,C or HEX
|
20
|
-
## nb: (?:) = is for non-capturing group(ing)
|
21
|
-
|
22
|
-
## fix:
|
23
|
-
## get Group|Gruppe|Grupo from lang!!!! do NOT hardcode in place
|
24
|
-
|
25
|
-
## todo:
|
26
|
-
## check if Group A: or [Group A] works e.g. : or ] get matched by \b ???
|
27
|
-
regex = /(?:Group|Gruppe|Grupo)\s+((?:\d{1}|[A-Z]{1,3}))\b/
|
28
|
-
|
29
|
-
match = regex.match( line )
|
30
|
-
|
31
|
-
return [nil,nil] if match.nil?
|
32
|
-
|
33
|
-
pos = case match[1]
|
34
|
-
when 'A' then 1
|
35
|
-
when 'B' then 2
|
36
|
-
when 'C' then 3
|
37
|
-
when 'D' then 4
|
38
|
-
when 'E' then 5
|
39
|
-
when 'F' then 6
|
40
|
-
when 'G' then 7
|
41
|
-
when 'H' then 8
|
42
|
-
when 'I' then 9
|
43
|
-
when 'J' then 10
|
44
|
-
when 'K' then 11
|
45
|
-
when 'L' then 12
|
46
|
-
when 'HEX' then 666 # HEX for Hexagonal - todo/check: map to something else ??
|
47
|
-
else match[1].to_i
|
48
|
-
end
|
49
|
-
|
50
|
-
title = match[0]
|
51
|
-
|
52
|
-
logger.debug " title: >#{title}<"
|
53
|
-
logger.debug " pos: >#{pos}<"
|
54
|
-
|
55
|
-
line.sub!( regex, '[GROUP.TITLE+POS]' )
|
56
|
-
|
57
|
-
return [title,pos]
|
58
|
-
end
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
end # module FixtureHelpers
|
63
|
-
end # module SportDb
|
data/lib/sportdb/utils_map.rb
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module SportDb
|
4
|
-
module FixtureHelpers
|
5
|
-
|
6
|
-
|
7
|
-
def find_ground!( line )
|
8
|
-
TextUtils.find_key_for!( 'ground', line )
|
9
|
-
end
|
10
|
-
|
11
|
-
## todo/fix: pass in known_grounds as a parameter? why? why not?
|
12
|
-
### todo/fix:
|
13
|
-
## remove =nil in para - make param required w/o fallback
|
14
|
-
|
15
|
-
def map_ground!( line, known_grounds=nil )
|
16
|
-
if known_grounds.nil?
|
17
|
-
puts "depreciated API call map_ground! (pass in mapping table as 2nd param)"
|
18
|
-
known_grounds = @known_grounds
|
19
|
-
end
|
20
|
-
|
21
|
-
TextUtils.map_titles_for!( 'ground', line, known_grounds )
|
22
|
-
end
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
def find_person!( line )
|
27
|
-
TextUtils.find_key_for!( 'person', line )
|
28
|
-
end
|
29
|
-
|
30
|
-
### todo/fix:
|
31
|
-
## remove =nil in para - make param required w/o fallback
|
32
|
-
def map_person!( line, known_persons=nil )
|
33
|
-
if known_persons.nil?
|
34
|
-
puts "depreciated API call map_person! (pass in mapping table as 2nd param)"
|
35
|
-
known_persons = @known_persons
|
36
|
-
end
|
37
|
-
|
38
|
-
TextUtils.map_titles_for!( 'person', line, known_persons )
|
39
|
-
end
|
40
|
-
|
41
|
-
|
42
|
-
end # module FixtureHelpers
|
43
|
-
end # module SportDb
|
44
|
-
|
data/lib/sportdb/utils_round.rb
DELETED
@@ -1,165 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module SportDb
|
4
|
-
module FixtureHelpers
|
5
|
-
|
6
|
-
def is_round_def?( line )
|
7
|
-
## must include bar (|) marker (make required)
|
8
|
-
line =~ /\|/ && is_round?( line )
|
9
|
-
end
|
10
|
-
|
11
|
-
def is_round?( line )
|
12
|
-
## note: =~ return nil if not match found, and 0,1, etc for match
|
13
|
-
(line =~ SportDb.lang.regex_round) != nil
|
14
|
-
end
|
15
|
-
|
16
|
-
def is_knockout_round?( line )
|
17
|
-
|
18
|
-
## todo: check for adding ignore case for regex (e.g. 1st leg/1st Leg)
|
19
|
-
|
20
|
-
if line =~ SportDb.lang.regex_leg1
|
21
|
-
logger.debug " two leg knockout; skip knockout flag on first leg"
|
22
|
-
false
|
23
|
-
elsif line =~ SportDb.lang.regex_knockout_round
|
24
|
-
logger.debug " setting knockout flag to true"
|
25
|
-
true
|
26
|
-
elsif line =~ /K\.O\.|K\.o\.|Knockout/
|
27
|
-
## NB: add two language independent markers, that is, K.O. and Knockout
|
28
|
-
logger.debug " setting knockout flag to true (lang independent marker)"
|
29
|
-
true
|
30
|
-
else
|
31
|
-
false
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
|
36
|
-
##
|
37
|
-
## fix/todo: check that [ROUND.TITLE2] and friends do NOT use pipes (|)
|
38
|
-
## change all pipes (|) to dot (.)
|
39
|
-
## - pipes get used for def markers!!!
|
40
|
-
|
41
|
-
def find_round_header_title2!( line )
|
42
|
-
## todo/fix:
|
43
|
-
## cleanup method
|
44
|
-
## use buf.index( '//' ) to split string (see found_round_def)
|
45
|
-
## why? simpler why not?
|
46
|
-
## - do we currently allow groups if title2 present? add example if it works?
|
47
|
-
|
48
|
-
|
49
|
-
# assume everything after // is title2 - strip off leading n trailing whitespaces
|
50
|
-
regex = /\/{2,}\s*(.+)\s*$/
|
51
|
-
if line =~ regex
|
52
|
-
logger.debug " title2: >#{$1}<"
|
53
|
-
|
54
|
-
line.sub!( regex, '[ROUND.TITLE2]' )
|
55
|
-
return $1
|
56
|
-
else
|
57
|
-
return nil # no round title2 found (title2 is optional)
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
|
62
|
-
def find_round_header_title!( line )
|
63
|
-
# assume everything left is the round title
|
64
|
-
# extract all other items first (round title2, round pos, group title n pos, etc.)
|
65
|
-
|
66
|
-
## todo/fix:
|
67
|
-
## cleanup method
|
68
|
-
## use buf.index( '//' ) to split string (see found_round_def)
|
69
|
-
## why? simpler why not?
|
70
|
-
## - do we currently allow groups if title2 present? add example if it works?
|
71
|
-
|
72
|
-
buf = line.dup
|
73
|
-
logger.debug " find_round_header_title! line-before: >>#{buf}<<"
|
74
|
-
|
75
|
-
buf.gsub!( /\[[^\]]+\]/, '' ) # e.g. remove [ROUND.POS], [ROUND.TITLE2], [GROUP.TITLE+POS] etc.
|
76
|
-
buf.sub!( /\s+[\/\-]{1,}\s+$/, '' ) # remove optional trailing / or / chars (left over from group)
|
77
|
-
buf.strip! # remove leading and trailing whitespace
|
78
|
-
|
79
|
-
logger.debug " find_round_title! line-after: >>#{buf}<<"
|
80
|
-
|
81
|
-
### bingo - assume what's left is the round title
|
82
|
-
|
83
|
-
logger.debug " title: >>#{buf}<<"
|
84
|
-
line.sub!( buf, '[ROUND.TITLE]' )
|
85
|
-
|
86
|
-
buf
|
87
|
-
end
|
88
|
-
|
89
|
-
|
90
|
-
def find_round_def_title!( line )
|
91
|
-
# assume everything before pipe (\) is the round title
|
92
|
-
# strip [ROUND.POS], todo:?? [ROUND.TITLE2]
|
93
|
-
|
94
|
-
# todo/fix: add title2 w/ // or / why? why not?
|
95
|
-
# -- strip / or / chars
|
96
|
-
|
97
|
-
buf = line.dup
|
98
|
-
logger.debug " find_round_def_title! line-before: >>#{buf}<<"
|
99
|
-
|
100
|
-
## cut-off everything after (including) pipe (|)
|
101
|
-
buf = buf[ 0...buf.index('|') ]
|
102
|
-
|
103
|
-
# e.g. remove [ROUND.POS], [ROUND.TITLE2], [GROUP.TITLE+POS] etc.
|
104
|
-
buf.gsub!( /\[[^\]]+\]/, '' ) ## fix: use helper for (re)use e.g. remove_match_placeholder/marker or similar?
|
105
|
-
# remove leading and trailing whitespace
|
106
|
-
buf.strip!
|
107
|
-
|
108
|
-
logger.debug " find_round_def_title! line-after: >>#{buf}<<"
|
109
|
-
|
110
|
-
logger.debug " title: >>#{buf}<<"
|
111
|
-
line.sub!( buf, '[ROUND.TITLE]' )
|
112
|
-
|
113
|
-
buf
|
114
|
-
end
|
115
|
-
|
116
|
-
|
117
|
-
def find_round_pos!( line )
|
118
|
-
# pass #1) extract optional round pos from line
|
119
|
-
# e.g. (1) - must start line
|
120
|
-
regex_pos = /^[ \t]*\((\d{1,3})\)[ \t]+/
|
121
|
-
|
122
|
-
# pass #2) find free standing number e.g. Matchday 3 or Round 5 or 3. Spieltag etc.
|
123
|
-
# note: /\b(\d{1,3})\b/
|
124
|
-
# will match -12
|
125
|
-
# thus, use space required - will NOT match -2 e.g. Group-2 Play-off
|
126
|
-
# note: allow 1. Runde n
|
127
|
-
# 1^ Giornata
|
128
|
-
regex_num = /(?:^|\s)(\d{1,3})(?:[.\^\s]|$)/
|
129
|
-
|
130
|
-
if line =~ regex_pos
|
131
|
-
logger.debug " pos: >#{$1}<"
|
132
|
-
|
133
|
-
line.sub!( regex_pos, '[ROUND.POS] ' ) ## NB: add back trailing space that got swallowed w/ regex -> [ \t]+
|
134
|
-
return $1.to_i
|
135
|
-
elsif line =~ regex_num
|
136
|
-
## assume number in title is pos (e.g. Jornada 3, 3 Runde etc.)
|
137
|
-
## NB: do NOT remove pos from string (will get removed by round title)
|
138
|
-
|
139
|
-
num = $1.to_i # note: clone capture; keep a copy (another regex follows; will redefine $1)
|
140
|
-
|
141
|
-
#### fix:
|
142
|
-
# use/make keywords required
|
143
|
-
# e.g. Round of 16 -> should NOT match 16!
|
144
|
-
# Spiel um Platz 3 (or 5) etc -> should NOT match 3!
|
145
|
-
# Round 16 - ok
|
146
|
-
# thus, check for required keywords
|
147
|
-
|
148
|
-
## quick hack for round of 16
|
149
|
-
# todo: mask match e.g. Round of xxx ... and try again - might include something
|
150
|
-
# reuse pattern for Group XX Replays for example
|
151
|
-
if line =~ /^\s*Round of \d{1,3}\b/
|
152
|
-
return nil
|
153
|
-
end
|
154
|
-
|
155
|
-
logger.debug " pos: >#{num}<"
|
156
|
-
return num
|
157
|
-
else
|
158
|
-
## fix: add logger.warn no round pos found in line
|
159
|
-
return nil
|
160
|
-
end
|
161
|
-
end # method find_round_pos!
|
162
|
-
|
163
|
-
|
164
|
-
end # module FixtureHelpers
|
165
|
-
end # module SportDb
|
data/lib/sportdb/utils_scores.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module SportDb
|
4
|
-
module FixtureHelpers
|
5
|
-
|
6
|
-
|
7
|
-
def find_scores!( line, opts={} )
|
8
|
-
# note: always call after find_dates !!!
|
9
|
-
# scores match date-like patterns!! e.g. 10-11 or 10:00 etc.
|
10
|
-
# -- note: score might have two digits too
|
11
|
-
|
12
|
-
finder = ScoresFinder.new
|
13
|
-
finder.find!( line, opts )
|
14
|
-
end
|
15
|
-
|
16
|
-
end # module FixtureHelpers
|
17
|
-
end # module SportDb
|
data/lib/sportdb/utils_teams.rb
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module SportDb
|
4
|
-
module FixtureHelpers
|
5
|
-
|
6
|
-
|
7
|
-
def find_teams!( line ) # NB: returns an array - note: plural! (teamsss)
|
8
|
-
puts "*** find_teams! deprecated -- use TeamMapper!!!"
|
9
|
-
TextUtils.find_keys_for!( 'team', line )
|
10
|
-
end
|
11
|
-
|
12
|
-
def find_team!( line ) # NB: returns key (string or nil)
|
13
|
-
puts "*** find_team! deprecated -- use TeamMapper!!!"
|
14
|
-
TextUtils.find_key_for!( 'team', line )
|
15
|
-
end
|
16
|
-
|
17
|
-
## todo: check if find_team1 gets used? if not remove it!! use find_teams!
|
18
|
-
def find_team1!( line )
|
19
|
-
puts "*** find_team1! deprecated -- use TeamMapper!!!"
|
20
|
-
TextUtils.find_key_for!( 'team1', line )
|
21
|
-
end
|
22
|
-
|
23
|
-
def find_team2!( line )
|
24
|
-
puts "*** find_team2! deprecated -- use TeamMapper!!!"
|
25
|
-
TextUtils.find_key_for!( 'team2', line )
|
26
|
-
end
|
27
|
-
|
28
|
-
## todo/fix: pass in known_teams as a parameter? why? why not?
|
29
|
-
|
30
|
-
def map_teams!( line )
|
31
|
-
puts "*** map_teams! deprecated -- use TeamMapper!!!"
|
32
|
-
TextUtils.map_titles_for!( 'team', line, @known_teams )
|
33
|
-
end
|
34
|
-
|
35
|
-
def map_team!( line ) # alias map_teams!
|
36
|
-
map_teams!( line )
|
37
|
-
end
|
38
|
-
|
39
|
-
|
40
|
-
## depreciated methods - use map_
|
41
|
-
def match_teams!( line ) ## fix: rename to map_teams!! - remove match_teams!
|
42
|
-
## todo: issue depreciated warning
|
43
|
-
map_teams!( line )
|
44
|
-
end # method match_teams!
|
45
|
-
|
46
|
-
|
47
|
-
end # module FixtureHelpers
|
48
|
-
end # module SportDb
|
@@ -1,227 +0,0 @@
|
|
1
|
-
######################################
|
2
|
-
# Österreichische Bundesliga 2013/14
|
3
|
-
|
4
|
-
|
5
|
-
1. Runde | Sa. 20.07. - So. 21.07. ## Sa+So 20.+21. Jul 2013
|
6
|
-
2. Runde | Sa. 27.07. - So. 28.07. ## Sa+So 27.+28. Jul 2013
|
7
|
-
3. Runde | Sa. 03.08. - So. 04.08. ## Sa+So 3.+4. Aug 2013
|
8
|
-
4. Runde | Sa. 10.08. - So. 11.08.
|
9
|
-
5. Runde | Sa. 17.08. - So. 18.08.
|
10
|
-
6. Runde | Sa. 24.08. - So. 25.08.
|
11
|
-
|
12
|
-
|
13
|
-
# -- 1. Runde // Sa+So 20.+21. Jul 2013
|
14
|
-
|
15
|
-
(Sa) 20.07.
|
16
|
-
Austria Wien 2:0 FC Admira Wacker
|
17
|
-
SC Wiener Neustadt 1:5 RB Salzburg
|
18
|
-
SV Grödig 0:0 SV Ried
|
19
|
-
Wolfsberger AC 2:2 Rapid Wien
|
20
|
-
|
21
|
-
(So) 21.07.
|
22
|
-
FC Wacker Innsbruck 2:2 Sturm Graz
|
23
|
-
|
24
|
-
|
25
|
-
# -- 2. Runde // Sa+So 27.+28. Jul 2013
|
26
|
-
|
27
|
-
(Sa) 27.07. Rapid Wien 4:0 SC Wiener Neustadt
|
28
|
-
FC Admira Wacker 1:2 FC Wacker Innsbruck
|
29
|
-
SV Ried 1:0 Wolfsberger AC
|
30
|
-
RB Salzburg 5:1 Austria Wien
|
31
|
-
|
32
|
-
(So) 28.07. Sturm Graz 0:2 SV Grödig
|
33
|
-
|
34
|
-
|
35
|
-
# -- 3. Runde // Sa.+So. 3.+4. Aug 2013
|
36
|
-
|
37
|
-
[Sa 03.08.]
|
38
|
-
SC Wiener Neustadt 2:1 Wolfsberger AC
|
39
|
-
SV Grödig 7:1 FC Admira Wacker
|
40
|
-
FC Wacker Innsbruck 1:1 RB Salzburg
|
41
|
-
Austria Wien 3:3 SV Ried
|
42
|
-
[So 04.08.]
|
43
|
-
Sturm Graz 2:4 Rapid Wien
|
44
|
-
|
45
|
-
|
46
|
-
## 4. Runde // Sa.+So. 10.+11. Aug 2013
|
47
|
-
|
48
|
-
(Sa) 10.08. 16.30 Wolfsberger AC 1:1 FC Wacker Innsbruck
|
49
|
-
(Sa) 10.08. 19.00 SV Ried 1:1 SC Wiener Neustadt
|
50
|
-
(Sa) 10.08. 19.00 RB Salzburg 4:1 SV Grödig
|
51
|
-
(Sa) 10.08. 19.00 FC Admira Wacker 1:1 Sturm Graz
|
52
|
-
|
53
|
-
(So) 11.08. 16.30 Rapid Wien 0:0 Austria Wien
|
54
|
-
|
55
|
-
|
56
|
-
## 5. Runde // Sa.+So. 17.+18. Aug 2013
|
57
|
-
|
58
|
-
(Sa) 17.08. 16.30 Sturm Graz 1:1 RB Salzburg
|
59
|
-
(Sa) 17.08. 19.00 SV Grödig 4:3 Wolfsberger AC
|
60
|
-
(Sa) 17.08. 19.00 FC Wacker Innsbruck 2:3 SV Ried
|
61
|
-
(Sa) 17.08. 19.00 Austria Wien 5:0 SC Wiener Neustadt
|
62
|
-
|
63
|
-
(So) 18.08. 16.30 FC Admira Wacker 2:0 Rapid Wien
|
64
|
-
|
65
|
-
|
66
|
-
## 6. Runde // Sa.+So. 24.+25. Aug 2013
|
67
|
-
|
68
|
-
(Sa) 24.08. 16.30 SV Ried 3:0 Sturm Graz
|
69
|
-
(Sa) 24.08. 19.00 SC Wiener Neustadt 1:1 FC Wacker Innsbruck
|
70
|
-
(Sa) 24.08. 16.30 Wolfsberger AC 1:4 Austria Wien
|
71
|
-
|
72
|
-
(So) 25.08. 19.00 Rapid Wien 0:1 SV Grödig
|
73
|
-
(So) 25.08. 19.00 RB Salzburg 1:0 FC Admira Wacker
|
74
|
-
|
75
|
-
|
76
|
-
7. Runde // Sa.+So.
|
77
|
-
|
78
|
-
(Sa) 31.08. 16.30 Sturm Graz 4:2 Wolfsberger AC
|
79
|
-
(Sa) 31.08. 19.00 SV Grödig 3:6 SC Wiener Neustadt
|
80
|
-
(Sa) 31.08. 19.00 Austria Wien 1:1 FC Wacker Innsbruck
|
81
|
-
(Sa) 31.08. 19.00 FC Admira Wacker 1:4 SV Ried
|
82
|
-
|
83
|
-
(So) 01.09. 16.30 RB Salzburg 1:1 Rapid Wien
|
84
|
-
|
85
|
-
|
86
|
-
8. Runde // Sa.+So.
|
87
|
-
|
88
|
-
(Sa) 14.09. FC Wacker Innsbruck 0:4 Rapid Wien
|
89
|
-
(Sa) 14.09. Wolfsberger AC 3:1 FC Admira Wacker
|
90
|
-
(Sa) 14.09. SC Wiener Neustadt 1:3 Sturm Graz
|
91
|
-
(Sa) 14.09. Austria Wien 2:3 SV Grödig
|
92
|
-
|
93
|
-
(So) 15.09. SV Ried 0:5 RB Salzburg
|
94
|
-
|
95
|
-
|
96
|
-
9. Runde // Sa.+So.
|
97
|
-
|
98
|
-
(Sa) 21.09. SV Grödig 3:3 FC Wacker Innsbruck
|
99
|
-
(Sa) 21.09. Sturm Graz 1:2 Austria Wien
|
100
|
-
(Sa) 21.09. FC Admira Wacker 0:3 SC Wiener Neustadt
|
101
|
-
|
102
|
-
(So) 22.09. Rapid Wien 2:0 SV Ried
|
103
|
-
(So) 22.09. RB Salzburg 2:2 Wolfsberger AC
|
104
|
-
|
105
|
-
|
106
|
-
10. Runde // Sa.+So.
|
107
|
-
|
108
|
-
(Sa) 28.09. SV Ried 4:2 SV Grödig
|
109
|
-
(Sa) 28.09. Sturm Graz 1:0 FC Wacker Innsbruck
|
110
|
-
(Sa) 28.09. Rapid Wien 2:4 Wolfsberger AC
|
111
|
-
(Sa) 28.09. FC Admira Wacker 1:0 Austria Wien
|
112
|
-
|
113
|
-
(So) 29.09. RB Salzburg 8:1 SC Wiener Neustadt
|
114
|
-
|
115
|
-
|
116
|
-
11. Runde // Sa.+So.
|
117
|
-
|
118
|
-
(Sa) 05.10. Wolfsberger AC 1:1 SV Ried
|
119
|
-
(Sa) 05.10. SV Grödig 0:1 Sturm Graz
|
120
|
-
(Sa) 05.10. FC Wacker Innsbruck 3:3 FC Admira Wacker
|
121
|
-
|
122
|
-
(So) 06.10. Austria Wien 1:2 RB Salzburg
|
123
|
-
(So) 06.10. SC Wiener Neustadt 0:0 Rapid Wien
|
124
|
-
|
125
|
-
|
126
|
-
12. Runde // Sa.+So.
|
127
|
-
|
128
|
-
(Sa) 19.10. FC Admira Wacker 0:4 SV Grödig
|
129
|
-
(Sa) 19.10. RB Salzburg 6:0 FC Wacker Innsbruck
|
130
|
-
(Sa) 19.10. Wolfsberger AC 1:1 SC Wiener Neustadt
|
131
|
-
(Sa) 19.10. SV Ried 1:1 Austria Wien
|
132
|
-
|
133
|
-
(So) 20.10. Rapid Wien 2:2 Sturm Graz
|
134
|
-
|
135
|
-
|
136
|
-
13. Runde // Sa.+So.
|
137
|
-
|
138
|
-
(Sa) 26.10. SC Wiener Neustadt 3:3 SV Ried
|
139
|
-
(Sa) 26.10. FC Wacker Innsbruck 1:2 Wolfsberger AC
|
140
|
-
(Sa) 26.10. Sturm Graz 0:2 FC Admira Wacker
|
141
|
-
|
142
|
-
(So) 27.10. Austria Wien 0:1 Rapid Wien
|
143
|
-
(So) 27.10. SV Grödig 0:3 RB Salzburg
|
144
|
-
|
145
|
-
|
146
|
-
14. Runde // Sa.+So.
|
147
|
-
|
148
|
-
(Sa) 02.11. Wolfsberger AC 1:1 SV Grödig
|
149
|
-
(Sa) 02.11. SV Ried 4:0 FC Wacker Innsbruck
|
150
|
-
(Sa) 02.11. RB Salzburg 1:0 Sturm Graz
|
151
|
-
(Sa) 02.11. Rapid Wien 4:2 FC Admira Wacker
|
152
|
-
|
153
|
-
(So) 03.11. SC Wiener Neustadt 0:3 Austria Wien
|
154
|
-
|
155
|
-
|
156
|
-
15. Runde // Sa.+So.
|
157
|
-
|
158
|
-
(Sa) 09.11. Austria Wien 1:0 Wolfsberger AC
|
159
|
-
(Sa) 09.11. FC Wacker Innsbruck 4:0 SC Wiener Neustadt
|
160
|
-
|
161
|
-
(So) 10.11. SV Grödig 2:2 Rapid Wien
|
162
|
-
(So) 10.11. FC Admira Wacker 3:1 RB Salzburg
|
163
|
-
|
164
|
-
09.11. => 27.11. Sturm Graz 2:0 SV Ried
|
165
|
-
|
166
|
-
|
167
|
-
16. Runde // Sa.+So.
|
168
|
-
|
169
|
-
(Sa) 23.11. SC Wiener Neustadt 0:2 SV Grödig
|
170
|
-
(Sa) 23.11. FC Wacker Innsbruck 0:5 Austria Wien
|
171
|
-
(Sa) 23.11. SV Ried 2:2 FC Admira Wacker
|
172
|
-
|
173
|
-
(So) 24.11. Rapid Wien 2:1 RB Salzburg
|
174
|
-
|
175
|
-
23.11. => 11.12. Wolfsberger AC 2:1 Sturm Graz
|
176
|
-
|
177
|
-
|
178
|
-
17. Runde // Sa.+So.
|
179
|
-
|
180
|
-
(Sa) 30.11. FC Admira Wacker 3:0 Wolfsberger AC
|
181
|
-
(Sa) 30.11. Sturm Graz 2:3 SC Wiener Neustadt
|
182
|
-
(Sa) 30.11. SV Grödig 1:0 Austria Wien
|
183
|
-
|
184
|
-
(So) 01.12. RB Salzburg 4:0 SV Ried
|
185
|
-
(So) 01.12. Rapid Wien 3:0 FC Wacker Innsbruck
|
186
|
-
|
187
|
-
|
188
|
-
18. Runde // Di.+Mi.
|
189
|
-
|
190
|
-
(Di) 03.12. Austria Wien 3:2 Sturm Graz
|
191
|
-
|
192
|
-
(Mi) 04.12. FC Wacker Innsbruck 5:3 SV Grödig
|
193
|
-
(Mi) 04.12. SV Ried 2:0 Rapid Wien
|
194
|
-
(Mi) 04.12. Wolfsberger AC 1:2 RB Salzburg
|
195
|
-
(Mi) 04.12. SC Wiener Neustadt 1:0 FC Admira Wacker
|
196
|
-
|
197
|
-
|
198
|
-
19. Runde // Sa.+So.
|
199
|
-
|
200
|
-
(Sa) 07.12. SV Grödig 3:0 SV Ried
|
201
|
-
(Sa) 07.12. FC Wacker Innsbruck 0:1 Sturm Graz
|
202
|
-
(Sa) 07.12. Austria Wien 2:2 FC Admira Wacker
|
203
|
-
|
204
|
-
(So) 08.12. Wolfsberger AC 2:1 Rapid Wien
|
205
|
-
|
206
|
-
(Sa) 07.12. => 02.02.2014 SC Wiener Neustadt 1:5 RB Salzburg
|
207
|
-
|
208
|
-
|
209
|
-
20. Runde // Sa.+So.
|
210
|
-
|
211
|
-
(Sa) 14.12. SV Ried 1:3 Wolfsberger AC
|
212
|
-
(Sa) 14.12. Sturm Graz 2:2 SV Grödig
|
213
|
-
(Sa) 14.12. FC Admira Wacker 3:0 FC Wacker Innsbruck
|
214
|
-
|
215
|
-
(So) 15.12. RB Salzburg 4:0 Austria Wien
|
216
|
-
(So) 15.12. Rapid Wien 0:0 SC Wiener Neustadt
|
217
|
-
|
218
|
-
|
219
|
-
21. Runde // Di.+Mi.
|
220
|
-
|
221
|
-
(Di) 17.12. SV Grödig 2:1 FC Admira Wacker
|
222
|
-
|
223
|
-
(Mi) 18.12. FC Wacker Innsbruck 0:1 RB Salzburg
|
224
|
-
(Mi) 18.12. Sturm Graz 2:0 Rapid Wien
|
225
|
-
(Mi) 18.12. SC Wiener Neustadt 1:1 Wolfsberger AC
|
226
|
-
(Mi) 18.12. Austria Wien 1:1 SV Ried
|
227
|
-
|