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

Gem::Specification.new do |spec|
  spec.name          = 'fauxhai'
  spec.version       = Fauxhai::VERSION
  spec.authors       = ['Seth Vargo']
  spec.email         = ['sethvargo@gmail.com']
  spec.description   = %q{Easily mock out ohai data}
  spec.summary       = %q{Fauxhai provides an easy way to mock out your ohai data for testing with chefspec!}
  spec.homepage      = 'https://github.com/customink/fauxhai'
  spec.license       = 'MIT'

  spec.required_ruby_version = '>= 1.9'

  spec.files         = `git ls-files`.split($\)
  spec.executables   = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_runtime_dependency 'net-ssh'
  spec.add_runtime_dependency 'chef', '~> 12.0'
  spec.add_runtime_dependency 'ohai', '~> 8.5'

  spec.add_development_dependency 'rake'
end

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

Gem::Specification.new do |spec|
  spec.name          = 'fauxhai'
  spec.version       = Fauxhai::VERSION
  spec.authors       = ['Seth Vargo']
  spec.email         = ['sethvargo@gmail.com']
  spec.description   = %q{Easily mock out ohai data}
  spec.summary       = %q{Fauxhai provides an easy way to mock out your ohai data for testing with chefspec!}
  spec.homepage      = 'https://github.com/customink/fauxhai'
  spec.license       = 'MIT'

  spec.required_ruby_version = '>= 1.9'

  spec.files         = `git ls-files`.split($\)
  spec.executables   = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_runtime_dependency 'net-ssh'

  spec.add_development_dependency 'chef', '~> 12.0'
  spec.add_development_dependency 'ohai', '~> 8.5'
  spec.add_development_dependency 'rake'
end

Make chef/ohai a development dep
Make chef/ohai a development dep

Fauxhai 3 can't be included in chefspec at the moment due to the Chef 12
dep.  Doing so would require us to remove Chef 11 support from
Chefspec. Chef 11 is still supported so that's not an acceptable option.
Since Ohai / Chef are only needed for dumping new platforms we should
move those to dev deps.
