sportdb-play 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sportdb/play/models/tip.rb +2 -2
- data/lib/sportdb/play/version.rb +1 -1
- metadata +9 -9
@@ -137,7 +137,7 @@ class Tip < ActiveRecord::Base
|
|
137
137
|
if(((game.score1 == game.score2) && (score1 == score2)) ||
|
138
138
|
((game.score1 > game.score2) && (score1 > score2)) ||
|
139
139
|
((game.score1 < game.score2) && (score1 < score2)))
|
140
|
-
pts +=
|
140
|
+
pts += 2
|
141
141
|
end
|
142
142
|
|
143
143
|
# tordifferenz richtig? todo: auch fuer unentschieden???
|
@@ -154,7 +154,7 @@ class Tip < ActiveRecord::Base
|
|
154
154
|
# -- check 4+ rule for result
|
155
155
|
if( [game.score1,4].min == [score1,4].min &&
|
156
156
|
[game.score2,4].min == [score2,4].min )
|
157
|
-
pts += 2
|
157
|
+
# pts += 2
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
data/lib/sportdb/play/version.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.4
|
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: 2014-
|
12
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
16
|
-
requirement: &
|
16
|
+
requirement: &73885540 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,18 +21,18 @@ dependencies:
|
|
21
21
|
version: '4.0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *73885540
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
27
|
-
requirement: &
|
27
|
+
requirement: &73885280 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '3.
|
32
|
+
version: '3.11'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *73885280
|
36
36
|
description: sportdb plugin for plays (predictions, betting pool, etc.)
|
37
37
|
email: opensport@googlegroups.com
|
38
38
|
executables: []
|
@@ -81,8 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubyforge_project:
|
85
|
-
rubygems_version: 1.8.
|
84
|
+
rubyforge_project:
|
85
|
+
rubygems_version: 1.8.17
|
86
86
|
signing_key:
|
87
87
|
specification_version: 3
|
88
88
|
summary: sportdb plugin for plays (predictions, betting pool, etc.)
|