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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3730a1e31df7d9bd0ebbdd4f1127cdf180d94fb
4
- data.tar.gz: 236e45970f9e11585cb48a68547a98e641d6ad6d
3
+ metadata.gz: ab3af5caf98d2b479ec761e631a11fd7cea1fbf2
4
+ data.tar.gz: 8b9d6b1124ee2ed1736461c570ccc0c413e7fc5c
5
5
  SHA512:
6
- metadata.gz: aac070a5652cba90e1d0b1202241f4903e8ca76b8640037d64657ee6adcefa6a56618b97b2cf927cd8cc2eb1aa4ba734e1c8282476f29201afc261316f4bf8f5
7
- data.tar.gz: 8735ac9a8e0cebafcc42a3d28bced5f539e1e85992382b156e6a7111adaa20088050c321b6d810b52ca8f434d810f5e31c5bb3483c26b4bba39cba6abb0d8886
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.2.0'],
24
- ['sportdb-clubs', '>= 0.2.0'],
25
- ['sportdb-leagues', '>= 0.1.0'],
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', '>= 1.0.0'], ## for (builtin/default) countries
28
- ['footballdb-clubs', '>= 1.0.0'], ## for (builtin/default) 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 = {
@@ -9,6 +9,7 @@ require 'sportdb/leagues'
9
9
  ### "built-in" default dataset libs / gems
10
10
  require 'fifa' ## get a list of all fifa countries with (three letter) codes
11
11
  require 'footballdb/clubs'
12
+ require 'footballdb/leagues'
12
13
 
13
14
 
14
15
  ###
@@ -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
- puts "** !!! ERROR !! no config.leagues_dir set; sorry; CANNOT continue; please set"
155
- exit 1
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
 
@@ -8,7 +8,7 @@ module Boot ## note: use a different module than Config to avoid confusion
8
8
 
9
9
  MAJOR = 0 ## todo: namespace inside version or something - why? why not??
10
10
  MINOR = 8
11
- PATCH = 0
11
+ PATCH = 1
12
12
  VERSION = [MAJOR,MINOR,PATCH].join('.')
13
13
 
14
14
  def self.version
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.0
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-09-09 00:00:00.000000000 Z
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.2.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.2.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.0
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.0
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.0
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.0
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.0.0
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.0.0
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