# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'chef-api/version'

Gem::Specification.new do |spec|
  spec.name          = 'chef-api'
  spec.version       = ChefAPI::VERSION
  spec.authors       = ['Seth Vargo']
  spec.email         = ['sethvargo@gmail.com']
  spec.description   = 'A tiny Chef API client with minimal dependencies'
  spec.summary       = 'A Chef API client in Ruby'
  spec.homepage      = 'https://github.com/sethvargo/chef-api'
  spec.license       = 'Apache 2.0'

  spec.required_ruby_version = '>= 2.2'

  spec.files         = %w{LICENSE} + Dir.glob("{lib}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'logify',     '~> 0.1'
  spec.add_dependency 'mime-types'
end

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'chef-api/version'

Gem::Specification.new do |spec|
  spec.name          = 'chef-api'
  spec.version       = ChefAPI::VERSION
  spec.authors       = ['Seth Vargo']
  spec.email         = ['sethvargo@gmail.com']
  spec.description   = 'A tiny Chef API client with minimal dependencies'
  spec.summary       = 'A Chef API client in Ruby'
  spec.homepage      = 'https://github.com/sethvargo/chef-api'
  spec.license       = 'Apache-2.0'

  spec.required_ruby_version = '>= 2.2'

  spec.files         = %w{LICENSE} + Dir.glob("{lib}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'logify',     '~> 0.1'
  spec.add_dependency 'mime-types'
end

Use a SPDX compliant license string
Use a SPDX compliant license string

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
