Rakefile in couch-0.2.0 vs Rakefile in couch-0.2.1
- old
+ new
@@ -1,72 +1,21 @@
require 'rubygems'
require 'rake'
-require File.join(File.dirname(__FILE__), 'lib', 'couch', 'version')
-namespace :vendor do
- desc "Update vendor"
- task :update do
- `git submodule update`
- end
-
- desc "vendor mustache"
- task :mustache do
- dir = File.expand_path('..', __FILE__)
- source = File.join(dir, 'vendor/mustache.js/mustache.js')
- target = File.join(dir, 'lib/couch/generators/application/templates/lib/')
- FileUtils.cp source, target
- end
-end
-
-desc "Vendor all"
-task :vendor => ["vendor:update", "vendor:mustache"]
-
-
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.version = "0.2.1"
+ gem.summary = %Q{Depricated: this project went to rid}
+ gem.description = %Q{Depricated: this project went to rid.}
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