Sha256: 126f202f0985c66f16633ace43dd1d75d6aa7a1311b3e2ef04e7e4dec290d5d1

Contents?: true

Size: 910 Bytes

Versions: 6

Compression:

Stored size: 910 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake'
require "rake/rdoctask"

require 'rspec'
require 'rspec/core/rake_task'

desc "Run all specs"
Rspec::Core::RakeTask.new(:spec) do |spec|
	spec.rspec_opts = ["--color"]
	spec.pattern = 'spec/**/*_spec.rb'
end

desc "Print specdocs"
Rspec::Core::RakeTask.new(:doc) do |spec|
	spec.rspec_opts = ["--format", "specdoc"]
	spec.pattern = 'spec/*_spec.rb'
end

desc "Generate the rdoc"
Rake::RDocTask.new do |rdoc|
  files = ["README.rdoc", "LICENSE", "lib/**/*.rb"]
  rdoc.rdoc_files.add(files)
  rdoc.main = "README.rdoc"
  rdoc.title = "CouchRest: Ruby CouchDB, close to the metal"
end

desc "Run the rspec"
task :default => :spec

module Rake
  def self.remove_task(task_name)
    Rake.application.instance_variable_get('@tasks').delete(task_name.to_s)
  end
end

Rake.remove_task("github:release")
Rake.remove_task("release")

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
couchrest_model-1.1.0.beta5 Rakefile
couchrest_model-1.1.0.beta4 Rakefile
couchrest_model-1.1.0.beta3 Rakefile
couchrest_model-1.1.0.beta2 Rakefile
couchrest_model-1.1.0.beta Rakefile
couchrest_model-1.0.0 Rakefile