Sha256: b64a38eadf42963dcdcaf04695214aa15449ac26ae60abfea1e2ed62613d44f4
Contents?: true
Size: 1.84 KB
Versions: 5
Compression:
Stored size: 1.84 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "friendly" gem.summary = %Q{NoSQL with MySQL in Ruby} gem.description = %Q{} gem.email = "jamesgolick@gmail.com" gem.homepage = "http://friendlyorm.com" gem.authors = ["James Golick"] gem.add_development_dependency "rspec", ">= 1.2.9" gem.add_development_dependency "cucumber", ">= 0" gem.add_development_dependency "jferris-mocha" gem.add_development_dependency "memcached" gem.add_dependency "sequel", ">= 3.7.0" gem.add_dependency "json_pure" gem.add_dependency "activesupport" gem.add_dependency "will_paginate" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo 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 begin require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) task :features => :check_dependencies rescue LoadError task :features do abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber" end end task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "friendly #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end desc "Sync website." task :website do `rsync -avz website/* friendlyorm.com:/var/www/friendlyorm.com` end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
friendly-0.5.1 | Rakefile |
friendly-0.5.0 | Rakefile |
friendly-0.4.5 | Rakefile |
friendly-0.4.4 | Rakefile |
friendly-0.4.3 | Rakefile |