Sha256: 4f7809dd282913f6789ecf439631a3df35f29864c1205be74fddaeb0d3511988

Contents?: true

Size: 623 Bytes

Versions: 4

Compression:

Stored size: 623 Bytes

Contents

require 'bundler'
require 'rspec/core/rake_task'
require 'rdoc/task'

namespace :spec do
  desc "Run specs with in-memory database"
  RSpec::Core::RakeTask.new(:memory) do |t|
    ENV["SQS_DATABASE"] = ":memory:"
    t.pattern = "spec/integration/*"
  end
end

desc "Run spec suite with in-memory"
task :spec => ["spec:memory"]

task :default => :spec

Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "sqs_web #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Bundler::GemHelper.install_tasks

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sqs_web-0.0.4 Rakefile
sqs_web-0.0.3 Rakefile
sqs_web-0.0.2 Rakefile
sqs_web-0.0.1 Rakefile