Sha256: b1acc917aa3a944806a43ee88ff0a9aac2b57e32bbfd3d4a43799aa905b99222

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'
require 'pathname'

Hoe.plugin :doofus
Hoe.plugin :email unless ENV['CI'] or ENV['TRAVIS']
Hoe.plugin :gemspec2
Hoe.plugin :git
Hoe.plugin :minitest
Hoe.plugin :rubygems

spec = Hoe.spec 'cartage-rack' do
  developer('Austin Ziegler', 'aziegler@kineticcafe.com')

  self.history_file = 'History.rdoc'
  self.readme_file = 'README.rdoc'
  self.extra_rdoc_files = FileList['*.rdoc'].to_a

  license 'MIT'

  self.extra_dev_deps << ['rake', '~> 10.0']
  self.extra_dev_deps << ['rack-test', '~> 0.6']
  self.extra_dev_deps << ['hoe-doofus', '~> 1.0']
  self.extra_dev_deps << ['hoe-gemspec2', '~> 1.1']
  self.extra_dev_deps << ['hoe-git', '~> 1.5']
  self.extra_dev_deps << ['minitest', '~> 5.4']
  self.extra_dev_deps << ['minitest-autotest', '~> 1.0']
  self.extra_dev_deps << ['minitest-bisect', '~> 1.2']
  self.extra_dev_deps << ['minitest-focus', '~> 1.1']
  self.extra_dev_deps << ['minitest-moar', '~> 0.0']
  self.extra_dev_deps << ['minitest-pretty_diff', '~> 0.1']
  self.extra_dev_deps << ['simplecov', '~> 0.7']
end

namespace :test do
  task :coverage do
    prelude = <<-EOS
require 'simplecov'
SimpleCov.start('test_frameworks') { command_name 'Minitest' }
gem 'minitest'
    EOS
    spec.test_prelude = prelude.split($/).join('; ')
    Rake::Task['test'].execute
  end
end

# vim: syntax=ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cartage-rack-1.0 Rakefile