# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'casino/ldap_authenticator/version'

Gem::Specification.new do |s|
  s.name        = 'casino-ldap_authenticator'
  s.version     = CASino::LDAPAuthenticator::VERSION
  s.authors     = ['Nils Caspar']
  s.email       = ['ncaspar@me.com']
  s.homepage    = 'http://rbcas.org/'
  s.license     = 'MIT'
  s.summary     = 'Provides mechanism to use LDAP as an authenticator for CASino.'
  s.description = 'This gem can be used to allow the CASino backend to authenticate against an LDAP server.'

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ['lib']

  s.add_development_dependency 'rake', '~> 12.0'
  s.add_development_dependency 'rspec', '~> 3.0'
  s.add_development_dependency 'simplecov', '~> 0.16'
  s.add_development_dependency 'coveralls'

  s.add_runtime_dependency 'net-ldap', '~> 0.16'

  # Moved casino to Gemfile to support the git param
  # s.add_runtime_dependency 'casino', '~> 5.0', git: 'git@github.com:identification-io/CASino.git'
end
