sportdb-formats 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/Manifest.txt +0 -24
  3. data/Rakefile +2 -5
  4. data/lib/sportdb/formats.rb +39 -74
  5. data/lib/sportdb/formats/event/event_reader.rb +1 -1
  6. data/lib/sportdb/formats/league/league_outline_reader.rb +18 -6
  7. data/lib/sportdb/formats/package.rb +2 -2
  8. data/lib/sportdb/formats/team/club_index_history.rb +2 -6
  9. data/lib/sportdb/formats/team/club_reader_history.rb +1 -1
  10. data/lib/sportdb/formats/team/club_reader_props.rb +18 -2
  11. data/lib/sportdb/formats/version.rb +1 -1
  12. data/test/helper.rb +3 -0
  13. metadata +5 -71
  14. data/lib/sportdb/formats/config.rb +0 -40
  15. data/lib/sportdb/formats/match/match_parser_csv.rb +0 -458
  16. data/lib/sportdb/formats/match/match_status_parser.rb +0 -86
  17. data/lib/sportdb/formats/name_helper.rb +0 -87
  18. data/lib/sportdb/formats/score/score_formats.rb +0 -239
  19. data/lib/sportdb/formats/score/score_parser.rb +0 -204
  20. data/lib/sportdb/formats/season_utils.rb +0 -16
  21. data/lib/sportdb/formats/structs/country.rb +0 -31
  22. data/lib/sportdb/formats/structs/group.rb +0 -18
  23. data/lib/sportdb/formats/structs/league.rb +0 -37
  24. data/lib/sportdb/formats/structs/match.rb +0 -157
  25. data/lib/sportdb/formats/structs/matchlist.rb +0 -220
  26. data/lib/sportdb/formats/structs/round.rb +0 -25
  27. data/lib/sportdb/formats/structs/season.rb +0 -192
  28. data/lib/sportdb/formats/structs/standings.rb +0 -268
  29. data/lib/sportdb/formats/structs/team.rb +0 -157
  30. data/lib/sportdb/formats/structs/team_usage.rb +0 -88
  31. data/test/test_clubs.rb +0 -40
  32. data/test/test_csv_reader.rb +0 -31
  33. data/test/test_match.rb +0 -30
  34. data/test/test_match_status_parser.rb +0 -49
  35. data/test/test_name_helper.rb +0 -67
  36. data/test/test_scores.rb +0 -124
  37. data/test/test_season.rb +0 -111
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 666fc1f16808dddbc988aa073c0d3b47c08a5934
4
- data.tar.gz: 97437435e1f37341c9f2cc15c8b4e67adf0efe61
3
+ metadata.gz: bcac09da9cbe9b0e7d703df7b6b5075025979655
4
+ data.tar.gz: 71b00a95c66920bd25c1d92d0b4a29a2ec4436e3
5
5
  SHA512:
6
- metadata.gz: 9498c5e378feab9fa1e80a8287f33ab608e606ecde6ae914997483850faffbbbc7695ef07d2cea1e04a529e724b01612e8231fe8625c19d0af34f3fabffd0a14
7
- data.tar.gz: 28146d5c35a061f6c128a001c190681eb76de5471cde8124435e77d93ccca090bf0a84a7a6a09ccb67372f8edef0198e8f09390126629d14072901ff5fcb7743
6
+ metadata.gz: 81b387f334f672dbe493884bde8661dfd83c892a834bec422c95efc5231141f556397d5aacdfd7665e935589f5cffcedcbeab1f0993a414e8678ae56c89e80ab
7
+ data.tar.gz: ba6546d68cafa1198c39dec94d91481ec6652d051f3e9887b1366a1319a9a6b35667313390fac1bbae3cc46056468aff0d3bc41a8e128d429f0f9a16d2c7f998
@@ -3,7 +3,6 @@ Manifest.txt
3
3
  README.md
4
4
  Rakefile
5
5
  lib/sportdb/formats.rb
6
- lib/sportdb/formats/config.rb
7
6
  lib/sportdb/formats/country/country_index.rb
8
7
  lib/sportdb/formats/country/country_reader.rb
9
8
  lib/sportdb/formats/datafile.rb
@@ -19,25 +18,9 @@ lib/sportdb/formats/match/mapper.rb
19
18
  lib/sportdb/formats/match/mapper_teams.rb
