footballdb-leagues 2019.12.16 → 2020.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Manifest.txt +1 -0
- data/README.md +3 -3
- data/Rakefile +3 -3
- data/config/leagues.txt +664 -115
- data/lib/footballdb/leagues/auto.rb +30 -0
- data/lib/footballdb/leagues/version.rb +3 -3
- data/lib/footballdb/leagues.rb +6 -52
- data/test/helper.rb +1 -4
- data/test/test_league.rb +5 -5
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9cb38dc1d09efb8e52c0de3a775520f9b5dd81a
|
4
|
+
data.tar.gz: 4e5e3244916a255a5967a8065c096caeb659451a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec510aa88383b00d657cf462cce35c477c9f500fd7babdb647d414101f6820d43d1dca2883992efdbef6d8ec4c584c427d190d08741e577dcbfafb8401571b7e
|
7
|
+
data.tar.gz: 7ed7f73820ca6f8565d66bf6311a0f9b4e1d5a49ed7ac2a66f01d97b3108fbd59465524ffb3cf289a88a673fdfa698091bc40229cbd3d4e69c7b6e6dfa84396c
|
data/Manifest.txt
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# footballdb-leagues - the world's top football leagues & cups
|
2
2
|
|
3
3
|
|
4
|
-
* home :: [github.com/sportdb/
|
5
|
-
* bugs :: [github.com/sportdb/
|
4
|
+
* home :: [github.com/sportdb/football.db](https://github.com/sportdb/football.db)
|
5
|
+
* bugs :: [github.com/sportdb/football.db/issues](https://github.com/sportdb/football.db/issues)
|
6
6
|
* gem :: [rubygems.org/gems/footballdb-leagues](https://rubygems.org/gems/footballdb-leagues)
|
7
7
|
* rdoc :: [rubydoc.info/gems/footballdb-leagues](http://rubydoc.info/gems/footballdb-leagues)
|
8
8
|
* forum :: [opensport](http://groups.google.com/group/opensport)
|
@@ -21,7 +21,7 @@ for easy zero-configuration "out-of-the-box" usage.
|
|
21
21
|
Get and pretty print (pp) all leagues & cups:
|
22
22
|
|
23
23
|
``` ruby
|
24
|
-
require 'footballdb/leagues'
|
24
|
+
require 'footballdb/leagues/auto'
|
25
25
|
|
26
26
|
pp League.all
|
27
27
|
```
|
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ Hoe.spec 'footballdb-leagues' do
|
|
8
8
|
self.summary = "footballdb-leagues - the world's top football leagues 'n' cups"
|
9
9
|
self.description = summary
|
10
10
|
|
11
|
-
self.urls = ['https://github.com/sportdb/
|
11
|
+
self.urls = ['https://github.com/sportdb/football.db']
|
12
12
|
|
13
13
|
self.author = 'Gerald Bauer'
|
14
14
|
self.email = 'opensport@googlegroups.com'
|
@@ -20,8 +20,8 @@ Hoe.spec 'footballdb-leagues' do
|
|
20
20
|
self.licenses = ['Public Domain']
|
21
21
|
|
22
22
|
self.extra_deps = [
|
23
|
-
['sportdb-
|
24
|
-
['fifa', '>=
|
23
|
+
['sportdb-formats', '>= 1.0.1'],
|
24
|
+
['fifa', '>= 2020.5.10'],
|
25
25
|
]
|
26
26
|
|
27
27
|
self.spec_extras = {
|