Sha256: 35cced74057e1e2827db592e8537887443979c433ac7fc9e68128fe16f285bdc

Contents?: true

Size: 1.38 KB

Versions: 6

Compression:

Stored size: 1.38 KB

Contents

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "fuzzyhash"
    s.description = s.summary = "A weird hash with special semantics for regex keys"
    s.email = "joshbuddy@gmail.com"
    s.homepage = "http://fuzzyhash.rubyforge.org/"
    s.authors = ["Joshua Hull"]
    s.files = FileList["[A-Z]*", "{lib,spec}/**/*"]
    s.rubyforge_project = 'fuzzyhash' # This line would be new
  end
  
  Jeweler::GemcutterTasks.new
  Jeweler::RubyforgeTasks.new do |rubyforge|
    rubyforge.doc_task = "rdoc"
    rubyforge.remote_doc_path = ''
  end
  
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'spec'
require 'spec/rake/spectask'
task :spec => 'spec:all'
namespace(:spec) do
  Spec::Rake::SpecTask.new(:all) do |t|
    t.spec_opts ||= []
    t.spec_opts << "-rubygems"
    t.spec_opts << "--options" << "spec/spec.opts"
    t.spec_files = FileList['spec/**/*_spec.rb']
  end

end

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

require 'rake/rdoctask'
desc "Generate documentation"
Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
  rd.rdoc_dir = 'rdoc'
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
joshbuddy-fuzzyhash-0.0.7 Rakefile
fuzzyhash-0.0.11 Rakefile
fuzzyhash-0.0.10 Rakefile
fuzzyhash-0.0.9 Rakefile
fuzzyhash-0.0.8 Rakefile
fuzzyhash-0.0.7 Rakefile