20
19
  lib/sportdb/formats/match/match_parser.rb
21
20
  lib/sportdb/formats/match/match_parser_auto_conf.rb
22
- lib/sportdb/formats/match/match_parser_csv.rb
23
- lib/sportdb/formats/match/match_status_parser.rb
24
- lib/sportdb/formats/name_helper.rb
25
21
  lib/sportdb/formats/outline_reader.rb
26
22
  lib/sportdb/formats/package.rb
27
23
  lib/sportdb/formats/parser_helper.rb
28
- lib/sportdb/formats/score/score_formats.rb
29
- lib/sportdb/formats/score/score_parser.rb
30
- lib/sportdb/formats/season_utils.rb
31
- lib/sportdb/formats/structs/country.rb
32
- lib/sportdb/formats/structs/group.rb
33
- lib/sportdb/formats/structs/league.rb
34
- lib/sportdb/formats/structs/match.rb
35
- lib/sportdb/formats/structs/matchlist.rb
36
- lib/sportdb/formats/structs/round.rb
37
- lib/sportdb/formats/structs/season.rb
38
- lib/sportdb/formats/structs/standings.rb
39
- lib/sportdb/formats/structs/team.rb
40
- lib/sportdb/formats/structs/team_usage.rb
41
24
  lib/sportdb/formats/team/club_index.rb
42
25
  lib/sportdb/formats/team/club_index_history.rb
43
26
  lib/sportdb/formats/team/club_reader.rb
@@ -53,23 +36,16 @@ test/test_club_index_history.rb
53
36
  test/test_club_reader.rb
54
37
  test/test_club_reader_history.rb
55
38
  test/test_club_reader_props.rb
56
- test/test_clubs.rb
57
39
  test/test_country_index.rb
58
40
  test/test_country_reader.rb
59
- test/test_csv_reader.rb
60
41
  test/test_datafile.rb
61
42
  test/test_datafile_package.rb
62
43
  test/test_goals.rb
63
44
  test/test_league_index.rb
64
45
  test/test_league_outline_reader.rb
65
46
  test/test_league_reader.rb
66
- test/test_match.rb
67
- test/test_match_status_parser.rb
68
- test/test_name_helper.rb
69
47
  test/test_outline_reader.rb
70
48
  test/test_package.rb
71
49
  test/test_package_match.rb
72
50
  test/test_regex.rb
73
- test/test_scores.rb
74
- test/test_season.rb
75
51
  test/test_wiki_reader.rb
data/Rakefile CHANGED
@@ -20,12 +20,9 @@ Hoe.spec 'sportdb-formats' do
20
20
  self.licenses = ['Public Domain']
21
21
 
22
22
  self.extra_deps = [
23
- ['alphabets', '>= 1.0.0'],
24
- ['date-formats', '>= 1.0.1'],
25
- ['csvreader', '>= 1.2.4'],
26
- ['sportdb-langs', '>= 0.1.1'],
23
+ ['sportdb-structs', '>= 0.1.0'],
27
24
 
28
- ['rubyzip', '>= 1.2.4' ],
25
+ ['rubyzip', '>= 1.2.4' ],
29
26
  ]
30
27
 
