Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (26 sloc) 1.08 KB
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
SPEC = do |s| = "whole_history_rating"
s.version = VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Pete Schwamb"] = [""]
s.homepage = ""
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.
#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]