sportdb 1.9.16 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +2 -19
- data/Manifest.txt +1 -137
- data/README.md +2 -21
- data/Rakefile +14 -25
- data/lib/sportdb.rb +9 -260
- data/lib/sportdb/cli/main.rb +5 -14
- data/lib/sportdb/cli/opts.rb +2 -0
- data/lib/sportdb/cli/version.rb +26 -0
- metadata +10 -278
- data/.gemtest +0 -0
- data/config/fixtures/de.yml +0 -46
- data/config/fixtures/en.yml +0 -54
- data/config/fixtures/es.yml +0 -48
- data/config/fixtures/fr.yml +0 -53
- data/config/fixtures/it.yml +0 -55
- data/config/fixtures/pt.yml +0 -46
- data/config/fixtures/ro.yml +0 -55
- data/data/seasons.txt +0 -74
- data/data/setups/all.txt +0 -5
- data/lib/sportdb/calc.rb +0 -279
- data/lib/sportdb/deleter.rb +0 -52
- data/lib/sportdb/finders/date.rb +0 -374
- data/lib/sportdb/finders/goals.rb +0 -260
- data/lib/sportdb/finders/scores.rb +0 -122
- data/lib/sportdb/lang.rb +0 -216
- data/lib/sportdb/matcher.rb +0 -31
- data/lib/sportdb/models/assoc.rb +0 -106
- data/lib/sportdb/models/assoc_assoc.rb +0 -15
- data/lib/sportdb/models/badge.rb +0 -14
- data/lib/sportdb/models/event.rb +0 -65
- data/lib/sportdb/models/event_ground.rb +0 -15
- data/lib/sportdb/models/event_team.rb +0 -16
- data/lib/sportdb/models/forward.rb +0 -55
- data/lib/sportdb/models/game.rb +0 -244
- data/lib/sportdb/models/goal.rb +0 -15
- data/lib/sportdb/models/ground.rb +0 -100
- data/lib/sportdb/models/group.rb +0 -23
- data/lib/sportdb/models/group_team.rb +0 -14
- data/lib/sportdb/models/league.rb +0 -83
- data/lib/sportdb/models/person.rb +0 -21
- data/lib/sportdb/models/roster.rb +0 -18
- data/lib/sportdb/models/round.rb +0 -22
- data/lib/sportdb/models/season.rb +0 -14
- data/lib/sportdb/models/stats/alltime_standing.rb +0 -44
- data/lib/sportdb/models/stats/alltime_standing_entry.rb +0 -23
- data/lib/sportdb/models/stats/event_standing.rb +0 -55
- data/lib/sportdb/models/stats/event_standing_entry.rb +0 -21
- data/lib/sportdb/models/stats/group_standing.rb +0 -50
- data/lib/sportdb/models/stats/group_standing_entry.rb +0 -22
- data/lib/sportdb/models/team.rb +0 -119
- data/lib/sportdb/models/team_comp.rb +0 -64
- data/lib/sportdb/models/utils.rb +0 -78
- data/lib/sportdb/models/world/city.rb +0 -21
- data/lib/sportdb/models/world/continent.rb +0 -20
- data/lib/sportdb/models/world/country.rb +0 -19
- data/lib/sportdb/models/world/region.rb +0 -19
- data/lib/sportdb/patterns.rb +0 -38
- data/lib/sportdb/reader.rb +0 -130
- data/lib/sportdb/reader_file.rb +0 -123
- data/lib/sportdb/reader_zip.rb +0 -165
- data/lib/sportdb/readers/assoc.rb +0 -54
- data/lib/sportdb/readers/event.rb +0 -200
- data/lib/sportdb/readers/game.rb +0 -877
- 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/schema.rb +0 -373
- data/lib/sportdb/standings.rb +0 -178
- data/lib/sportdb/stats.rb +0 -27
- 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 -43
- data/lib/sportdb/version.rb +0 -22
- 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/leagues.txt +0 -11
- data/test/data/at-austria/teams.txt +0 -75
- data/test/data/at-austria/teams_2.txt +0 -34
- 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/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/helper.rb +0 -120
- data/test/test_assoc_reader.rb +0 -201
- data/test/test_changes.rb +0 -74
- data/test/test_cursor.rb +0 -50
- data/test/test_date.rb +0 -100
- data/test/test_goals.rb +0 -109
- data/test/test_lang.rb +0 -130
- data/test/test_load.rb +0 -61
- data/test/test_reader.rb +0 -88
- data/test/test_reader_from_string.rb +0 -65
- 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_scores.rb +0 -70
- 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/test/test_winner.rb +0 -95
data/lib/sportdb/cli/main.rb
CHANGED
@@ -8,22 +8,13 @@
|
|
8
8
|
# setup --delete --sport
|
9
9
|
# --include ../../github/football.db
|
10
10
|
|
11
|
-
|
12
|
-
require 'gli'
|
13
11
|
|
14
12
|
include GLI::App
|
15
13
|
|
16
|
-
# our own code / additional for cli only
|
17
|
-
|
18
|
-
require 'logutils/db'
|
19
|
-
require 'sportdb/cli/opts'
|
20
|
-
|
21
|
-
require 'datafile' ## lets us use Datafile::Builder,Datafile etc.
|
22
|
-
|
23
14
|
|
24
15
|
program_desc 'sport.db command line tool'
|
25
16
|
|
26
|
-
version
|
17
|
+
version SportDbCli::VERSION
|
27
18
|
|
28
19
|
|
29
20
|
LogUtils::Logger.root.level = :info # set logging level to info
|
@@ -72,7 +63,7 @@ switch [:q, :quiet], negatable: false
|
|
72
63
|
|
73
64
|
|
74
65
|
def connect_to_db( options )
|
75
|
-
puts
|
66
|
+
puts SportDbCli.banner
|
76
67
|
|
77
68
|
puts "working directory: #{Dir.pwd}"
|
78
69
|
|
@@ -330,7 +321,7 @@ command :logs do |c|
|
|
330
321
|
|
331
322
|
connect_to_db( opts )
|
332
323
|
|
333
|
-
LogDb::
|
324
|
+
LogDb::Model::Log.all.each do |log|
|
334
325
|
puts "[#{log.level}] -- #{log.msg}"
|
335
326
|
end
|
336
327
|
|
@@ -394,7 +385,7 @@ pre do |g,c,o,args|
|
|
394
385
|
opts.merge_gli_options!( g )
|
395
386
|
opts.merge_gli_options!( o )
|
396
387
|
|
397
|
-
puts
|
388
|
+
puts SportDbCli.banner
|
398
389
|
|
399
390
|
if opts.verbose?
|
400
391
|
LogUtils::Logger.root.level = :debug
|
@@ -422,4 +413,4 @@ on_error do |e|
|
|
422
413
|
end
|
423
414
|
|
424
415
|
|
425
|
-
exit run(ARGV)
|
416
|
+
exit run(ARGV)
|
data/lib/sportdb/cli/opts.rb
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
# Note: SportDb::VERSION gets used by core, that is, sportdb-models
|
4
|
+
|
5
|
+
|
6
|
+
module SportDbCli # todo/check - rename to SportDbTool or SportDbCommands or SportDbShell ??
|
7
|
+
|
8
|
+
MAJOR = 1 ## todo: namespace inside version or something - why? why not??
|
9
|
+
MINOR = 10
|
10
|
+
PATCH = 0
|
11
|
+
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
12
|
+
|
13
|
+
def self.version
|
14
|
+
VERSION
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.banner
|
18
|
+
"sportdb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.root
|
22
|
+
"#{File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}"
|
23
|
+
end
|
24
|
+
|
25
|
+
end # module SportDbCli
|
26
|
+
|
metadata
CHANGED
@@ -1,113 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: sportdb-models
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: logutils
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: textutils
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 0.9.10
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.9.10
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: worlddb
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 2.0.8
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 2.0.8
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: tagutils
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: persondb
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: activerecord-utils
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
19
|
+
version: 1.10.0
|
104
20
|
type: :runtime
|
105
21
|
prerelease: false
|
106
22
|
version_requirements: !ruby/object:Gem::Requirement
|
107
23
|
requirements:
|
108
24
|
- - ">="
|
109
25
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
26
|
+
version: 1.10.0
|
111
27
|
- !ruby/object:Gem::Dependency
|
112
28
|
name: fetcher
|
113
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,34 +52,6 @@ dependencies:
|
|
136
52
|
- - ">="
|
137
53
|
- !ruby/object:Gem::Version
|
138
54
|
version: 0.1.1
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: sportdb-keys
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: sportdb-console
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
55
|
- !ruby/object:Gem::Dependency
|
168
56
|
name: sportdb-update
|
169
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,7 +95,7 @@ dependencies:
|
|
207
95
|
- !ruby/object:Gem::Version
|
208
96
|
version: 2.12.2
|
209
97
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
98
|
+
name: sqlite3
|
211
99
|
requirement: !ruby/object:Gem::Requirement
|
212
100
|
requirements:
|
213
101
|
- - ">="
|
@@ -248,7 +136,7 @@ dependencies:
|
|
248
136
|
- - "~>"
|
249
137
|
- !ruby/object:Gem::Version
|
250
138
|
version: '3.13'
|
251
|
-
description: sportdb - sport.db
|
139
|
+
description: sportdb - sport.db Command Line Tool
|
252
140
|
email: opensport@googlegroups.com
|
253
141
|
executables:
|
254
142
|
- sportdb
|
@@ -258,152 +146,15 @@ extra_rdoc_files:
|
|
258
146
|
- Manifest.txt
|
259
147
|
- README.md
|
260
148
|
files:
|
261
|
-
- ".gemtest"
|
262
149
|
- HISTORY.md
|
263
150
|
- Manifest.txt
|
264
151
|
- README.md
|
265
152
|
- Rakefile
|
266
153
|
- bin/sportdb
|
267
|
-
- config/fixtures/de.yml
|
268
|
-
- config/fixtures/en.yml
|
269
|
-
- config/fixtures/es.yml
|
270
|
-
- config/fixtures/fr.yml
|
271
|
-
- config/fixtures/it.yml
|
272
|
-
- config/fixtures/pt.yml
|
273
|
-
- config/fixtures/ro.yml
|
274
|
-
- data/seasons.txt
|
275
|
-
- data/setups/all.txt
|
276
154
|
- lib/sportdb.rb
|
277
|
-
- lib/sportdb/calc.rb
|
278
155
|
- lib/sportdb/cli/main.rb
|
279
156
|
- lib/sportdb/cli/opts.rb
|
280
|
-
- lib/sportdb/
|
281
|
-
- lib/sportdb/finders/date.rb
|
282
|
-
- lib/sportdb/finders/goals.rb
|
283
|
-
- lib/sportdb/finders/scores.rb
|
284
|
-
- lib/sportdb/lang.rb
|
285
|
-
- lib/sportdb/matcher.rb
|
286
|
-
- lib/sportdb/models/assoc.rb
|
287
|
-
- lib/sportdb/models/assoc_assoc.rb
|
288
|
-
- lib/sportdb/models/badge.rb
|
289
|
-
- lib/sportdb/models/event.rb
|
290
|
-
- lib/sportdb/models/event_ground.rb
|
291
|
-
- lib/sportdb/models/event_team.rb
|
292
|
-
- lib/sportdb/models/forward.rb
|
293
|
-
- lib/sportdb/models/game.rb
|
294
|
-
- lib/sportdb/models/goal.rb
|
295
|
-
- lib/sportdb/models/ground.rb
|
296
|
-
- lib/sportdb/models/group.rb
|
297
|
-
- lib/sportdb/models/group_team.rb
|
298
|
-
- lib/sportdb/models/league.rb
|
299
|
-
- lib/sportdb/models/person.rb
|
300
|
-
- lib/sportdb/models/roster.rb
|
301
|
-
- lib/sportdb/models/round.rb
|
302
|
-
- lib/sportdb/models/season.rb
|
303
|
-
- lib/sportdb/models/stats/alltime_standing.rb
|
304
|
-
- lib/sportdb/models/stats/alltime_standing_entry.rb
|
305
|
-
- lib/sportdb/models/stats/event_standing.rb
|
306
|
-
- lib/sportdb/models/stats/event_standing_entry.rb
|
307
|
-
- lib/sportdb/models/stats/group_standing.rb
|
308
|
-
- lib/sportdb/models/stats/group_standing_entry.rb
|
309
|
-
- lib/sportdb/models/team.rb
|
310
|
-
- lib/sportdb/models/team_comp.rb
|
311
|
-
- lib/sportdb/models/utils.rb
|
312
|
-
- lib/sportdb/models/world/city.rb
|
313
|
-
- lib/sportdb/models/world/continent.rb
|
314
|
-
- lib/sportdb/models/world/country.rb
|
315
|
-
- lib/sportdb/models/world/region.rb
|
316
|
-
- lib/sportdb/patterns.rb
|
317
|
-
- lib/sportdb/reader.rb
|
318
|
-
- lib/sportdb/reader_file.rb
|
319
|
-
- lib/sportdb/reader_zip.rb
|
320
|
-
- lib/sportdb/readers/assoc.rb
|
321
|
-
- lib/sportdb/readers/event.rb
|
322
|
-
- lib/sportdb/readers/game.rb
|
323
|
-
- lib/sportdb/readers/ground.rb
|
324
|
-
- lib/sportdb/readers/league.rb
|
325
|
-
- lib/sportdb/readers/season.rb
|
326
|
-
- lib/sportdb/readers/squad_club.rb
|
327
|
-
- lib/sportdb/readers/squad_national_team.rb
|
328
|
-
- lib/sportdb/readers/team.rb
|
329
|
-
- lib/sportdb/schema.rb
|
330
|
-
- lib/sportdb/standings.rb
|
331
|
-
- lib/sportdb/stats.rb
|
332
|
-
- lib/sportdb/utils.rb
|
333
|
-
- lib/sportdb/utils_date.rb
|
334
|
-
- lib/sportdb/utils_goals.rb
|
335
|
-
- lib/sportdb/utils_group.rb
|
336
|
-
- lib/sportdb/utils_map.rb
|
337
|
-
- lib/sportdb/utils_round.rb
|
338
|
-
- lib/sportdb/utils_scores.rb
|
339
|
-
- lib/sportdb/utils_teams.rb
|
340
|
-
- lib/sportdb/version.rb
|
341
|
-
- test/data/at-austria/2013_14/bl.txt
|
342
|
-
- test/data/at-austria/2013_14/bl.yml
|
343
|
-
- test/data/at-austria/2013_14/bl_ii.txt
|
344
|
-
- test/data/at-austria/2013_14/el.txt
|
345
|
-
- test/data/at-austria/2013_14/el.yml
|
346
|
-
- test/data/at-austria/2013_14/squads/austria.txt
|
347
|
-
- test/data/at-austria/2013_14/squads/salzburg.txt
|
348
|
-
- test/data/at-austria/leagues.txt
|
349
|
-
- test/data/at-austria/teams.txt
|
350
|
-
- test/data/at-austria/teams_2.txt
|
351
|
-
- test/data/national-teams/assocs.txt
|
352
|
-
- test/data/national-teams/europe/assocs.txt
|
353
|
-
- test/data/national-teams/europe/teams.txt
|
354
|
-
- test/data/national-teams/north-america/assocs.txt
|
355
|
-
- test/data/national-teams/north-america/teams.txt
|
356
|
-
- test/data/national-teams/teams.txt
|
357
|
-
- test/data/players/europe/at-austria/players.txt
|
358
|
-
- test/data/players/europe/de-deutschland/players.txt
|
359
|
-
- test/data/players/south-america/br-brazil/players.txt
|
360
|
-
- test/data/world-cup/1930/cup.txt
|
361
|
-
- test/data/world-cup/1930/cup.yml
|
362
|
-
- test/data/world-cup/1930/cup_goals.txt
|
363
|
-
- test/data/world-cup/1930/cup_goals.yml
|
364
|
-
- test/data/world-cup/1954/cup.txt
|
365
|
-
- test/data/world-cup/1954/cup.yml
|
366
|
-
- test/data/world-cup/1962/cup.txt
|
367
|
-
- test/data/world-cup/1962/cup.yml
|
368
|
-
- test/data/world-cup/1974/cup.yml
|
369
|
-
- test/data/world-cup/1974/cup_finals.txt
|
370
|
-
- test/data/world-cup/1974/cup_i.txt
|
371
|
-
- test/data/world-cup/1974/cup_ii.txt
|
372
|
-
- test/data/world-cup/2014/cup.txt
|
373
|
-
- test/data/world-cup/2014/cup.yml
|
374
|
-
- test/data/world-cup/2014/squads/br-brazil.txt
|
375
|
-
- test/data/world-cup/2014/squads/de-deutschland.txt
|
376
|
-
- test/data/world-cup/2014/squads/jp-japan.txt
|
377
|
-
- test/data/world-cup/2014/squads/uy-uruguay.txt
|
378
|
-
- test/data/world-cup/leagues.txt
|
379
|
-
- test/data/world-cup/seasons_1930.txt
|
380
|
-
- test/data/world-cup/seasons_1954.txt
|
381
|
-
- test/data/world-cup/seasons_1962.txt
|
382
|
-
- test/data/world-cup/seasons_1974.txt
|
383
|
-
- test/data/world-cup/teams_1930.txt
|
384
|
-
- test/data/world-cup/teams_1954.txt
|
385
|
-
- test/data/world-cup/teams_1962.txt
|
386
|
-
- test/data/world-cup/teams_1974.txt
|
387
|
-
- test/helper.rb
|
388
|
-
- test/test_assoc_reader.rb
|
389
|
-
- test/test_changes.rb
|
390
|
-
- test/test_cursor.rb
|
391
|
-
- test/test_date.rb
|
392
|
-
- test/test_goals.rb
|
393
|
-
- test/test_lang.rb
|
394
|
-
- test/test_load.rb
|
395
|
-
- test/test_reader.rb
|
396
|
-
- test/test_reader_from_string.rb
|
397
|
-
- test/test_round_auto.rb
|
398
|
-
- test/test_round_def.rb
|
399
|
-
- test/test_round_header.rb
|
400
|
-
- test/test_scores.rb
|
401
|
-
- test/test_squad_club_reader.rb
|
402
|
-
- test/test_squad_national_team_reader.rb
|
403
|
-
- test/test_standings.rb
|
404
|
-
- test/test_standings_ii.rb
|
405
|
-
- test/test_utils.rb
|
406
|
-
- test/test_winner.rb
|
157
|
+
- lib/sportdb/cli/version.rb
|
407
158
|
homepage: https://github.com/sportdb/sport.db.ruby
|
408
159
|
licenses:
|
409
160
|
- Public Domain
|
@@ -435,24 +186,5 @@ rubyforge_project:
|
|
435
186
|
rubygems_version: 2.4.2
|
436
187
|
signing_key:
|
437
188
|
specification_version: 4
|
438
|
-
summary: sportdb - sport.db
|
439
|
-
test_files:
|
440
|
-
- test/test_date.rb
|
441
|
-
- test/test_lang.rb
|
442
|
-
- test/test_load.rb
|
443
|
-
- test/test_cursor.rb
|
444
|
-
- test/test_standings.rb
|
445
|
-
- test/test_squad_club_reader.rb
|
446
|
-
- test/test_scores.rb
|
447
|
-
- test/test_winner.rb
|
448
|
-
- test/test_standings_ii.rb
|
449
|
-
- test/test_round_def.rb
|
450
|
-
- test/test_utils.rb
|
451
|
-
- test/test_reader_from_string.rb
|
452
|
-
- test/test_round_header.rb
|
453
|
-
- test/test_round_auto.rb
|
454
|
-
- test/test_goals.rb
|
455
|
-
- test/test_squad_national_team_reader.rb
|
456
|
-
- test/test_reader.rb
|
457
|
-
- test/test_assoc_reader.rb
|
458
|
-
- test/test_changes.rb
|
189
|
+
summary: sportdb - sport.db Command Line Tool
|
190
|
+
test_files: []
|
data/.gemtest
DELETED
File without changes
|
data/config/fixtures/de.yml
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
###########################
|
2
|
-
# known keywords for fixtures
|
3
|
-
|
4
|
-
|
5
|
-
group: Gruppe
|
6
|
-
|
7
|
-
round: Spieltag|Runde
|
8
|
-
|
9
|
-
|
10
|
-
stage: Gruppenphase|Qualifikation|Play-off|Finalrunde|K.-o.-Phase
|
11
|
-
|
12
|
-
|
13
|
-
### Knock out rounds
|
14
|
-
|
15
|
-
## fix: add playoffs:
|
16
|
-
round32: Sechzehntelfinale|1/16 Finale
|
17
|
-
round16: Achtelfinale|1/8 Finale
|
18
|
-
quarterfinals: Viertelfinale|1/4 Finale
|
19
|
-
semifinals: Halbfinale|Semifinale|1/2 Finale
|
20
|
-
fifthplace: Spiel um Platz 5
|
21
|
-
thirdplace: Spiel um Platz 3
|
22
|
-
final: Finale|Endspiel
|
23
|
-
|
24
|
-
### Pair matches/games if marked with leg1 n leg2
|
25
|
-
|
26
|
-
leg1: Hin|Hinspiel|Hinspiele
|
27
|
-
leg2: Rück|Rückspiel|Rückspiele
|
28
|
-
|
29
|
-
|
30
|
-
#######################
|
31
|
-
# months of year
|
32
|
-
|
33
|
-
january: Jänner|Januar
|
34
|
-
february: Feber|Februar
|
35
|
-
march: März
|
36
|
-
april: April
|
37
|
-
may: Mai
|
38
|
-
june: Juni
|
39
|
-
july: Juli
|
40
|
-
august: August
|
41
|
-
september: September
|
42
|
-
october: Oktober
|
43
|
-
november: November
|
44
|
-
december: Dezember
|
45
|
-
|
46
|
-
|