Sha256: a9a2208d2fc4ea229d53bb51863b0c53f3fefe40a8f7e4de827e14dc90a425e1

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "content_manager"
    gem.summary = %Q{Simple Content Manager}
    gem.email = "syates@grandcentralmedia.com.au"
    gem.homepage = "http://github.com/sethyates/content_manager"
    gem.authors = ["Seth Yates"]
    gem.add_dependency('rufus-tokyo', '>= 0.1.12')
  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 = "content_manager #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sethyates-content_manager-0.1.0 Rakefile
sethyates-content_manager-0.2.0 Rakefile
sethyates-content_manager-0.3.0 Rakefile
sethyates-content_manager-0.3.2 Rakefile