Sha256: 9106b2d030905868524db0913db4df46842ae0b0264f9aabf3ef3d31504f7782

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

require 'rubygems'
require 'rake'
require File.join(File.dirname(__FILE__), 'lib', 'couch', 'version')

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "couch"
    gem.version = Couch::VERSION
    gem.summary = %Q{Standalone CouchDB Application Development Suite}
    gem.description = %Q{With Couch you can easy build a standalone CouchDB application.}
    gem.email = "schmidt@netzmerk.com"
    gem.homepage = "http://github.com/jo/couch"
    gem.authors = ["Johannes J. Schmidt"]
    gem.rubyforge_project = "couch"
    gem.add_dependency "thor", ">= 0.13.4"
    gem.add_dependency "rest-client", ">= 1.4.1"
    gem.add_dependency "json_pure", ">= 1.2.2"
    gem.add_dependency "activesupport", ">= 3.0.0.beta"
    # gem.add_development_dependency "rspec", ">= 1.2.9"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
  Jeweler::RubyforgeTasks.new do |rubyforge|
    rubyforge.doc_task = "rdoc"
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "couch #{Couch::VERSION}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couch-0.1.1 Rakefile