31
28
  self.spec_extras = {
@@ -1,43 +1,9 @@
1
- # encoding: utf-8
2
-
3
-
4
1
  ## 3rd party gems
5
- require 'alphabets' # downcase_i18n, unaccent, variants, ...
6
- require 'date/formats' # DateFormats.parse, find!, ...
7
- require 'csvreader'
8
-
9
- require 'zip' ## todo/check: if zip is alreay included in a required module
10
-
11
-
12
-
13
- def read_csv( path, sep: nil,
14
- symbolize_names: nil )
15
- opts = {}
16
- opts[:sep] = sep if sep
17
- opts[:header_converters] = :symbol if symbolize_names
18
-
19
- CsvHash.read( path, **opts )
20
- end
2
+ require 'sportdb/structs'
21
3
 
22
- def parse_csv( txt, sep: nil,
23
- symbolize_names: nil )
24
- opts = {}
25
- opts[:sep] = sep if sep
26
- opts[:header_converters] = :symbol if symbolize_names
27
-
28
- CsvHash.parse( txt, **opts )
29
- end
30
-
31
-
32
-
33
- ## more sportdb libs/gems
34
- require 'sportdb/langs'
35
4
 
5
+ require 'zip' ## todo/check: if zip is alreay included in a required module
36
6
 
37
- ## todo/fix: move shortcut to sportdb/langs!!!
38
- module SportDb
39
- Logging = LogUtils::Logging ## logging machinery shortcut; use LogUtils for now
40
- end
41
7
 
42
8
 
43
9
 
@@ -45,43 +11,59 @@ end
45
11
  # our own code
46
12
  require 'sportdb/formats/version' # let version always go first
47
13
 
48
- require 'sportdb/formats/config' # let "global" config "framework" go next - why? why not?
49
-
50
14
  require 'sportdb/formats/outline_reader'
51
15
  require 'sportdb/formats/datafile'
52
16
  require 'sportdb/formats/datafile_package'
53
17
  require 'sportdb/formats/package'
54
- require 'sportdb/formats/season_utils'
55
18
 
56
- require 'sportdb/formats/name_helper'
19
+
57
20
  require 'sportdb/formats/parser_helper'
58
21
 
59
- require 'sportdb/formats/structs/country'
60
- require 'sportdb/formats/structs/season'
61
- require 'sportdb/formats/structs/league'
62
- require 'sportdb/formats/structs/team'
63
- require 'sportdb/formats/structs/round'
64
- require 'sportdb/formats/structs/group'
65
- require 'sportdb/formats/structs/match'
66
- require 'sportdb/formats/structs/matchlist'
67
- require 'sportdb/formats/structs/standings'
68
- require 'sportdb/formats/structs/team_usage'
22
+
23
+ module SportDb
24
+ module Import
25
+ Season = ::Season ## add a convenience alias for top-level Season class
26
+
27
+ ## add "old" convenience aliases for structs - why? why not?
28
+ ## todo/check: just use include Sports !!!!
29
+ Country = ::Sports::Country
30
+ League = ::Sports::League
31
+ Group = ::Sports::Group
32
+ Round = ::Sports::Round
33
+ Match = ::Sports::Match
34
+ Matchlist = ::Sports::Matchlist
35
+ Goal = ::Sports::Goal
36
+ Team = ::Sports::Team
37
+ NationalTeam = ::Sports::NationalTeam
38
+ Club = ::Sports::Club
39
+ Standings = ::Sports::Standings
40
+ TeamUsage = ::Sports::TeamUsage
41
+
42
+
43
+ class Team
44
+ ## add convenience lookup helper / method for name by season for now
45
+ ## use clubs history - for now kept separate from struct - why? why not?
46
+ def name_by_season( season )
47
+ ## note: returns / fallback to "regular" name if no records found in history
48
+ SportDb::Import.catalog.clubs_history.find_name_by( name: name, season: season ) || name
49
+ end
50
+ end # class Team
51
+
52
+ end # module Import
53
+ end # module SportDb
69
54
 
70
55
 
71
- require 'sportdb/formats/score/score_formats'
72
- require 'sportdb/formats/score/score_parser'
73
56
  require 'sportdb/formats/goals'
74
57
 
75
58
 
59
+
76
60
  require 'sportdb/formats/match/mapper'
77
61
  require 'sportdb/formats/match/mapper_teams'
78
- require 'sportdb/formats/match/match_status_parser'
79
62
  require 'sportdb/formats/match/match_parser'
80
63
  require 'sportdb/formats/match/match_parser_auto_conf'
81
64
  require 'sportdb/formats/match/conf_parser'
82
65
 
83
66
 
84
- require 'sportdb/formats/match/match_parser_csv'
85
67
 
86
68
  require 'sportdb/formats/country/country_reader'
87
69
  require 'sportdb/formats/country/country_index'
@@ -128,7 +110,8 @@ require 'sportdb/formats/team/club_index_history'
128
110
  ###
129
111
  # add convenience helpers / shortcuts
130
112
  module SportDb
131
- module Import
113
+ module Import
114
+
132
115
  class Club
133
116
  def self.read( path ) ClubReader.read( path ); end
134
117
  def self.parse( txt ) ClubReader.parse( txt ); end
@@ -137,6 +120,7 @@ class Club
137
120
  def self.parse_props( txt ) ClubPropsReader.parse( txt ); end
138
121
  ## todo/check: use ClubProps.read and ClubProps.parse convenience alternate shortcuts - why? why not?
139
122
  end # class Club
123
+
140
124
  end # module Import
141
125
  end # module SportDb
142
126
 
@@ -159,23 +143,4 @@ end # module SportDb
159
143
 
160
144
 
161
145
 
162
-
163
-
164
-
165
-
166
- ## let's put test configuration in its own namespace / module
167
- module SportDb
168
- class Test ## todo/check: works with module too? use a module - why? why not?
169
-
170
- ####
171
- # todo/fix: find a better way to configure shared test datasets - why? why not?
172
- # note: use one-up (..) directory for now as default - why? why not?
173
- def self.data_dir() @data_dir ||= '../test'; end
174
- def self.data_dir=( path ) @data_dir = path; end
175
- end
176
- end # module SportDb
177
-
178
-
179
-
180
-
181
146
  puts SportDb::Module::Formats.banner # say hello
@@ -90,7 +90,7 @@ class EventInfo
90
90
  season_col = row['Season'] || row['Year']
91
91
  dates_col = row['Dates']
92
92
 
93
- season = Import::Season.new( season_col )
93
+ season = Import::Season.parse( season_col )
94
94
  league = catalog.leagues.find!( league_col )
95
95
 
96
96
 
@@ -65,7 +65,7 @@ class LeagueOutlineReader ## todo/check - rename to LeaguePageReader / LeagueP
65
65
  filtered_secs = []
66
66
  filter = norm_seasons( season )
67
67
  secs.each do |sec|
68
- if filter.include?( Import::Season.new( sec[:season] ).key )
68
+ if filter.include?( Season.parse( sec[:season] ).key )
69
69
  filtered_secs << sec
70
70
  else
71
71
  puts " skipping season >#{sec[:season]}< NOT matched by filter"
@@ -76,7 +76,7 @@ class LeagueOutlineReader ## todo/check - rename to LeaguePageReader / LeagueP
76
76
 
77
77
  ## pass 3 - check & map; replace inline (string with data struct record)
78
78
  secs.each do |sec|
79
- sec[:season] = Import::Season.new( sec[:season ] )
79
+ sec[:season] = Season.parse( sec[:season ] )
80
80
  sec[:league] = catalog.leagues.find!( sec[:league] )
81
81
 
82
82
  check_stage( sec[:stage] ) if sec[:stage] ## note: only check for now (no remapping etc.)
@@ -100,14 +100,18 @@ class LeagueOutlineReader ## todo/check - rename to LeaguePageReader / LeagueP
100
100
  )
