Sha256: 4154ef5c1f67eea442a6054d9662c3ae99d87604baa94f76cc765717bfa0e041

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "honeypot"
    gem.summary = %Q{Track remote requests to catch fraud.}
    gem.description = %Q{Catch bad guys when they stick their hands in the honey.}
    gem.email = "seamus@abshere.net"
    gem.homepage = "http://github.com/seamusabshere/honeypot"
    gem.authors = ["Seamus Abshere"]
    gem.add_dependency 'fast_timestamp', '>=0.0.4'
    gem.add_dependency 'geokit', '>=1.5.0'
    gem.add_dependency 'activesupport', '>=3.0.0beta2'
    gem.add_dependency 'activerecord', '>=3.0.0beta2'
    # 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: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
honeypot-0.0.5 Rakefile
honeypot-0.0.4 Rakefile
honeypot-0.0.3 Rakefile
honeypot-0.0.2 Rakefile