Sha256: 9b8f66ba4de17519249f261b94d371b08840738e53d9f1cf3f2f4ff42ff8535b

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

if RUBY_VERSION >= '1.9'
  require 'cover_me'
  RSpec::Core::RakeTask.new(:cover) do
    CoverMe.config do |c|
      c.file_pattern = /(#{CoverMe.config.project.root}\/lib\/.+\.rb)/i
    end
    CoverMe.complete!
  end
else
  RSpec::Core::RakeTask.new(:rcov) do |spec|
    spec.rcov = true
    spec.rcov_opts = ['-Ilib -Ispec --exclude spec,gems']
  end
end

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph-2.2.0.alpha Rakefile