Sha256: 4c761106b5b097369282894b89048429f281648cc4d57a6c280f2aa65b03f474

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

require 'rubygems'
require 'spec/rake/spectask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name        = 'dyno'
    s.platform    = Gem::Platform::RUBY
    s.has_rdoc    = true
    s.summary     = 'A rubygem for parsing sim-racing results files.'
    s.description = s.summary
    s.author      = 'Anthony Williams'
    s.email       = 'anthony@ninecraft.com'
    s.homepage    = 'http://github.com/anthonyw/dyno'

    s.extra_rdoc_files = ['README.markdown', 'MIT-LICENSE']

    # Dependencies.
    s.add_dependency "iniparse", ">= 0.2.0"

    s.files = %w(MIT-LICENSE README.markdown Rakefile VERSION.yml) +
              Dir.glob("{lib,spec}/**/*")
  end
rescue LoadError
  puts 'Jeweler not available. Install it with: sudo gem install ' +
       'technicalpickles-jeweler -s http://gems.github.com'
end

##############################################################################
# rSpec & rcov
##############################################################################

desc "Run all examples"
Spec::Rake::SpecTask.new('spec') do |t|
  t.spec_files = FileList['spec/**/*.rb']
  t.spec_opts = ['-c -f s']
end

desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('spec:rcov') do |t|
  t.spec_files = FileList['spec/**/*.rb']
  t.spec_opts = ['-c -f s']
  t.rcov = true
  t.rcov_opts = ['--exclude', 'spec']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
anthonyw-dyno-0.1.0 Rakefile