#!/usr/bin/env ruby -rubygems
# -*- encoding: utf-8 -*-

Gem::Specification.new do |gem|
  gem.version            = File.read('VERSION').chomp
  gem.date               = File.mtime('VERSION').strftime('%Y-%m-%d')

  gem.name               = 'tor'
  gem.homepage           = 'https://rubygems.org/gems/tor/'
  gem.license            = 'Unlicense' if gem.respond_to?(:license=)
  gem.summary            = 'Onion routing for Ruby.'
  gem.description        = 'Tor.rb is a Ruby library for interacting with the Tor anonymity network.'

  gem.author             = 'Arto Bendiken'
  gem.email              = 'or-talk@seul.org' # @see http://archives.seul.org/or/talk/

  gem.platform           = Gem::Platform::RUBY
  gem.files              = %w(AUTHORS CREDITS README.md UNLICENSE VERSION) + Dir.glob('lib/**/*.rb')
  gem.bindir             = %q(bin)
  gem.executables        = %w()
  gem.require_paths      = %w(lib)
  gem.extensions         = %w()
  gem.test_files         = %w()

  gem.required_ruby_version      = '>= 1.8.1'
  gem.requirements               = ['Tor (>= 0.2.1.25)']
  gem.add_development_dependency 'yard',  '~> 0.6', '>= 0.6.0'
  gem.add_development_dependency 'rspec', '~> 3'
  gem.post_install_message = nil
end
