Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make spec pass on Ruby 1.9.2

  • Loading branch information...
commit 4769249c443dfe413d701674bee41536cba8d8c8 1 parent a665307
@tianyicui authored
View
1  .rvmrc
@@ -0,0 +1 @@
+1.9.2@trueskill
View
6 Gemfile
@@ -1,8 +1,8 @@
source :gemcutter
-gem 'rake', '>= 0.8.7'
-gem 'rspec', '>= 1.3.0'
-gem 'rcov', '>= 0.9.9'
+gem 'rake', '~> 0.8.7'
+gem 'rspec', '~> 1.3.0'
+gem 'simplecov', '>= 0.4.2'
gem 'yard', '>= 0.5.4'
gem 'yard-rspec', '>= 0.1.0'
gem 'bluecloth', '>= 2.0.5'
View
16 Gemfile.lock
@@ -1,11 +1,13 @@
GEM
remote: http://rubygems.org/
specs:
- bluecloth (2.0.7)
+ bluecloth (2.1.0)
rake (0.8.7)
- rcov (0.9.9)
- rspec (1.3.0)
- yard (0.5.8)
+ rspec (1.3.2)
+ simplecov (0.4.2)
+ simplecov-html (~> 0.4.4)
+ simplecov-html (0.4.5)
+ yard (0.7.2)
yard-rspec (0.1)
yard
@@ -14,8 +16,8 @@ PLATFORMS
DEPENDENCIES
bluecloth (>= 2.0.5)
- rake (>= 0.8.7)
- rcov (>= 0.9.9)
- rspec (>= 1.3.0)
+ rake (~> 0.8.7)
+ rspec (~> 1.3.0)
+ simplecov (>= 0.4.2)
yard (>= 0.5.4)
yard-rspec (>= 0.1.0)
View
3  Rakefile
@@ -12,9 +12,6 @@ task :default => :spec
desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
- t.rcov_opts << '--exclude "gems/*,spec/*"'
- t.rcov = true
- t.rcov_dir = 'doc/coverage'
t.spec_files = FileList['spec/**/*_spec.rb']
end
View
4 spec/spec_helper.rb
@@ -1,5 +1,7 @@
# -*- encoding : utf-8 -*-
-require 'rubygems'
+require 'simplecov'
+SimpleCov.start
+
require 'spec'
require 'spec/autorun'
require File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "saulabs", "trueskill.rb"))
Please sign in to comment.
Something went wrong with that request. Please try again.