101
101
  $}x
102
102
 
103
+
103
104
  def norm_seasons( season_or_seasons ) ## todo/check: add alias norm_seasons - why? why not?
104
- seasons = if season_or_seasons.is_a?( String ) ## wrap in array
105
+
106
+ seasons = if season_or_seasons.is_a?( Array ) # is it an array already
107
+ season_or_seasons
108
+ elsif season_or_seasons.is_a?( Range ) # e.g. Season(1999)..Season(2001) or such
109
+ season_or_seasons.to_a
110
+ else ## assume - single entry - wrap in array
105
111
  [season_or_seasons]
106
- else ## assume it's an array already
107
- season_or_seasons
108
112
  end
109
113
 
110
- seasons.map { |season| Import::Season.new( season ).key }
114
+ seasons.map { |season| Season( season ).key }
111
115
  end
112
116
 
113
117
 
@@ -141,8 +145,16 @@ class LeagueOutlineReader ## todo/check - rename to LeaguePageReader / LeagueP
141
145
  'Europa League Play-off',
142
146
  'Europa-League-Play-offs',
143
147
  'Playoffs - Championship',
148
+ 'Playoffs - Europa League',
149
+ 'Playoffs - Europa League - Finals',
144
150
  'Playoffs - Relegation',
145
151
  'Finals',
152
+
153
+ 'Apertura',
154
+ 'Apertura - Liguilla',
155
+ 'Clausura',
156
+ 'Clausura - Liguilla',
157
+
146
158
  ].map {|name| name.downcase.gsub( /[^a-z]/, '' ) }
147
159
 
148
160
 
