Sha256: f9cf2b28dc9bf4ff445662e3a91eebe979c13585b2d6a8c0d6a077777affd9a0

Contents?: true

Size: 1.53 KB

Versions: 4

Compression:

Stored size: 1.53 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "cucumber_table_formatter"
    gem.summary = %Q{Formatter for Cucumber tables}
    gem.description = %Q{Simple command line utility for formatting Cucumber tables properly, either from file or piped input}
    gem.email = "christoph@olszowka.de"
    gem.homepage = "http://github.com/colszowka/cucumber_table_formatter"
    gem.authors = ["Christoph Olszowka"]
    gem.add_development_dependency "thoughtbot-shoulda"
    # 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 = "cucumber_table_formatter #{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
colszowka-cucumber_table_formatter-0.2.0 Rakefile
colszowka-cucumber_table_formatter-0.2.1 Rakefile
colszowka-cucumber_table_formatter-0.2.2 Rakefile
colszowka-cucumber_table_formatter-0.2.4 Rakefile