Permalink
Browse files

removed debug specs and updated gemspec

  • Loading branch information...
1 parent 8c4b7de commit 533bb99fc5ced35bc441baf362d66180c3e8cd85 @larskuhnt larskuhnt committed Apr 21, 2010
Showing with 51 additions and 21 deletions.
  1. +3 −3 Rakefile
  2. +0 −1 spec/saulabs/gauss/distribution_spec.rb
  3. +0 −5 spec/saulabs/trueskill/factors/weighted_sum_spec.rb
  4. +48 −12 trueskill.gemspec
View
@@ -5,10 +5,10 @@ begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "trueskill"
- gem.summary = %Q{A library for the trueskill rating system}
- gem.description = %Q{A library for the trueskill rating system}
+ gem.summary = %Q{A ruby library for the trueskill rating system}
+ gem.description = %Q{A ruby library for the trueskill rating system}
gem.email = "lars.kuhnt@gmail.com"
- gem.homepage = "http://github.com/larskuhnt/trueskill"
+ gem.homepage = "http://github.com/saulabs/trueskill"
gem.authors = ["Lars Kuhnt"]
gem.add_development_dependency "rspec", ">= 1.2.9"
gem.add_dependency('narray', '>= 0.5.9.7')
@@ -140,7 +140,6 @@
it "#quantile_function should return -0.62941" do
Gauss::Distribution.quantile_function(0.27).should be_close(-0.62941, 0.00001)
- Gauss::Distribution.quantile_function(0.9).should be_close(1.281551, tolerance)
end
end
@@ -56,11 +56,6 @@
it "should return a difference of 4.50116 for message 0" do
@factor.update_message_at(0).should be_close(4.50116, tolerance)
end
-
- it "should return a difference of 4.50116 for message 1" do
- @factor.update_message_at(0)
- @factor.update_message_at(1).should be_close(4.0, tolerance)
- end
end
View
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Lars Kuhnt"]
- s.date = %q{2010-04-09}
- s.description = %q{A library for the trueskill rating system}
+ s.date = %q{2010-04-21}
+ s.description = %q{A ruby library for the trueskill rating system}
s.email = %q{lars.kuhnt@gmail.com}
s.extra_rdoc_files = [
"LICENSE",
@@ -24,24 +24,60 @@ Gem::Specification.new do |s|
"README.rdoc",
"Rakefile",
"VERSION",
- "lib/models/calculation.rb",
- "lib/models/rating.rb",
- "lib/trueskill.rb",
- "spec/models/rating_spec.rb",
+ "lib/saulabs/gauss.rb",
+ "lib/saulabs/gauss/distribution.rb",
+ "lib/saulabs/gauss/truncated_correction.rb",
+ "lib/saulabs/trueskill.rb",
+ "lib/saulabs/trueskill/factor_graph.rb",
+ "lib/saulabs/trueskill/factors/base.rb",
+ "lib/saulabs/trueskill/factors/greater_than.rb",
+ "lib/saulabs/trueskill/factors/likelihood.rb",
+ "lib/saulabs/trueskill/factors/prior.rb",
+ "lib/saulabs/trueskill/factors/weighted_sum.rb",
+ "lib/saulabs/trueskill/factors/within.rb",
+ "lib/saulabs/trueskill/layers/base.rb",
+ "lib/saulabs/trueskill/layers/iterated_team_performances.rb",
+ "lib/saulabs/trueskill/layers/performances_to_team_performances.rb",
+ "lib/saulabs/trueskill/layers/prior_to_skills.rb",
+ "lib/saulabs/trueskill/layers/skills_to_performances.rb",
+ "lib/saulabs/trueskill/layers/team_difference_comparision.rb",
+ "lib/saulabs/trueskill/layers/team_performance_differences.rb",
+ "lib/saulabs/trueskill/rating.rb",
+ "lib/saulabs/trueskill/schedules/base.rb",
+ "lib/saulabs/trueskill/schedules/loop.rb",
+ "lib/saulabs/trueskill/schedules/sequence.rb",
+ "lib/saulabs/trueskill/schedules/step.rb",
+ "spec/saulabs/gauss/distribution_spec.rb",
+ "spec/saulabs/gauss/truncated_correction_spec.rb",
+ "spec/saulabs/trueskill/factor_graph_spec.rb",
+ "spec/saulabs/trueskill/factors/greater_than_spec.rb",
+ "spec/saulabs/trueskill/factors/likelihood_spec.rb",
+ "spec/saulabs/trueskill/factors/prior_spec.rb",
+ "spec/saulabs/trueskill/factors/weighted_sum_spec.rb",
+ "spec/saulabs/trueskill/factors/within_spec.rb",
+ "spec/saulabs/trueskill/layers/prior_to_skills_spec.rb",
+ "spec/saulabs/trueskill/schedules_spec.rb",
"spec/spec.opts",
"spec/spec_helper.rb",
- "spec/trueskill_spec.rb",
"trueskill.gemspec"
]
- s.homepage = %q{http://github.com/larskuhnt/trueskill}
+ s.homepage = %q{http://github.com/saulabs/trueskill}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
- s.summary = %q{A library for the trueskill rating system}
+ s.summary = %q{A ruby library for the trueskill rating system}
s.test_files = [
- "spec/models/rating_spec.rb",
- "spec/spec_helper.rb",
- "spec/trueskill_spec.rb"
+ "spec/saulabs/gauss/distribution_spec.rb",
+ "spec/saulabs/gauss/truncated_correction_spec.rb",
+ "spec/saulabs/trueskill/factor_graph_spec.rb",
+ "spec/saulabs/trueskill/factors/greater_than_spec.rb",
+ "spec/saulabs/trueskill/factors/likelihood_spec.rb",
+ "spec/saulabs/trueskill/factors/prior_spec.rb",
+ "spec/saulabs/trueskill/factors/weighted_sum_spec.rb",
+ "spec/saulabs/trueskill/factors/within_spec.rb",
+ "spec/saulabs/trueskill/layers/prior_to_skills_spec.rb",
+ "spec/saulabs/trueskill/schedules_spec.rb",
+ "spec/spec_helper.rb"
]
if s.respond_to? :specification_version then

0 comments on commit 533bb99

Please sign in to comment.