Sha256: b6805c52bfcb4234c11a0354af0661c0f3e28a308b5b5e3a1c78a251ac52f590

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "cul-fedora-arm"
    gem.summary = %Q{Tools for dealing with Cul ARM specification}
    gem.description = %Q{Tools for dealing with Cul ARM specification}
    gem.email = "tastyhat@jamesstuart.org"
    gem.homepage = "http://github.com/tastyhat/cul-fedora-arm"
    gem.authors = ["James Stuart"]
    gem.add_development_dependency "thoughtbot-shoulda"
    gem.add_development_dependency "thoughtbot-factory_girl"
    gem.add_dependency "activesupport"
    gem.add_dependency "ruby-fedora"

    # 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 :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 = "cul-fedora-arm #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tastyhat-cul-fedora-arm-0.1.3 Rakefile
cul-fedora-arm-0.6.0 Rakefile
cul-fedora-arm-0.5.2 Rakefile
cul-fedora-arm-0.5.1 Rakefile