lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yoti/version'

Gem::Specification.new do |spec|
  spec.name          = 'yoti'
  spec.version       = Yoti::VERSION
  spec.authors       = ['Sebastian Zaremba']
  spec.email         = ['tech@yoti.com']

  spec.summary       = 'Yoti Ruby SDK for back-end integration.'
  spec.description = <<-DESC
    This gem contains the tools you need to quickly integrate your Ruby back-end
    with Yoti, so that your users can share their identity details with your
    application in a secure and trusted way.
  DESC

  spec.homepage      = 'https://github.com/getyoti/yoti-ruby-sdk'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|examples)/}) }
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.4'

  spec.add_dependency 'protobuf', '~> 3.6'
  spec.add_dependency 'google-protobuf', '~> 3.6.1'

  spec.add_development_dependency 'bundler', '~> 1.13'
  spec.add_development_dependency 'dotenv', '~> 2.2'
  spec.add_development_dependency 'generator_spec', '~> 0.9'
  spec.add_development_dependency 'rake', '~> 12.0'
  spec.add_development_dependency 'rspec', '~> 3.5'
  spec.add_development_dependency 'simplecov', '~> 0.13'
  spec.add_development_dependency 'webmock', '~> 3.3'
  spec.add_development_dependency 'yard', '~> 0.9'
  spec.add_development_dependency 'yardstick', '~> 0.9'
end
