sportdb 1.9.8 → 1.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Manifest.txt +2 -0
- data/lib/sportdb.rb +6 -1
- data/lib/sportdb/reader.rb +33 -43
- data/lib/sportdb/reader_file.rb +123 -0
- data/lib/sportdb/reader_zip.rb +12 -0
- data/lib/sportdb/readers/assoc.rb +19 -6
- data/lib/sportdb/readers/event.rb +28 -33
- data/lib/sportdb/readers/game.rb +60 -48
- data/lib/sportdb/readers/ground.rb +18 -4
- data/lib/sportdb/readers/league.rb +21 -5
- data/lib/sportdb/readers/season.rb +19 -6
- data/lib/sportdb/readers/squad_club.rb +24 -23
- data/lib/sportdb/readers/squad_national_team.rb +23 -23
- data/lib/sportdb/readers/team.rb +18 -5
- data/lib/sportdb/version.rb +1 -1
- data/test/helper.rb +54 -1
- data/test/test_assoc_reader.rb +12 -10
- data/test/test_changes.rb +1 -1
- data/test/test_cursor.rb +1 -1
- data/test/test_date.rb +1 -1
- data/test/test_goals.rb +9 -9
- data/test/test_lang.rb +1 -1
- data/test/test_load.rb +5 -5
- data/test/test_reader.rb +18 -16
- data/test/test_reader_from_string.rb +17 -11
- data/test/test_round_auto.rb +37 -37
- data/test/test_round_def.rb +1 -1
- data/test/test_round_header.rb +1 -1
- data/test/test_scores.rb +1 -1
- data/test/test_squad_club_reader.rb +15 -15
- data/test/test_squad_national_team_reader.rb +22 -22
- data/test/test_standings.rb +9 -9
- data/test/test_standings_ii.rb +8 -8
- data/test/test_utils.rb +1 -1
- data/test/test_winner.rb +1 -1
- metadata +126 -82
data/test/test_round_def.rb
CHANGED
data/test/test_round_header.rb
CHANGED
data/test/test_scores.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
require 'helper'
|
11
11
|
|
12
|
-
class
|
12
|
+
class TestSquadClubReaderXX < MiniTest::Test # note: TestSquadClubReader alreay defined, thus, add xx
|
13
13
|
|
14
14
|
def setup
|
15
15
|
WorldDb.delete!
|
@@ -24,28 +24,28 @@ class TestSquadClubReader < MiniTest::Unit::TestCase
|
|
24
24
|
|
25
25
|
at = Country.create!( key: 'at', name: 'Austria', code: 'AUT', pop: 1, area: 1)
|
26
26
|
|
27
|
-
teamreader =
|
28
|
-
teamreader.read(
|
27
|
+
teamreader = TestTeamReader.from_file( 'at-austria/teams', country_id: at.id )
|
28
|
+
teamreader.read()
|
29
29
|
|
30
|
-
leaguereader =
|
31
|
-
leaguereader.read(
|
30
|
+
leaguereader = TestLeagueReader.from_file( 'at-austria/leagues', country_id: at.id )
|
31
|
+
leaguereader.read()
|
32
32
|
|
33
|
-
gamereader = GameReader.new( SportDb.test_data_path )
|
34
33
|
## check/fix: is country_id more_attribs needed? why? why not?
|
35
|
-
gamereader.
|
34
|
+
gamereader = TestGameReader.from_file( 'at-austria/2013_14/bl', country_id: at.id )
|
35
|
+
gamereader.read()
|
36
36
|
|
37
37
|
bl = Event.find_by_key!( 'at.2013/14' )
|
38
38
|
|
39
39
|
assert_equal 10, bl.teams.count
|
40
40
|
assert_equal 36, bl.rounds.count
|
41
41
|
assert_equal 180, bl.games.count # 36x5 = 180
|
42
|
-
|
42
|
+
|
43
43
|
## add players
|
44
44
|
## -- read persons
|
45
|
-
personreader = PersonReader.new( SportDb.test_data_path )
|
46
|
-
personreader.read( 'players/europe/at-austria/players', country_id: at.id )
|
45
|
+
## personreader = PersonReader.new( SportDb.test_data_path )
|
46
|
+
## personreader.read( 'players/europe/at-austria/players', country_id: at.id )
|
47
47
|
|
48
|
-
assert_equal 30, Person.count
|
48
|
+
## assert_equal 30, Person.count
|
49
49
|
end
|
50
50
|
|
51
51
|
|
@@ -54,8 +54,8 @@ class TestSquadClubReader < MiniTest::Unit::TestCase
|
|
54
54
|
|
55
55
|
event = Event.find_by_key!( 'at.2013/14' )
|
56
56
|
|
57
|
-
reader =
|
58
|
-
reader.read(
|
57
|
+
reader = TestClubSquadReader.from_file( 'at-austria/2013_14/squads/austria', team_id: austria.id, event_id: event.id )
|
58
|
+
reader.read()
|
59
59
|
|
60
60
|
assert_equal 28, Roster.count
|
61
61
|
end # method test_br
|
@@ -66,8 +66,8 @@ class TestSquadClubReader < MiniTest::Unit::TestCase
|
|
66
66
|
|
67
67
|
event = Event.find_by_key!( 'at.2013/14' )
|
68
68
|
|
69
|
-
reader =
|
70
|
-
reader.read(
|
69
|
+
reader = TestClubSquadReader.from_file( 'at-austria/2013_14/squads/salzburg', team_id: salzburg.id, event_id: event.id )
|
70
|
+
reader.read()
|
71
71
|
|
72
72
|
assert_equal 27, Roster.count
|
73
73
|
end # method test_salzburg
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
require 'helper'
|
11
11
|
|
12
|
-
class TestSquadNationalTeamReader < MiniTest::
|
12
|
+
class TestSquadNationalTeamReader < MiniTest::Test
|
13
13
|
|
14
14
|
def setup
|
15
15
|
WorldDb.delete!
|
@@ -22,36 +22,36 @@ class TestSquadNationalTeamReader < MiniTest::Unit::TestCase
|
|
22
22
|
def add_world_cup_2014
|
23
23
|
SportDb.read_builtin # add 2014 season
|
24
24
|
|
25
|
-
leaguereader =
|
26
|
-
leaguereader.read(
|
25
|
+
leaguereader = TestLeagueReader.from_file( 'world-cup/leagues' )
|
26
|
+
leaguereader.read()
|
27
27
|
|
28
28
|
assert_equal 1, League.count
|
29
29
|
|
30
30
|
l = League.find_by_key!( 'world' )
|
31
31
|
assert_equal 'World Cup', l.title
|
32
32
|
|
33
|
-
gamereader =
|
34
|
-
gamereader.read(
|
33
|
+
gamereader = TestGameReader.from_file( 'world-cup/2014/cup' )
|
34
|
+
gamereader.read()
|
35
35
|
|
36
36
|
assert_equal 1, Event.count
|
37
37
|
end
|
38
38
|
|
39
39
|
def test_br
|
40
40
|
br = Country.create!( key: 'br', title: 'Brazil', code: 'BRA', pop: 1, area: 1)
|
41
|
-
|
42
|
-
## read persons
|
43
|
-
personreader = PersonReader.new( SportDb.test_data_path )
|
44
|
-
personreader.read( 'players/south-america/br-brazil/players', country_id: br.id )
|
45
41
|
|
46
|
-
|
42
|
+
## read persons
|
43
|
+
## personreader = PersonReader.new( SportDb.test_data_path )
|
44
|
+
## personreader.read( 'players/south-america/br-brazil/players', country_id: br.id )
|
45
|
+
##
|
46
|
+
## assert_equal 30, Person.count
|
47
47
|
|
48
48
|
bra = Team.create!( key: 'bra', title: 'Brazil', code: 'BRA', country_id: br.id )
|
49
49
|
|
50
50
|
|
51
51
|
event = Event.find_by_key!( 'world.2014' )
|
52
52
|
|
53
|
-
reader =
|
54
|
-
reader.read(
|
53
|
+
reader = TestNationalTeamSquadReader.from_file( 'world-cup/2014/squads/br-brazil', team_id: bra.id, event_id: event.id )
|
54
|
+
reader.read()
|
55
55
|
|
56
56
|
assert_equal 23, Roster.count
|
57
57
|
end # method test_br
|
@@ -61,17 +61,17 @@ class TestSquadNationalTeamReader < MiniTest::Unit::TestCase
|
|
61
61
|
de = Country.create!( key: 'de', title: 'Germany', code: 'GER', pop: 1, area: 1)
|
62
62
|
|
63
63
|
## read persons
|
64
|
-
personreader = PersonReader.new( SportDb.test_data_path )
|
65
|
-
personreader.read( 'players/europe/de-deutschland/players', country_id: de.id )
|
66
|
-
|
67
|
-
assert_equal 27, Person.count
|
64
|
+
## personreader = PersonReader.new( SportDb.test_data_path )
|
65
|
+
## personreader.read( 'players/europe/de-deutschland/players', country_id: de.id )
|
66
|
+
##
|
67
|
+
## assert_equal 27, Person.count
|
68
68
|
|
69
69
|
ger = Team.create!( key: 'ger', title: 'Germany', code: 'GER', country_id: de.id )
|
70
70
|
|
71
71
|
event = Event.find_by_key!( 'world.2014' )
|
72
72
|
|
73
|
-
reader =
|
74
|
-
reader.read(
|
73
|
+
reader = TestNationalTeamSquadReader.from_file( 'world-cup/2014/squads/de-deutschland', team_id: ger.id, event_id: event.id )
|
74
|
+
reader.read()
|
75
75
|
|
76
76
|
assert_equal 3, Roster.count
|
77
77
|
end # method test_de
|
@@ -87,8 +87,8 @@ class TestSquadNationalTeamReader < MiniTest::Unit::TestCase
|
|
87
87
|
|
88
88
|
event = Event.find_by_key!( 'world.2014' )
|
89
89
|
|
90
|
-
reader =
|
91
|
-
reader.read(
|
90
|
+
reader = TestNationalTeamSquadReader.from_file( 'world-cup/2014/squads/uy-uruguay', team_id: uru.id, event_id: event.id )
|
91
|
+
reader.read()
|
92
92
|
|
93
93
|
assert_equal 23, Roster.count
|
94
94
|
assert_equal 23, Person.count
|
@@ -105,8 +105,8 @@ class TestSquadNationalTeamReader < MiniTest::Unit::TestCase
|
|
105
105
|
|
106
106
|
event = Event.find_by_key!( 'world.2014' )
|
107
107
|
|
108
|
-
reader =
|
109
|
-
reader.read(
|
108
|
+
reader = TestNationalTeamSquadReader.from_file( 'world-cup/2014/squads/jp-japan', team_id: jpn.id, event_id: event.id )
|
109
|
+
reader.read()
|
110
110
|
|
111
111
|
assert_equal 23, Roster.count
|
112
112
|
assert_equal 23, Person.count
|
data/test/test_standings.rb
CHANGED
@@ -11,7 +11,7 @@ require 'helper'
|
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
class TestStandings < MiniTest::
|
14
|
+
class TestStandings < MiniTest::Test
|
15
15
|
|
16
16
|
def setup
|
17
17
|
WorldDb.delete!
|
@@ -72,17 +72,17 @@ class TestStandings < MiniTest::Unit::TestCase
|
|
72
72
|
|
73
73
|
|
74
74
|
def add_world_cup_1974
|
75
|
-
teamreader =
|
76
|
-
teamreader.read(
|
75
|
+
teamreader = TestTeamReader.from_file( 'world-cup/teams_1974' )
|
76
|
+
teamreader.read()
|
77
77
|
|
78
|
-
seasonreader =
|
79
|
-
seasonreader.read(
|
78
|
+
seasonreader = TestSeasonReader.from_file( 'world-cup/seasons_1974' )
|
79
|
+
seasonreader.read()
|
80
80
|
|
81
|
-
leaguereader =
|
82
|
-
leaguereader.read(
|
81
|
+
leaguereader = TestLeagueReader.from_file( 'world-cup/leagues' )
|
82
|
+
leaguereader.read()
|
83
83
|
|
84
|
-
gamereader =
|
85
|
-
gamereader.read(
|
84
|
+
gamereader = TestGameReader.from_file( 'world-cup/1974/cup' )
|
85
|
+
gamereader.read()
|
86
86
|
|
87
87
|
ev = Event.find_by_key!( 'world.1974' )
|
88
88
|
|
data/test/test_standings_ii.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
require 'helper'
|
11
11
|
|
12
|
-
class
|
12
|
+
class TestStandingsII < MiniTest::Test
|
13
13
|
|
14
14
|
def setup
|
15
15
|
WorldDb.delete!
|
@@ -20,15 +20,15 @@ class TestStandingsIi < MiniTest::Unit::TestCase
|
|
20
20
|
def test_bl
|
21
21
|
at = Country.create!( key: 'at', name: 'Austria', code: 'AUT', pop: 1, area: 1)
|
22
22
|
|
23
|
-
teamreader =
|
24
|
-
teamreader.read(
|
23
|
+
teamreader = TestTeamReader.from_file( 'at-austria/teams', country_id: at.id )
|
24
|
+
teamreader.read()
|
25
25
|
|
26
|
-
leaguereader =
|
27
|
-
leaguereader.read(
|
26
|
+
leaguereader = TestLeagueReader.from_file( 'at-austria/leagues', country_id: at.id )
|
27
|
+
leaguereader.read()
|
28
28
|
|
29
|
-
gamereader = GameReader.new( SportDb.test_data_path )
|
30
29
|
## check/fix: is country_id more_attribs needed? why? why not?
|
31
|
-
gamereader.
|
30
|
+
gamereader = TestGameReader.from_file( 'at-austria/2013_14/bl', country_id: at.id )
|
31
|
+
gamereader.read()
|
32
32
|
|
33
33
|
bl = Event.find_by_key!( 'at.2013/14' )
|
34
34
|
|
@@ -43,4 +43,4 @@ class TestStandingsIi < MiniTest::Unit::TestCase
|
|
43
43
|
end
|
44
44
|
|
45
45
|
|
46
|
-
end # class
|
46
|
+
end # class TestStandingsII
|
data/test/test_utils.rb
CHANGED
data/test/test_winner.rb
CHANGED
metadata
CHANGED
@@ -1,192 +1,239 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
5
|
-
prerelease:
|
4
|
+
version: 1.9.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Gerald Bauer
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-11-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: props
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: logutils
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
34
|
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: textutils
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
|
-
- -
|
45
|
+
- - ">="
|
42
46
|
- !ruby/object:Gem::Version
|
43
47
|
version: '0'
|
44
48
|
type: :runtime
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: worlddb
|
49
|
-
requirement:
|
50
|
-
none: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ">="
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: 2.0.2
|
55
62
|
type: :runtime
|
56
63
|
prerelease: false
|
57
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.2
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: tagutils
|
60
|
-
requirement:
|
61
|
-
none: false
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
62
72
|
requirements:
|
63
|
-
- -
|
73
|
+
- - ">="
|
64
74
|
- !ruby/object:Gem::Version
|
65
75
|
version: '0'
|
66
76
|
type: :runtime
|
67
77
|
prerelease: false
|
68
|
-
version_requirements:
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: persondb
|
71
|
-
requirement:
|
72
|
-
none: false
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
73
86
|
requirements:
|
74
|
-
- -
|
87
|
+
- - ">="
|
75
88
|
- !ruby/object:Gem::Version
|
76
89
|
version: '0'
|
77
90
|
type: :runtime
|
78
91
|
prerelease: false
|
79
|
-
version_requirements:
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
80
97
|
- !ruby/object:Gem::Dependency
|
81
98
|
name: activerecord-utils
|
82
|
-
requirement:
|
83
|
-
none: false
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
84
100
|
requirements:
|
85
|
-
- -
|
101
|
+
- - ">="
|
86
102
|
- !ruby/object:Gem::Version
|
87
103
|
version: '0'
|
88
104
|
type: :runtime
|
89
105
|
prerelease: false
|
90
|
-
version_requirements:
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
91
111
|
- !ruby/object:Gem::Dependency
|
92
112
|
name: fetcher
|
93
|
-
requirement:
|
94
|
-
none: false
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
95
114
|
requirements:
|
96
|
-
- -
|
115
|
+
- - ">="
|
97
116
|
- !ruby/object:Gem::Version
|
98
117
|
version: '0.3'
|
99
118
|
type: :runtime
|
100
119
|
prerelease: false
|
101
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.3'
|
102
125
|
- !ruby/object:Gem::Dependency
|
103
126
|
name: sportdb-keys
|
104
|
-
requirement:
|
105
|
-
none: false
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
106
128
|
requirements:
|
107
|
-
- -
|
129
|
+
- - ">="
|
108
130
|
- !ruby/object:Gem::Version
|
109
131
|
version: '0'
|
110
132
|
type: :runtime
|
111
133
|
prerelease: false
|
112
|
-
version_requirements:
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
113
139
|
- !ruby/object:Gem::Dependency
|
114
140
|
name: sportdb-console
|
115
|
-
requirement:
|
116
|
-
none: false
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
117
142
|
requirements:
|
118
|
-
- -
|
143
|
+
- - ">="
|
119
144
|
- !ruby/object:Gem::Version
|
120
145
|
version: '0'
|
121
146
|
type: :runtime
|
122
147
|
prerelease: false
|
123
|
-
version_requirements:
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
124
153
|
- !ruby/object:Gem::Dependency
|
125
154
|
name: sportdb-update
|
126
|
-
requirement:
|
127
|
-
none: false
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
128
156
|
requirements:
|
129
|
-
- -
|
157
|
+
- - ">="
|
130
158
|
- !ruby/object:Gem::Version
|
131
159
|
version: '0'
|
132
160
|
type: :runtime
|
133
161
|
prerelease: false
|
134
|
-
version_requirements:
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
135
167
|
- !ruby/object:Gem::Dependency
|
136
168
|
name: sportdb-service
|
137
|
-
requirement:
|
138
|
-
none: false
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
139
170
|
requirements:
|
140
|
-
- -
|
171
|
+
- - ">="
|
141
172
|
- !ruby/object:Gem::Version
|
142
173
|
version: '0'
|
143
174
|
type: :runtime
|
144
175
|
prerelease: false
|
145
|
-
version_requirements:
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
146
181
|
- !ruby/object:Gem::Dependency
|
147
182
|
name: gli
|
148
|
-
requirement:
|
149
|
-
none: false
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
150
184
|
requirements:
|
151
|
-
- -
|
185
|
+
- - ">="
|
152
186
|
- !ruby/object:Gem::Version
|
153
187
|
version: 2.5.6
|
154
188
|
type: :runtime
|
155
189
|
prerelease: false
|
156
|
-
version_requirements:
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 2.5.6
|
157
195
|
- !ruby/object:Gem::Dependency
|
158
196
|
name: activerecord
|
159
|
-
requirement:
|
160
|
-
none: false
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
161
198
|
requirements:
|
162
|
-
- -
|
199
|
+
- - ">="
|
163
200
|
- !ruby/object:Gem::Version
|
164
201
|
version: '0'
|
165
202
|
type: :runtime
|
166
203
|
prerelease: false
|
167
|
-
version_requirements:
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
168
209
|
- !ruby/object:Gem::Dependency
|
169
210
|
name: rdoc
|
170
|
-
requirement:
|
171
|
-
none: false
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
172
212
|
requirements:
|
173
|
-
- - ~>
|
213
|
+
- - "~>"
|
174
214
|
- !ruby/object:Gem::Version
|
175
215
|
version: '4.0'
|
176
216
|
type: :development
|
177
217
|
prerelease: false
|
178
|
-
version_requirements:
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '4.0'
|
179
223
|
- !ruby/object:Gem::Dependency
|
180
224
|
name: hoe
|
181
|
-
requirement:
|
182
|
-
none: false
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
183
226
|
requirements:
|
184
|
-
- - ~>
|
227
|
+
- - "~>"
|
185
228
|
- !ruby/object:Gem::Version
|
186
|
-
version: '3.
|
229
|
+
version: '3.13'
|
187
230
|
type: :development
|
188
231
|
prerelease: false
|
189
|
-
version_requirements:
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '3.13'
|
190
237
|
description: sportdb - sport.db command line tool
|
191
238
|
email: opensport@googlegroups.com
|
192
239
|
executables:
|
@@ -197,6 +244,7 @@ extra_rdoc_files:
|
|
197
244
|
- Manifest.txt
|
198
245
|
- README.md
|
199
246
|
files:
|
247
|
+
- ".gemtest"
|
200
248
|
- HISTORY.md
|
201
249
|
- Manifest.txt
|
202
250
|
- README.md
|
@@ -253,6 +301,8 @@ files:
|
|
253
301
|
- lib/sportdb/models/world/region.rb
|
254
302
|
- lib/sportdb/patterns.rb
|
255
303
|
- lib/sportdb/reader.rb
|
304
|
+
- lib/sportdb/reader_file.rb
|
305
|
+
- lib/sportdb/reader_zip.rb
|
256
306
|
- lib/sportdb/readers/assoc.rb
|
257
307
|
- lib/sportdb/readers/event.rb
|
258
308
|
- lib/sportdb/readers/game.rb
|
@@ -340,43 +390,37 @@ files:
|
|
340
390
|
- test/test_standings_ii.rb
|
341
391
|
- test/test_utils.rb
|
342
392
|
- test/test_winner.rb
|
343
|
-
- .gemtest
|
344
393
|
homepage: https://github.com/sportdb/sport.db.ruby
|
345
394
|
licenses:
|
346
395
|
- Public Domain
|
347
|
-
|
348
|
-
|
396
|
+
metadata: {}
|
397
|
+
post_install_message: |
|
398
|
+
******************************************************************************
|
349
399
|
|
350
400
|
Questions? Comments? Send them along to the mailing list.
|
351
|
-
|
352
401
|
https://groups.google.com/group/opensport
|
353
402
|
|
354
|
-
|
355
403
|
******************************************************************************
|
356
|
-
|
357
|
-
'
|
358
404
|
rdoc_options:
|
359
|
-
- --main
|
405
|
+
- "--main"
|
360
406
|
- README.md
|
361
407
|
require_paths:
|
362
408
|
- lib
|
363
409
|
required_ruby_version: !ruby/object:Gem::Requirement
|
364
|
-
none: false
|
365
410
|
requirements:
|
366
|
-
- -
|
411
|
+
- - ">="
|
367
412
|
- !ruby/object:Gem::Version
|
368
413
|
version: 1.9.2
|
369
414
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
370
|
-
none: false
|
371
415
|
requirements:
|
372
|
-
- -
|
416
|
+
- - ">="
|
373
417
|
- !ruby/object:Gem::Version
|
374
418
|
version: '0'
|
375
419
|
requirements: []
|
376
420
|
rubyforge_project:
|
377
|
-
rubygems_version:
|
421
|
+
rubygems_version: 2.4.2
|
378
422
|
signing_key:
|
379
|
-
specification_version:
|
423
|
+
specification_version: 4
|
380
424
|
summary: sportdb - sport.db command line tool
|
381
425
|
test_files:
|
382
426
|
- test/test_date.rb
|