require "rubygems"

SPEC = Gem::Specification.new do |s|
  s.name = "shorturl"
  s.version = "0.8.5"
  s.author = "Robby Russell"
  s.email = "robby@planetargon.com"
  s.homepage = "http://github.com/robbyrussell/shorturl/"
  s.platform = Gem::Platform::RUBY
  s.summary = "Shortens URLs using services such as RubyURL, urlTea, and TinyURL"
  candidates = Dir["{bin,lib,doc,test,examples}/**/*"]
  s.files = candidates
  s.require_path = "lib"
  s.autorequire = "shorturl"
  s.test_file = "test/ts_all.rb"
  s.has_rdoc = true
  s.extra_rdoc_files = ["README", "TODO", "MIT-LICENSE", "ChangeLog"]
  s.rdoc_options = [
    "--title", "ShortURL Documentation",
    "--main", "README",
    "-S",
    "-N",
    "--all"]
  s.default_executable = "shorturl"
  s.executables = ["shorturl"]
end
