<commit_before>$:.unshift(File.dirname(__FILE__) + '/lib')
require 'chef/version'

Gem::Specification.new do |s|
  s.name = 'chef'
  s.version = Chef::VERSION
  s.platform = Gem::Platform::RUBY
  s.extra_rdoc_files = ["README.md", "CONTRIBUTING.md", "LICENSE" ]
  s.summary = "A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure."
  s.description = s.summary
  s.author = "<NAME>"
  s.email = "<EMAIL>"
  s.homepage = "http://wiki.opscode.com/display/chef"

  s.add_dependency "mixlib-config", ">= 1.1.2"
  s.add_dependency "mixlib-cli", "~> 1.3.0"
  s.add_dependency "mixlib-log", ">= 1.3.0"
  s.add_dependency "mixlib-authentication", ">= 1.3.0"
  s.add_dependency "mixlib-shellout"
  s.add_dependency "ohai", ">= 0.6.0"

  s.add_dependency "rest-client", ">= 1.0.4", "< 1.7.0"

  # The JSON gem reliably releases breaking changes as a patch release
  s.add_dependency "json", ">= 1.4.4", "<=  1.7.7"
  s.add_dependency "yajl-ruby", "~> 1.1"
  s.add_dependency "net-ssh", "~> 2.6"
  s.add_dependency "net-ssh-multi", "~> 1.1.0"
  # CHEF-3027: The knife-cloud plugins require newer features from highline, core chef should not.
  s.add_dependency "highline", ">= 1.6.9"
  s.add_dependency "erubis"

  %w(rdoc sdoc rake rack rspec_junit_formatter).each { |gem| s.add_development_dependency gem }
  %w(rspec-core rspec-expectations rspec-mocks).each { |gem| s.add_development_dependency gem, "~> 2.12.0" }

  s.bindir       = "bin"
  # chef-service-manager is a windows only executable.
  # However gemspec doesn't give us a way to have this executable only
  # on windows. So we're including this in all platforms.
  s.executables  = %w( chef-client chef-solo knife chef-shell shef chef-apply chef-service-manager )

  s.require_path = 'lib'
  s.files = %w(Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH)
end<commit_msg>Don't pass directories to Gem::Specification#files.<commit_after>$:.unshift(File.dirname(__FILE__) + '/lib')
require 'chef/version'

Gem::Specification.new do |s|
  s.name = 'chef'
  s.version = Chef::VERSION
  s.platform = Gem::Platform::RUBY
  s.extra_rdoc_files = ["README.md", "CONTRIBUTING.md", "LICENSE" ]
  s.summary = "A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure."
  s.description = s.summary
  s.author = "<NAME>"
  s.email = "<EMAIL>"
  s.homepage = "http://wiki.opscode.com/display/chef"

  s.add_dependency "mixlib-config", ">= 1.1.2"
  s.add_dependency "mixlib-cli", "~> 1.3.0"
  s.add_dependency "mixlib-log", ">= 1.3.0"
  s.add_dependency "mixlib-authentication", ">= 1.3.0"
  s.add_dependency "mixlib-shellout"
  s.add_dependency "ohai", ">= 0.6.0"

  s.add_dependency "rest-client", ">= 1.0.4", "< 1.7.0"

  # The JSON gem reliably releases breaking changes as a patch release
  s.add_dependency "json", ">= 1.4.4", "<=  1.7.7"
  s.add_dependency "yajl-ruby", "~> 1.1"
  s.add_dependency "net-ssh", "~> 2.6"
  s.add_dependency "net-ssh-multi", "~> 1.1.0"
  # CHEF-3027: The knife-cloud plugins require newer features from highline, core chef should not.
  s.add_dependency "highline", ">= 1.6.9"
  s.add_dependency "erubis"

  %w(rdoc sdoc rake rack rspec_junit_formatter).each { |gem| s.add_development_dependency gem }
  %w(rspec-core rspec-expectations rspec-mocks).each { |gem| s.add_development_dependency gem, "~> 2.12.0" }

  s.bindir       = "bin"
  # chef-service-manager is a windows only executable.
  # However gemspec doesn't give us a way to have this executable only
  # on windows. So we're including this in all platforms.
  s.executables  = %w( chef-client chef-solo knife chef-shell shef chef-apply chef-service-manager )

  s.require_path = 'lib'
  s.files = %w(Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
end
{'fraction_non_alphanumeric': 0.15997981327277316, 'fraction_numerical': 0.022710068130204392, 'mean_word_length': 3.998738965952081, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6145917', 'n_tokens_mistral': 1561, 'n_tokens_neox': 1445, 'n_words': 341}