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.
@@ -12,7 +12,7 @@ class Loader
12
12
  attr_reader :include_path
13
13
 
14
14
  def initialize( include_path )
15
- @include_path
15
+ @include_path = include_path
16
16
  end
17
17
 
18
18
  def load( name ) # load from gem (built-in)
@@ -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 )
@@ -2,5 +2,5 @@
2
2
  module SportDb ; end # forward reference (for hoe require)
3
3
 
4
4
  module SportDb::Market
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
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.0
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: &71884950 !ruby/object:Gem::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: *71884950
24
+ version_requirements: *84559360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
27
- requirement: &71884600 !ruby/object:Gem::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: *71884600
35
+ version_requirements: *84557810
36
36
  description: sportdb plugin for market quotes (odds, etc)
37
37
  email: opensport@googlegroups.com
38
38
  executables: []