Sha256: 90404a78e8e7b232e67ac00d0d05b36a361069c6fa56a0ef045cef0f6e7fc485

Contents?: true

Size: 1.46 KB

Versions: 31

Compression:

Stored size: 1.46 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "articles"
    gem.summary = %Q{Article/Blogging engine}
    gem.email = "steve@wearebeef.co.uk"
    gem.homepage = "http://github.com/beef/articles"
    gem.authors = ["Steve England"]
    gem.add_dependency( "mbleigh-acts-as-taggable-on")
    gem.add_dependency( "jackdempsey-acts_as_commentable")
    # 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 '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 :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "articles #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
beef-articles-0.1.0 Rakefile
beef-articles-0.2.0 Rakefile
beef-articles-0.2.1 Rakefile
beef-articles-0.2.2 Rakefile
beef-articles-0.3.0 Rakefile
beef-articles-0.3.1 Rakefile
beef-articles-0.3.10 Rakefile
beef-articles-0.3.11 Rakefile
beef-articles-0.3.12 Rakefile
beef-articles-0.3.13 Rakefile
beef-articles-0.3.14 Rakefile
beef-articles-0.3.15 Rakefile
beef-articles-0.3.16 Rakefile
beef-articles-0.3.18 Rakefile
beef-articles-0.3.2 Rakefile
beef-articles-0.3.21 Rakefile
beef-articles-0.3.25 Rakefile
beef-articles-0.3.27 Rakefile
beef-articles-0.3.28 Rakefile
beef-articles-0.3.29 Rakefile