icu_ratings 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,13 +129,13 @@ module ICU
129
129
  # of the rating calculations are available via various methods of the player objects:
130
130
  #
131
131
  # _new_rating_:: This is the player's new rating. For rated players it is their old rating
132
- # plus their _rating_change_. For provisional players it is their performance
133
- # rating including their previous games. For unrated players it is their
134
- # tournament performance rating. New ratings are not calculated for foreign
135
- # players so this method just returns their start _rating_.
136
- # _rating_change_:: This is the difference between the old and new ratings for rated players,
137
- # based on sum of expected scores in each game and the player's K-factor.
138
- # Zero for all other types of players.
132
+ # plus their _rating_change_ plus their _bonus_ (if any). For provisional players
133
+ # it is their performance rating including their previous games. For unrated
134
+ # players it is their tournament performance rating. New ratings are not
135
+ # calculated for foreign players so this method just returns their start _rating_.
136
+ # _rating_change_:: This is calculated from a rated player's old rating, their K-factor and the sum
137
+ # of expected scores in each game. The same as the difference between the old and
138
+ # new ratings (unless there is a bonus). Zero for all other types of players.
139
139
  # _performance_:: This returns the tournament rating performance for rated, unrated and
140
140
  # foreign players. For provisional players it returns a weighted average
141
141
  # of the player's tournament performance and their previous games. For
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ICU
4
4
  class Ratings
5
- VERSION = "1.1.7"
5
+ VERSION = "1.1.8"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icu_ratings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
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: 2012-03-25 00:00:00.000000000Z
12
+ date: 2012-04-07 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &70256552084280 !ruby/object:Gem::Requirement
16
+ requirement: &70228501061160 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70256552084280
24
+ version_requirements: *70228501061160
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70256552083740 !ruby/object:Gem::Requirement
27
+ requirement: &70228501060560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70256552083740
35
+ version_requirements: *70228501060560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70256552082980 !ruby/object:Gem::Requirement
38
+ requirement: &70228501059960 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70256552082980
46
+ version_requirements: *70228501059960
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &70256552076680 !ruby/object:Gem::Requirement
49
+ requirement: &70228501059380 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70256552076680
57
+ version_requirements: *70228501059380
58
58
  description: Build an object that represents a chess tournament then get it to calculate
59
59
  ratings of all the players.
60
60
  email: mark.j.l.orr@googlemail.com
@@ -89,18 +89,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  - - ! '>='
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
- segments:
93
- - 0
94
- hash: -1765849046172130356
95
92
  required_rubygems_version: !ruby/object:Gem::Requirement
96
93
  none: false
97
94
  requirements:
98
95
  - - ! '>='
99
96
  - !ruby/object:Gem::Version
100
97
  version: '0'
101
- segments:
102
- - 0
103
- hash: -1765849046172130356
104
98
  requirements: []
105
99
  rubyforge_project: icu_ratings
106
100
  rubygems_version: 1.8.10