<commit_before>Gem::Specification.new do |spec|
  files = []
  dirs = %w{lib examples etc patterns test}
  dirs.each do |dir|
    files += Dir["#{dir}/**/*"]
  end
<commit_msg>- update to only include necessary pieces in the gem<commit_after>Gem::Specification.new do |spec|
  files = []
  paths = %w{lib examples etc patterns}
  paths << "test/logstash/"
  paths << "test/logstash_test_runner.rb"
  paths << "test/standalone.sh"
  paths << "test/setup/elasticsearch/Makefile"
  paths.each do |path|
    if File.file?(path)
      files << path
    else
      files += Dir["#{path}/**/*"]
    end
  end

{'fraction_non_alphanumeric': 0.15946843853820597, 'fraction_numerical': 0.0, 'mean_word_length': 3.338129496402878, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 3, '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': '6670764', 'n_tokens_mistral': 209, 'n_tokens_neox': 211, 'n_words': 54}