Sha256: c85c806fd1aa9455beb6af8e691886d8fbac493ce5f4122fd50ff7383e6dbafc

Contents?: true

Size: 1000 Bytes

Versions: 1

Compression:

Stored size: 1000 Bytes

Contents

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "fuzzy_hash"
    s.description = s.summary = "A weird hash with special semantics for regex keys"
    s.email = "joshbuddy@gmail.com"
    s.homepage = "http://github.com/joshbuddy/fuzzy_hash"
    s.authors = ["Joshua Hull"]
    s.files = FileList["[A-Z]*", "{lib,spec}/**/*"]
  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
joshbuddy-fuzzy_hash-0.0.3 Rakefile