$:.unshift(File.dirname(__FILE__) + "/lib")
require "mixlib/cli/version"

Gem::Specification.new do |s|
  s.name = "mixlib-cli"
  s.version = Mixlib::CLI::VERSION
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = ["README.md", "LICENSE", "NOTICE"]
  s.summary = "A simple mixin for CLI interfaces, including option parsing"
  s.description = s.summary
  s.author = "Chef Software, Inc."
  s.email = "info@chef.io"
  s.homepage = "https://www.chef.io"
  s.license = "Apache-2.0"

  # Uncomment this to add a dependency
  #s.add_dependency "mixlib-log"
  s.add_development_dependency "chefstyle"
  s.add_development_dependency "rspec", "~> 3.0"
  s.add_development_dependency "rake", "~> 12.0"

  s.require_path = "lib"
  s.files = %w{LICENSE README.md Gemfile Rakefile NOTICE} + Dir.glob("*.gemspec") +
    Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
end

$:.unshift(File.dirname(__FILE__) + "/lib")
require "mixlib/cli/version"

Gem::Specification.new do |s|
  s.name = "mixlib-cli"
  s.version = Mixlib::CLI::VERSION
  s.extra_rdoc_files = ["README.md", "LICENSE", "NOTICE"]
  s.summary = "A simple mixin for CLI interfaces, including option parsing"
  s.description = s.summary
  s.author = "Chef Software, Inc."
  s.email = "info@chef.io"
  s.homepage = "https://www.chef.io"
  s.license = "Apache-2.0"

  # Uncomment this to add a dependency
  #s.add_dependency "mixlib-log"
  s.add_development_dependency "chefstyle"
  s.add_development_dependency "rspec", "~> 3.0"
  s.add_development_dependency "rake", "~> 12.0"

  s.require_path = "lib"
  s.files = %w{LICENSE README.md Gemfile Rakefile NOTICE} + Dir.glob("*.gemspec") +
    Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
end

Remove defaults from the gemspec
Remove defaults from the gemspec

has_rdoc is deprecated and platform defaults to ruby

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