sportdb-market 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,3 +1,3 @@
1
1
  ### 0.0.1 / 2012-11-13
2
2
 
3
- * Everything is new. First release
3
+ * Everything is new. First release.
data/README.md CHANGED
@@ -14,14 +14,12 @@ sportdb plugin for market quotes (odds, etc)
14
14
  TBD
15
15
 
16
16
 
17
- ## Install
17
+ ## License
18
18
 
19
- Just install the gem:
19
+ The `sportdb-market` scripts are dedicated to the public domain.
20
+ Use it as you please with no restrictions whatsoever.
20
21
 
21
- $ gem install sportdb-market
22
22
 
23
+ ## Questions? Comments?
23
24
 
24
- ## License
25
-
26
- The `sportdb-market` scripts are dedicated to the public domain.
27
- Use it as you please with no restrictions whatsoever.
25
+ Send them along to the [Open Sports Database & Friends Forum/Mailing List](http://groups.google.com/group/opensport). Thanks!
@@ -14,7 +14,8 @@ require 'sportdb/market/loader'
14
14
  require 'sportdb/market/reader'
15
15
 
16
16
 
17
- module SportDb::Market
17
+ module SportDb
18
+ module Market
18
19
 
19
20
  def self.banner
20
21
  "sportdb-market #{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
@@ -32,7 +33,7 @@ module SportDb::Market
32
33
 
33
34
  def self.create
34
35
  CreateDb.new.up
35
- # WorldDb::Models::Prop.create!( key: 'db.schema.sport.market.version', value: SportDb::Market::VERSION )
36
+ # WorldDb::Model::Prop.create!( key: 'db.schema.sport.market.version', value: SportDb::Market::VERSION )
36
37
  end
37
38
 
38
39
 
@@ -50,7 +51,7 @@ module SportDb::Market
50
51
  ## todo: move into its own file???
51
52
 
52
53
  ## make models available in sportdb module by default with namespace
53
- # e.g. lets you use Team instead of Models::Team
54
+ # e.g. lets you use Team instead of Model::Team
54
55
  include SportDb::Models
55
56
 
56
57
  def run( args=[] )
@@ -70,7 +71,8 @@ module SportDb::Market
70
71
  Deleter.new.run
71
72
  end # method delete!
72
73
 
73
- end # module SportDb::Market
74
+ end # module Market
75
+ end # module SportDb
74
76
 
75
77
 
76
78
  ## say hello
@@ -1,12 +1,13 @@
1
1
 
2
- module SportDb::Market
2
+ module SportDb
3
+ module Market
3
4
 
4
5
  class Loader
5
6
 
6
7
  include LogUtils::Logging
7
8
 
8
9
  ## make models available in sportdb module by default with namespace
9
- # e.g. lets you use Team instead of Models::Team
10
+ # e.g. lets you use Team instead of Model::Team
10
11
  include SportDb::Models
11
12
 
12
13
  attr_reader :include_path
@@ -53,4 +54,6 @@ private
53
54
  end
54
55
 
55
56
  end # class Loader
56
- end # module SportDb::Market
57
+
58
+ end # module Market
59
+ end # module SportDb
@@ -1,7 +1,8 @@
1
1
 
2
- # NB: just use namespace SportDb::Models (not SportDb::Models::Market)
2
+ # NB: just use namespace SportDb::Model (not SportDb::Model::Market)
3
3
 
4
- module SportDb::Models
4
+ module SportDb
5
+ module Model
5
6
 
6
7
  class EventQuote < ActiveRecord::Base
7
8
 
@@ -24,4 +25,5 @@ class EventQuote < ActiveRecord::Base
24
25
 
25
26
  end # class EventQuote
26
27
 
27
- end # module SportDb::Models
28
+ end # module Model
29
+ end # module SportDb
@@ -1,7 +1,8 @@
1
1
 
2
- # NB: just use namespace SportDb::Models (not SportDb::Models::Market)
2
+ # NB: just use namespace SportDb::Model (not SportDb::Model::Market)
3
3
 
4
- module SportDb::Models
4
+ module SportDb
5
+ module Model
5
6
 
6
7
  ################################
7
8
  # extend Game w/ quotes etc.
@@ -12,4 +13,5 @@ class Game
12
13
 
13
14
  end # class Game
14
15
 
15
- end # module SportDb::Models
16
+ end # module Model
17
+ end # module SportDb
@@ -1,7 +1,8 @@
1
1
 
2
- # NB: just use namespace SportDb::Models (not SportDb::Models::Market)
2
+ # NB: just use namespace SportDb::Model (not SportDb::Model::Market)
3
3
 
4
- module SportDb::Models
4
+ module SportDb
5
+ module Model
5
6
 
6
7
  class GroupQuote < ActiveRecord::Base
7
8
 
@@ -23,4 +24,6 @@ class GroupQuote < ActiveRecord::Base
23
24
 
24
25
  end # class GroupQuote
25
26
 
26
- end # module SportDb::Models
27
+ end # module Model
28
+ end # module SportDb
29
+
@@ -1,7 +1,8 @@
1
1
 
2
- ## NB: just use namespace SportDb::Models (not SportDb::Models::Market)
2
+ ## NB: just use namespace SportDb::Model (not SportDb::Model::Market)
3
3
 
4
- module SportDb::Models
4
+ module SportDb
5
+ module Model
5
6
 
6
7
  class Quote < ActiveRecord::Base
7
8
 
@@ -33,4 +34,5 @@ class Quote < ActiveRecord::Base
33
34
 
34
35
  end # class Quote
35
36
 
36
- end # module SportDb::Models
37
+ end # module Model
38
+ end # module SportDb
@@ -1,7 +1,8 @@
1
1
 
2
- # NB: just use namespace SportDb::Models (not SportDb::Models::Market)
2
+ # NB: just use namespace SportDb::Model (not SportDb::Model::Market)
3
3
 
4
- module SportDb::Models
4
+ module SportDb
5
+ module Model
5
6
 
6
7
  class Service < ActiveRecord::Base
7
8
 
@@ -10,4 +11,5 @@ class Service < ActiveRecord::Base
10
11
 
11
12
  end # class Service
12
13
 
13
- end # module SportDb::Models
14
+ end # module Model
15
+ end # module SportDb
@@ -1,5 +1,6 @@
1
1
 
2
- module SportDb::Market
2
+ module SportDb
3
+ module Market
3
4
 
4
5
  ### load quotes from plain text files
5
6
 
@@ -8,7 +9,7 @@ class Reader
8
9
  include LogUtils::Logging
9
10
 
10
11
  ## make models available in sportdb module by default with namespace
11
- # e.g. lets you use Team instead of Models::Team
12
+ # e.g. lets you use Team instead of Model::Team
12
13
  include SportDb::Models
13
14
 
14
15
  attr_reader :include_path
@@ -278,4 +279,5 @@ private
278
279
 
279
280
  end # class Reader
280
281
 
281
- end # module SportDb::Market
282
+ end # module Market
283
+ end # module SportDb
@@ -1,6 +1,6 @@
1
1
 
2
- module SportDb ; end # forward reference (for hoe require)
3
-
4
- module SportDb::Market
5
- VERSION = '0.5.0'
2
+ module SportDb
3
+ module Market
4
+ VERSION = '0.5.1'
5
+ end
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.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,36 +9,38 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-08 00:00:00.000000000 Z
12
+ date: 2014-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
16
- requirement: &75451570 !ruby/object:Gem::Requirement
16
+ requirement: &20542596 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '3.10'
21
+ version: '4.0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *75451570
24
+ version_requirements: *20542596
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
27
- requirement: &75469300 !ruby/object:Gem::Requirement
27
+ requirement: &20542308 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: '3.3'
32
+ version: '3.7'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *75469300
35
+ version_requirements: *20542308
36
36
  description: sportdb plugin for market quotes (odds, etc)
37
37
  email: opensport@googlegroups.com
38
38
  executables: []
39
39
  extensions: []
40
40
  extra_rdoc_files:
41
+ - History.md
41
42
  - Manifest.txt
43
+ - README.md
42
44
  files:
43
45
  - History.md
44
46
  - Manifest.txt
@@ -78,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
80
  version: '0'
79
81
  requirements: []
80
82
  rubyforge_project: sportdb-market
81
- rubygems_version: 1.8.17
83
+ rubygems_version: 1.8.16
82
84
  signing_key:
83
85
  specification_version: 3
84
86
  summary: sportdb plugin for market quotes (odds, etc)