Sha256: 67bcfc8a6c206c5d60482bf2c21bb890ed0463e1eb8a7a1b337438c005606d65

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "santey_blog"
    gem.summary = %Q{Blog CMS}
    gem.description = %Q{Blog CMS for Rails 3}
    gem.email = "alexander.shamne@gmail.com"
    gem.homepage = "http://github.com/shamne/santey_blog"
    gem.authors = ["Alexander Shamne"]
    gem.add_development_dependency "thoughtbot-shoulda"
    
    gem.add_dependency 'hpricot', '>=0.8.2'
    gem.add_dependency 'haml', '2.2.23'
    gem.add_dependency 'authlogic'
    gem.add_dependency 'acts-as-taggable-on'
    gem.add_dependency 'will_paginate'
    gem.add_dependency 'nokogiri', '1.4.1'
    gem.add_dependency 'sanitize', '1.2.1'
    gem.add_dependency 'santey_vote'
    gem.add_dependency 'santey_view'
    
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "santey_blog #{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
santey_blog-0.2.1 Rakefile