Rakefile in kmeans-0.0.7 vs Rakefile in kmeans-0.0.8
- old
+ new
@@ -10,10 +10,10 @@
spec.rspec_opts = ["-c","-fs"]
spec.pattern = FileList['spec/**/*_spec.rb']
end
end
-if /^1\.9\./ =~ RUBY_VERSION
+unless /^1\.8\./ =~ RUBY_VERSION
desc "Run RSpec code examples with simplecov"
task :simplecov do
ENV['COVERAGE'] = "on"
Rake::Task[:spec].invoke
end