Sha256: 0e087960006bf83ee482678e56a5c6ba80bf46f40e8afc6898c9cc1eb9518e51

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 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 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
  gem.name = "audit53"
  gem.homepage = "http://github.com/colstrom/audit53"
  gem.license = "MIT"
  gem.summary = %Q{a commandline tool to find stale DNS records.}
  gem.description = %Q{audit53 gathers a list of IPs for all records in a zone, and warns if any resolve to an IP not associated with an EC2 instance.}
  gem.email = "chris@olstrom.com"
  gem.authors = ["Chris Olstrom"]
  gem.files         = `git ls-files`.split("\n")
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  gem.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
  gem.require_paths = ['lib']
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

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

require 'reek/rake/task'
Reek::Rake::Task.new do |t|
  t.fail_on_error = true
  t.verbose = false
  t.source_files = 'lib/**/*.rb'
end

require 'roodi'
require 'roodi_task'
RoodiTask.new do |t|
  t.verbose = false
end

task :default => :spec

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
audit53-0.8.10 Rakefile
audit53-0.8.9 Rakefile
audit53-0.8.0 Rakefile