Permalink
Browse files

22 Rakefile on ruby mode

  • Loading branch information...
1 parent bf3d777 commit 30572494dd3ff8dded0b311084e68bcf28eb8e62 @id774 committed Apr 17, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -1,4 +1,4 @@
-# encoding: utf-8
+# -*- mode: ruby; coding: utf-8 -*-
require 'rubygems'
@@ -12,7 +12,7 @@ task :spec do
end
end
-unless /^1\.8\./ =~ RUBY_VERSION
+if RUBY_VERSION >= '1.9.0'
desc "Run RSpec code examples with simplecov"
task :simplecov do
ENV['COVERAGE'] = "on"

0 comments on commit 3057249

Please sign in to comment.