Sha256: cc520f410c670be675d7771a3dd2d29cd1df0a04d302954fa79915b805df0adc

Contents?: true

Size: 729 Bytes

Versions: 8

Compression:

Stored size: 729 Bytes

Contents

require 'bundler/gem_tasks'

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end


task :default => :spec

gem 'rdoc'
require 'rdoc/task'

RDoc::Task.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "rturk-gem #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rturk-2.12.1 Rakefile
rturk-2.12.0 Rakefile
rturk-2.11.3 Rakefile
rturk-2.11.2 Rakefile
rturk-2.11.1 Rakefile
rturk-2.11.0 Rakefile
rturk-2.10.3 Rakefile
rturk-2.10.2 Rakefile