Sha256: 18a9e954209382bb515756e618c1eed66dd9b6567d033d43de699a76733a0ab9

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

require 'rubygems'
require 'rake'

desc 'Default: run unit tests'
task :default => :test

begin
  require 'rspec'
  require 'rspec/core/rake_task'
  desc 'Run the unit tests'
  RSpec::Core::RakeTask.new(:test)
rescue LoadError
  task :test do
    raise "You must have rspec 2.0 installed to run the tests"
  end
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "is_it_working"
    gem.summary = %Q{Rack handler for monitoring several parts of a web application.}
    gem.description = %Q{Rack handler for monitoring several parts of a web application so one request can determine which system or dependencies are down.}
    gem.authors = ["Brian Durand"]
    gem.email = ["mdobrota@tribune.com", "ddpr@tribune.com"]
    gem.files = FileList["lib/**/*", "spec/**/*", "bin/**/*", "example/**/*" "README.rdoc", "Rakefile", "License.txt"].to_a
    gem.has_rdoc = true
    gem.rdoc_options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc'
    gem.extra_rdoc_files = ["README.rdoc"]
    # Add dependencies with gem.add_dependency('gem_name')
    gem.add_development_dependency('rspec', '>= 2.0')
    gem.add_development_dependency('webmock', '>= 1.6.0')
    gem.add_development_dependency('memcache-client')
    gem.add_development_dependency('dalli')
  end
  Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
is_it_working-1.0.10 Rakefile