Sha256: e61a6e10f09356557556612c6eeab6f1d78c45ff723f5e5676a1afbe4f4447b0

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 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', 'LICENSE']

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

    s.files = %w(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

3 entries across 3 versions & 2 rubygems

Version Path
anthonyw-dyno-0.1.1 Rakefile
antw-dyno-0.1.2 Rakefile
antw-dyno-0.1.3 Rakefile