Sha256: 79f07f7d8308dedc86204d986a8a3e845972398a8ade26fa1d5570b37270fd34

Contents?: true

Size: 993 Bytes

Versions: 1

Compression:

Stored size: 993 Bytes

Contents

require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'

task :default => :spec

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "uaid"
    s.summary = "A small library useful to Rack-based Ruby applications for obtaining information about the user agent"
    s.email = "adam@thewilliams.ws"
    s.homepage = "http://github.com/fivepointssolutions/uaid"
    s.description = s.summary
    s.authors = ["Adam Williams"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ['--options', 'spec/spec.opts']
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'uaid'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uaid-0.1.3 Rakefile