Sha256: cd5237bab8bf9f31edef2dee45892601ece8473763089636cf65bcd7f41400a4

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "pokerstats"
    gem.summary = %Q{poker hand history statistics library}
    gem.description = %Q{a library for extracting, computing and reporting statistics of poker hands parsed from hand history files}
    gem.email = "wizardwerdna@gmail.com"
    gem.homepage = "http://github.com/wizardwerdna/pokerstats"
    gem.authors = ["Andrew C. Greenberg"]
    gem.add_development_dependency "rspec"
    gem.add_development_dependency "pluggable"
    gem.add_dependency "pluggable"
    gem.add_dependency "tzinfo"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

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 :spec => :check_dependencies

task :default => :spec

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 = "pokerstats #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pokerstats-2.2.0 Rakefile
pokerstats-2.1.0 Rakefile