@@ -335,13 +335,13 @@ module SportDb
335
335
  ## filter.skip? filter.include? ( season_sason_key )?
336
336
  ## fiteer.before?( season_key ) etc.
337
337
  ## find some good method names!!!!
338
- season_start = start ? Import::Season.new( start ) : nil
338
+ season_start = start ? Season( start ) : nil
339
339
 
340
340
  h = {}
341
341
  match( format: format ).each do |entry|
342
342
  ## note: assume last directory in datafile path is the season part/key
343
343
  season_q = File.basename( File.dirname( entry.name ))
344
- season = Import::Season.new( season_q ) ## normalize season
344
+ season = Season.parse( season_q ) ## normalize season
345
345
 
346
346
  ## skip if start season before this season
347
347
  next if season_start && season_start.start_year > season.start_year
@@ -79,7 +79,7 @@ class ClubHistoryIndex
79
79
  club_new = catalog.clubs.find_by!( name: name_new, country: country_new )
80
80
 
81
81
  ## note use season obj for now (and NOT key) - why? why not?
82
- season = Season.new( season_key )
82
+ season = Season.parse( season_key )
83
83
 
84
84
  ## todo/check:
85
85
  ## check if club_old and club_new reference different club record!!
@@ -108,7 +108,7 @@ class ClubHistoryIndex
108
108
  def find_name_by( name:, season: )
109
109
  recs = @clubs[ name ]
110
110
  if recs
111
- season = season( season ) ## make sure season is a season obj (and NOT a string)
111
+ season = Season( season ) ## make sure season is a season obj (and NOT a string)
112
112
  ## check season records for name; use linear search (assume only few records)
113
113
  recs.each do |rec|
114
114
  if season >= rec[0]
@@ -124,10 +124,6 @@ class ClubHistoryIndex
124
124
 
125
125
  ##################
126
126
  ## helpers
127
- def season( season )
128
- season.is_a?( Season ) ? season : Season.new( season )
129
- end
130
-
131
127
  def strip_geo( name )
132
128
  ## e.g. Arsenal, London => Arsenal
133
129
  name.split(',')[0].strip
@@ -80,7 +80,7 @@ def parse
80
80
  last_keyword = nil
81
81
  elsif heading_level == 2
82
82
  ## assume season
83
- season = Season.new( heading )
83
+ season = Season.parse( heading )
84
84
  puts " season >#{heading}< => #{season.key}"
85
85
  last_season = season ## reset "lowwer levels" - keyword
86
86
  last_keyword = nil
@@ -61,13 +61,29 @@ class ClubPropsReader
61
61
  ## todo/fix: only updated "on-demand" from in-memory struct/records!!!!
62
62
 
63
63
  ## update attributes
64
- club_rec.key = rec['Key'] if rec['Key']
65
- club_rec.code = rec['Code'] if rec['Code']
64
+ club_rec.key = rec['Key'] if is_not_na?( rec['Key'] )
65
+ club_rec.code = rec['Code'] if is_not_na?( rec['Code'] )
66
66
  ## todo/fix: add (some) more props e.g. address, web, etc.
67
67
  end
68
68
  end
69
69
  end # method parse
70
70
 
71
+
72
+ ## allow various values for nil or n/a (not available/applicable) for now
73
+ ## add more or less - why? why not?
74
+ def is_not_na?( col ) !is_na?( col); end ## check: find a better name - why? why not?
75
+
76
+ NA_VARIANTS = ['-', '--', '---',
77
+ '?', '??', '???',
78
+ '_', '__', '___',
79
+ 'na', 'n/a',
80
+ 'nil', 'null']
81
+
82
+ def is_na?( col )
83
+ col.nil? || col.empty? || NA_VARIANTS.include?( col.downcase )
84
+ end
85
+
86
+
71
87
  end # class ClubPropsReader
72
88
 
73
89
  end ## module Import
@@ -7,7 +7,7 @@ module Formats
7
7
 
8
8
  MAJOR = 1 ## todo: namespace inside version or something - why? why not??
9
9
  MINOR = 1
10
- PATCH = 3
10
+ PATCH = 4
11
11
  VERSION = [MAJOR,MINOR,PATCH].join('.')
12
12
 
13
13
  def self.version
@@ -1,6 +1,9 @@
1
1
  ## note: use the local version of gems
