sportdb-play 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -4
- data/lib/sportdb/play/models/game.rb +4 -4
- data/lib/sportdb/play/version.rb +1 -1
- data/lib/sportdb/play.rb +1 -1
- metadata +6 -6
data/README.md
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# sportdb-play
|
2
2
|
|
3
3
|
Open sports database (sport.db) plugin for plays (predictions,
|
4
4
|
betting pools, etc.)
|
5
5
|
|
6
|
-
https://github.com/openbookie/sport.db.play
|
7
|
-
|
8
6
|
* home :: [github.com/openbookie/sport.db.play](https://github.com/openbookie/sport.db.play)
|
9
7
|
* bugs :: [github.com/openbookie/sport.db.play/issues](https://github.com/openbookie/sport.db.play/issues)
|
10
8
|
* gem :: [rubygems.org/gems/sportdb-play](https://rubygems.org/gems/sportdb-play)
|
11
9
|
* rdoc :: [rubydoc.info/gems/sportdb-play](http://rubydoc.info/gems/sportdb-play)
|
10
|
+
* forum :: [groups.google.com/group/opensport](https://groups.google.com/group/opensport)
|
12
11
|
|
13
12
|
|
14
13
|
## Usage
|
@@ -18,7 +17,7 @@ TBD
|
|
18
17
|
|
19
18
|
## License
|
20
19
|
|
21
|
-
The `
|
20
|
+
The `sportdb-play` scripts are dedicated to the public domain.
|
22
21
|
Use it as you please with no restrictions whatsoever.
|
23
22
|
|
24
23
|
## Questions? Comments?
|
@@ -44,8 +44,8 @@ class Game
|
|
44
44
|
def tip_x_style_class
|
45
45
|
toto1x2 == 'X' ? ' bingo ' : ' '
|
46
46
|
end
|
47
|
-
|
48
|
-
|
47
|
+
|
48
|
+
|
49
49
|
############ some methods for stats
|
50
50
|
|
51
51
|
def complete_tips() tips.complete; end
|
@@ -59,8 +59,8 @@ class Game
|
|
59
59
|
def tip_2_count() tips.complete2.count(); end
|
60
60
|
def tip_x_count() tips.completex.count(); end
|
61
61
|
|
62
|
-
def tip_12x_count() tips.
|
63
|
-
def tip_1x2_count() tips.
|
62
|
+
def tip_12x_count() tips.complete.count(); end
|
63
|
+
def tip_1x2_count() tips.complete.count(); end # alias for tip_12x_count // or just add/use tip_count add too??
|
64
64
|
|
65
65
|
|
66
66
|
end # class Game
|
data/lib/sportdb/play/version.rb
CHANGED
data/lib/sportdb/play.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportdb-play
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-11-
|
12
|
+
date: 2013-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
16
|
-
requirement: &
|
16
|
+
requirement: &79249840 !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: *79249840
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
27
|
-
requirement: &
|
27
|
+
requirement: &79249560 !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: *79249560
|
36
36
|
description: sportdb plugin for plays (predictions, betting pool, etc.)
|
37
37
|
email: opensport@googlegroups.com
|
38
38
|
executables: []
|