sportdb-readers 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sportdb/readers/version.rb +1 -1
- data/lib/sportdb/readers.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59763aec58a5729bbe978c4f81ac60de0b883e3f
|
4
|
+
data.tar.gz: 8fe8c7a0362bb664620f0392865a2435d8d54ef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f700cc86b085a7b882211c0d2bc7033287e4b523403374eba95ff58ef2fe9b930fd09d6e4c57483e5b5a978aa487825b7fcdcd34ea873299a94604d443403f83
|
7
|
+
data.tar.gz: '08a052e7b179189c2eae987c24c6e90915a74f3666a87dd116bef60a4b7266c693d7419415df0311e91f35c287c2c19b0b5b8a7faa86c2f0345f88bd5e672090'
|
data/lib/sportdb/readers.rb
CHANGED
@@ -26,8 +26,8 @@ module SportDb
|
|
26
26
|
def self.read_club_props( path ) Import::ClubPropsReader.read( path ); end
|
27
27
|
def self.parse_club_props( txt ) Import::ClubPropsReader.parse( txt ); end
|
28
28
|
|
29
|
-
def self.parse_leagues( txt ) recs = Import::LeagueReader.parse( txt ); Import
|
30
|
-
def self.parse_clubs( txt ) recs = Import::ClubReader.parse( txt );
|
29
|
+
def self.parse_leagues( txt ) recs = Import::LeagueReader.parse( txt ); Import.catalog.leagues.add( recs ); end
|
30
|
+
def self.parse_clubs( txt ) recs = Import::ClubReader.parse( txt ); Import.catalog.clubs.add( recs ); end
|
31
31
|
|
32
32
|
|
33
33
|
def self.read( path, season: nil )
|