<commit_before># frozen_string_literal: true

Gem::Specification.new do |gem|
  gem.name    = 'user_agent_parser'
  gem.version = '2.12.0'

  gem.authors     = '<NAME>'
  gem.email       = '<EMAIL>'
  gem.homepage    = 'https://github.com/ua-parser/uap-ruby'
  gem.summary     = "A simple, comprehensive Ruby gem for parsing user agent strings with the help of BrowserScope's UA database"
  gem.description = gem.summary
  gem.license     = 'MIT'
  gem.executables = ['user_agent_parser']

  gem.files = %x{git ls-files}.split("\n").select { |d| d =~ %r{^(MIT-LICENSE|Readme.md|lib|bin/)} } + ['vendor/uap-core/regexes.yaml']

  gem.required_ruby_version = '>= 2.5'
end<commit_msg>Make the gem searchable by 'useragent' keyword (#67)<commit_after># frozen_string_literal: true

Gem::Specification.new do |gem|
  gem.name    = 'user_agent_parser'
  gem.version = '2.12.0'

  gem.authors     = '<NAME>'
  gem.email       = '<EMAIL>'
  gem.homepage    = 'https://github.com/ua-parser/uap-ruby'
  gem.summary     = "Parsing user agent strings with the help of BrowserScope's UA database"
  gem.description = <<~DESCRIPTION
    A simple, comprehensive Ruby gem for parsing user agent strings
    with the help of BrowserScope's UserAgent database
  DESCRIPTION
  gem.license     = 'MIT'
  gem.executables = ['user_agent_parser']

  gem.files = %x{git ls-files}.split("\n").select { |d| d =~ %r{^(MIT-LICENSE|Readme.md|lib|bin/)} } + ['vendor/uap-core/regexes.yaml']

  gem.required_ruby_version = '>= 2.5'
end
{'fraction_non_alphanumeric': 0.15159574468085107, 'fraction_numerical': 0.009308510638297872, 'mean_word_length': 3.602446483180428, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '5869101', 'n_tokens_mistral': 552, 'n_tokens_neox': 520, 'n_words': 118}