$:.unshift(File.dirname(__FILE__) + '/lib')
require 'chef_zero/version'

Gem::Specification.new do |s|
  s.name = 'chef-zero'
  s.version = ChefZero::VERSION
  s.platform = Gem::Platform::RUBY
  s.summary = 'Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes'
  s.description = s.summary
  s.author = 'John Keiser'
  s.email = 'jkeiser@opscode.com'
  s.homepage = 'http://www.opscode.com'
  s.license = 'Apache 2.0'

  s.add_dependency 'mixlib-log',    '~> 1.3'
  s.add_dependency 'hashie',        '>= 2.0', '< 4.0'
  s.add_dependency 'uuidtools', '~> 2.1'
  s.add_dependency 'ffi-yajl', '~> 2.2'
  s.add_dependency 'rack'

  s.add_development_dependency 'rake'
  s.add_development_dependency 'rspec'
  s.add_development_dependency 'github_changelog_generator'

  s.bindir       = 'bin'
  s.executables  = ['chef-zero']
  s.require_path = 'lib'
  s.files = %w(LICENSE README.md Gemfile Rakefile) + Dir.glob('{lib,spec}/**/*')
end

$:.unshift(File.dirname(__FILE__) + '/lib')
require 'chef_zero/version'

Gem::Specification.new do |s|
  s.name = 'chef-zero'
  s.version = ChefZero::VERSION
  s.platform = Gem::Platform::RUBY
  s.summary = 'Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes'
  s.description = s.summary
  s.author = 'John Keiser'
  s.email = 'jkeiser@opscode.com'
  s.homepage = 'http://www.opscode.com'
  s.license = 'Apache 2.0'

  s.add_dependency 'mixlib-log',    '~> 1.3'
  s.add_dependency 'hashie',        '>= 2.0', '< 4.0'
  s.add_dependency 'uuidtools', '~> 2.1'
  s.add_dependency 'ffi-yajl', '~> 2.2'
  s.add_dependency 'rack'

  s.add_development_dependency 'rake'
  s.add_development_dependency 'rspec'
  s.add_development_dependency 'github_changelog_generator'

  s.bindir       = 'bin'
  s.executables  = ['chef-zero']
  s.require_path = 'lib'
  s.files = %w(LICENSE README.md Gemfile Rakefile) + Dir.glob('*.gemspec') +
      Dir.glob('{lib,spec}/**/*', File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
end

Add gemspec files to allow bundler to run from the gem
Add gemspec files to allow bundler to run from the gem
