Sha256: 796001688e5951b7a47d7d3d87e58e1311feca369bb5e08af5338a550c41bdc1

Contents?: true

Size: 1.61 KB

Versions: 5

Compression:

Stored size: 1.61 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'
require 'juwelier'
Juwelier::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
  gem.name = "wordl-solver"
  gem.homepage = "http://github.com/gkosmo/wordl-solver"
  gem.license = "MIT"
  gem.summary = "This gem solves wordl puzzles."
  gem.description = "This gem helps you solve wordl puzzles. It does so by asking you for the letters position you know, the letters you know exists and the ones you know don't exists. It then proposes words depending on how good they are by weighting the letters by their frequency in the english language."
  gem.email = "gkosmo1@hotmail.com"
  gem.authors = ["george kosmopoulos"]
  gem.files.include "lib/*"
  # dependencies defined in Gemfile
  gem.executables = ['wordl-solver']
end
Juwelier::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

desc "Code coverage detail"
task :simplecov do
  ENV['COVERAGE'] = "true"
  Rake::Task['test'].execute
end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wordl-solver-0.2.3 Rakefile
wordl-solver-0.2.2 Rakefile
wordl-solver-0.2.1 Rakefile
wordl-solver-0.2.0 Rakefile
wordl-solver-0.1.4 Rakefile