# -*- ruby -*-
# encoding: utf-8

$LOAD_PATH.push File.expand_path("lib", __dir__)
require "googleauth/version"

Gem::Specification.new do |gem|
  gem.name          = "googleauth"
  gem.version       = Google::Auth::VERSION
  gem.authors       = ["Tim Emiola"]
  gem.email         = "temiola@google.com"
  gem.homepage      = "https://github.com/google/google-auth-library-ruby"
  gem.summary       = "Google Auth Library for Ruby"
  gem.license       = "Apache-2.0"
  gem.description   = <<-DESCRIPTION
   Allows simple authorization for accessing Google APIs.
   Provide support for Application Default Credentials, as described at
   https://developers.google.com/accounts/docs/application-default-credentials
  DESCRIPTION

  gem.files         = `git ls-files`.split "\n"
  gem.test_files    = `git ls-files -- spec/*`.split "\n"
  gem.executables   = `git ls-files -- bin/*.rb`.split("\n").map do |f|
    File.basename f
  end
  gem.require_paths = ["lib"]
  gem.platform      = Gem::Platform::RUBY
  gem.required_ruby_version = ">= 2.3.0"

  gem.add_dependency "faraday", "~> 0.9.2"
  gem.add_dependency "jwt", ">= 1.4", "< 3.0"
  gem.add_dependency "memoist", "~> 0.16"
  gem.add_dependency "multi_json", "~> 1.11"
  gem.add_dependency "os", ">= 0.9", "< 2.0"
  gem.add_dependency "signet", "~> 0.7"
end
