<commit_before>require 'user_agent/browsers/base'
require 'user_agent/browsers/chrome'
require 'user_agent/browsers/edge'
require 'user_agent/browsers/gecko'
require 'user_agent/browsers/internet_explorer'
require 'user_agent/browsers/opera'
require 'user_agent/browsers/webkit'
require 'user_agent/browsers/wechat_browser'
require 'user_agent/browsers/windows_media_player'
require 'user_agent/browsers/itunes'
require 'user_agent/browsers/apple_core_media'
require 'user_agent/browsers/libavformat'
require 'user_agent/browsers/playstation'
require 'user_agent/browsers/podcast_addict'
require 'user_agent/browsers/vivaldi'
require 'user_agent/browsers/pocket_casts'

class UserAgent
  module Browsers
    Security = {
      "N" => :none,
      "U" => :strong,
      "I" => :weak
    }.freeze

    ALL = [
      Edge,
      InternetExplorer,
      Opera,
      WechatBrowser,
      Vivaldi,
      PocketCasts,
      Chrome,
      ITunes,
      PlayStation,
      PodcastAddict,
      Webkit,
      Gecko,
      WindowsMediaPlayer,
      AppleCoreMedia,
      Libavformat,
    ].freeze

    def self.all
      ALL
    end

    def self.extend(array)
      all.each do |extension|
        return extension.new(array) if extension.extend?(array)
      end
      array
    end
  end
end<commit_msg>AROR-1532 add back GoogleHome to browsers<commit_after>require 'user_agent/browsers/base'
require 'user_agent/browsers/chrome'
require 'user_agent/browsers/edge'
require 'user_agent/browsers/gecko'
require 'user_agent/browsers/internet_explorer'
require 'user_agent/browsers/opera'
require 'user_agent/browsers/webkit'
require 'user_agent/browsers/wechat_browser'
require 'user_agent/browsers/windows_media_player'
require 'user_agent/browsers/itunes'
require 'user_agent/browsers/apple_core_media'
require 'user_agent/browsers/libavformat'
require 'user_agent/browsers/playstation'
require 'user_agent/browsers/podcast_addict'
require 'user_agent/browsers/vivaldi'
require 'user_agent/browsers/pocket_casts'
require 'user_agent/browsers/google_home'

class UserAgent
  module Browsers
    Security = {
      "N" => :none,
      "U" => :strong,
      "I" => :weak
    }.freeze

    ALL = [
      Edge,
      InternetExplorer,
      Opera,
      WechatBrowser,
      Vivaldi,
      GoogleHome,
      PocketCasts,
      Chrome,
      ITunes,
      PlayStation,
      PodcastAddict,
      Webkit,
      Gecko,
      WindowsMediaPlayer,
      AppleCoreMedia,
      Libavformat,
    ].freeze

    def self.all
      ALL
    end

    def self.extend(array)
      all.each do |extension|
        return extension.new(array) if extension.extend?(array)
      end
      array
    end
  end
end
{'fraction_non_alphanumeric': 0.09253731343283582, 'fraction_numerical': 0.0014925373134328358, 'mean_word_length': 3.2827476038338657, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5869914', 'n_tokens_mistral': 940, 'n_tokens_neox': 920, 'n_words': 165}