sportdb-market 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sportdb/market/loader.rb +1 -1
- data/lib/sportdb/market/reader.rb +4 -1
- data/lib/sportdb/market/version.rb +1 -1
- metadata +5 -5
@@ -14,7 +14,7 @@ class Reader
|
|
14
14
|
attr_reader :include_path
|
15
15
|
|
16
16
|
def initialize( include_path )
|
17
|
-
@include_path
|
17
|
+
@include_path = include_path
|
18
18
|
end
|
19
19
|
|
20
20
|
def load( service_key, event_key, name )
|
@@ -22,6 +22,9 @@ class Reader
|
|
22
22
|
|
23
23
|
puts "*** parsing data '#{name}' (#{path})..."
|
24
24
|
|
25
|
+
### todo/fix: use classify (from string)
|
26
|
+
SportDb.lang.lang = SportDb.lang.classify_file( path )
|
27
|
+
|
25
28
|
reader = LineReader.new( path )
|
26
29
|
|
27
30
|
load_worker( service_key, event_key, reader )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportdb-market
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2013-09-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
16
|
-
requirement: &
|
16
|
+
requirement: &84559360 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.10'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *84559360
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
27
|
-
requirement: &
|
27
|
+
requirement: &84557810 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '3.3'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *84557810
|
36
36
|
description: sportdb plugin for market quotes (odds, etc)
|
37
37
|
email: opensport@googlegroups.com
|
38
38
|
executables: []
|