2
2
  $LOAD_PATH.unshift( File.expand_path( '../date-formats/lib' ))
3
+ $LOAD_PATH.unshift( File.expand_path( '../score-formats/lib' ))
3
4
  $LOAD_PATH.unshift( File.expand_path( '../sportdb-langs/lib' ))
5
+ $LOAD_PATH.unshift( File.expand_path( '../sportdb-structs/lib' ))
6
+
4
7
 
5
8
 
6
9
  ## minitest setup
metadata CHANGED
@@ -1,71 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb-formats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-01 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: alphabets
14
+ name: sportdb-structs
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 0.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0
27
- - !ruby/object:Gem::Dependency
28
- name: date-formats
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.0.1
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 1.0.1
41
- - !ruby/object:Gem::Dependency
42
- name: csvreader
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 1.2.4
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: 1.2.4
55
- - !ruby/object:Gem::Dependency
56
- name: sportdb-langs
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: 0.1.1
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: 0.1.1
26
+ version: 0.1.0
69
27
  - !ruby/object:Gem::Dependency
70
28
  name: rubyzip
71
29
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +80,6 @@ files:
122
80
  - README.md
123
81
  - Rakefile
124
82
  - lib/sportdb/formats.rb
125
- - lib/sportdb/formats/config.rb
126
83
  - lib/sportdb/formats/country/country_index.rb
127
84
  - lib/sportdb/formats/country/country_reader.rb
128
85
  - lib/sportdb/formats/datafile.rb
@@ -138,25 +95,9 @@ files:
138
95
  - lib/sportdb/formats/match/mapper_teams.rb
139
96
  - lib/sportdb/formats/match/match_parser.rb
140
97
  - lib/sportdb/formats/match/match_parser_auto_conf.rb
141
- - lib/sportdb/formats/match/match_parser_csv.rb
142
- - lib/sportdb/formats/match/match_status_parser.rb
143
- - lib/sportdb/formats/name_helper.rb
144
98
  - lib/sportdb/formats/outline_reader.rb
145
99
  - lib/sportdb/formats/package.rb
146
100
  - lib/sportdb/formats/parser_helper.rb
147
- - lib/sportdb/formats/score/score_formats.rb
148
- - lib/sportdb/formats/score/score_parser.rb
149
- - lib/sportdb/formats/season_utils.rb
150
- - lib/sportdb/formats/structs/country.rb
151
- - lib/sportdb/formats/structs/group.rb
152
- - lib/sportdb/formats/structs/league.rb
153
- - lib/sportdb/formats/structs/match.rb
154
- - lib/sportdb/formats/structs/matchlist.rb
155
- - lib/sportdb/formats/structs/round.rb
156
- - lib/sportdb/formats/structs/season.rb
157
- - lib/sportdb/formats/structs/standings.rb
158
- - lib/sportdb/formats/structs/team.rb
159
- - lib/sportdb/formats/structs/team_usage.rb
160
101
  - lib/sportdb/formats/team/club_index.rb
161
102
  - lib/sportdb/formats/team/club_index_history.rb
162
103
  - lib/sportdb/formats/team/club_reader.rb
@@ -172,25 +113,18 @@ files:
172
113
  - test/test_club_reader.rb
173
114
  - test/test_club_reader_history.rb
174
115
  - test/test_club_reader_props.rb
175
- - test/test_clubs.rb
176
116
  - test/test_country_index.rb
177
117
  - test/test_country_reader.rb
178
- - test/test_csv_reader.rb
179
118
  - test/test_datafile.rb
180
119
  - test/test_datafile_package.rb
181
120
  - test/test_goals.rb
182
121
  - test/test_league_index.rb
183
122
  - test/test_league_outline_reader.rb
184
123
  - test/test_league_reader.rb
185
- - test/test_match.rb
186
- - test/test_match_status_parser.rb
187
- - test/test_name_helper.rb
188
124
  - test/test_outline_reader.rb
189
125
  - test/test_package.rb
190
126
  - test/test_package_match.rb
191
127
  - test/test_regex.rb
192
- - test/test_scores.rb
193
- - test/test_season.rb
194
128
  - test/test_wiki_reader.rb
195
129
  homepage: https://github.com/sportdb/sport.db
196
130
  licenses: