sportdb-config 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +6 -5
- data/lib/sportdb/config.rb +1 -0
- data/lib/sportdb/config/config.rb +3 -3
- data/lib/sportdb/config/version.rb +1 -1
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab3af5caf98d2b479ec761e631a11fd7cea1fbf2
|
4
|
+
data.tar.gz: 8b9d6b1124ee2ed1736461c570ccc0c413e7fc5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c530137fc8d0998e51d87894809cb181a1771f980294a8f443c06daeeba7fc7db69fe66bcc769c60a8f4e635f3aee5485034c9bd1e79330f4f72dd82e3894fe2
|
7
|
+
data.tar.gz: 7df6258cf6cb2a8b48701786fe67c1f336e1af59a636207cd98bef3762c67a04812bcdb0fa3dfff92b84c6acdb022249e4076ed196fb5bd89513a7906195fb04
|
data/Rakefile
CHANGED
@@ -20,12 +20,13 @@ Hoe.spec 'sportdb-config' do
|
|
20
20
|
self.licenses = ['Public Domain']
|
21
21
|
|
22
22
|
self.extra_deps = [
|
23
|
-
['sportdb-countries', '>= 0.
|
24
|
-
['sportdb-clubs', '>= 0.2.
|
25
|
-
['sportdb-leagues', '>= 0.1.
|
23
|
+
['sportdb-countries', '>= 0.4.0'],
|
24
|
+
['sportdb-clubs', '>= 0.2.2'],
|
25
|
+
['sportdb-leagues', '>= 0.1.1'],
|
26
26
|
## dataset libs / gems
|
27
|
-
['fifa',
|
28
|
-
['footballdb-clubs',
|
27
|
+
['fifa', '>= 1.2.1'], ## for (builtin/default) countries
|
28
|
+
['footballdb-clubs', '>= 1.0.0'], ## for (builtin/default) clubs
|
29
|
+
['footballdb-leagues', '>= 0.1.0'], ## for (builtin/default) leagues & cups
|
29
30
|
]
|
30
31
|
|
31
32
|
self.spec_extras = {
|
data/lib/sportdb/config.rb
CHANGED
@@ -150,9 +150,9 @@ end # method build_club_index
|
|
150
150
|
def build_league_index
|
151
151
|
leagues = if leagues_dir ## check if clubs_dir is defined / set (otherwise it's nil)
|
152
152
|
LeagueIndex.build( leagues_dir )
|
153
|
-
else ## no leagues_dir set
|
154
|
-
|
155
|
-
|
153
|
+
else ## no leagues_dir set - try using builtin from footballdb-leagues
|
154
|
+
## todo/fix: use build_league_index make public (remove private)!!!!
|
155
|
+
FootballDb::Import::League.league_index
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportdb-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sportdb-countries
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.4.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: 0.
|
26
|
+
version: 0.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sportdb-clubs
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.
|
33
|
+
version: 0.2.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.
|
40
|
+
version: 0.2.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sportdb-leagues
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
47
|
+
version: 0.1.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
54
|
+
version: 0.1.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: fifa
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.2.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.2.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: footballdb-clubs
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.0.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: footballdb-leagues
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.1.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.1.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rdoc
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|