# encoding: utf-8

require File.expand_path('../lib/petrovich/version', __FILE__)
$:.push File.expand_path('../lib', __FILE__)

Gem::Specification.new do |s|
  s.name        = 'petrovich'
  s.version     = Petrovich::VERSION
  s.authors     = ['Andrew Kozlov', 'Dmitry Ustalov']
  s.email       = ['demerest@gmail.com', 'dmitry.ustalov@gmail.com']
  s.homepage    = 'https://petrovich.nlpub.ru/'
  s.summary     = 'Petrovich, an inflector for Russian anthroponyms.'
  s.description = 'A morphological library for Russian anthroponyms, such as first names, last names, and middle names.'
  s.license     = 'MIT'

  s.required_ruby_version = '>= 1.9.3'
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
  s.files = Dir['{lib}/**/*'] + Dir['rules/*.yml'] + ['MIT-LICENSE', 'Rakefile', 'README.md']

  s.add_development_dependency 'rake'
  s.add_development_dependency 'minitest'
end
