-
Notifications
You must be signed in to change notification settings - Fork 13
/
whole_history_rating.gemspec
31 lines (26 loc) · 1.08 KB
/
whole_history_rating.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DIR = File.dirname(__FILE__)
LIB = File.join(DIR, *%w[lib whole_history_rating.rb])
VERSION = open(LIB) { |lib|
lib.each { |line|
if v = line[/^\s*VERSION\s*=\s*(['"])(\d+\.\d+\.\d+)\1/, 2]
break v
end
}
}
SPEC = Gem::Specification.new do |s|
s.name = "whole_history_rating"
s.version = VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Pete Schwamb"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/goshrine/whole_history_rating"
s.summary = "A pure ruby implementation of Remi Coulom's Whole-History Rating algorithm."
s.description = <<-END_DESCRIPTION.gsub(/\s+/, " ").strip
This gem provides a library and executables that take as input as set of games and output a set of skill rankings for the players of those games. The algorithm is a version of Remi Coulom's Whole-History Rating modified to support handicaps, and implemented in Ruby.
END_DESCRIPTION
#s.add_dependency('json', '>= 1.5.0')
#s.add_development_dependency "rspec"
#s.executables = ['whr_rate']
s.files = `git ls-files`.split("\n")
s.require_paths = %w[lib]
end