Sha256: 2c07ce154349b62b71fcd54c98ae07475c2fc1a72620cae6dc174eb679c807a0

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

require 'rake'
require 'rake/gempackagetask'
require 'rspec/core/rake_task'

desc 'Run all specs'
RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = %w[--color]
end

namespace :rcov do
  RSpec::Core::RakeTask.new :spec do |t|
    t.rcov = true
    t.rcov_opts = %w[-Ilib -Ispec --exclude "gems/*"]
    t.rcov_opts << %w[--no-html --text-report]
  end
end

gemspec = eval(File.read(Dir["*.gemspec"].first))

desc "Validate the gemspec"
task :gemspec do
  gemspec.validate
end

Rake::GemPackageTask.new gemspec do |pkg|
  pkg.need_tar = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feed2mail-0.0.1 Rakefile