<commit_before>config = Kuroko2.config.app_authentication.try!(:google_oauth2)
if config.present?
  require 'omniauth-google-oauth2'
  Rails.application.config.middleware.use OmniAuth::Builder do
    provider :google_oauth2, config.client_id, config.client_secret, options
  end
end<commit_msg>Require app_authentication.google_oauth2 configuration<commit_after>require 'omniauth-google-oauth2'
Rails.application.config.middleware.use OmniAuth::Builder do
  config = Kuroko2.config.app_authentication.google_oauth2
  provider :google_oauth2, config.client_id, config.client_secret, config.options
end
{'fraction_non_alphanumeric': 0.09, 'fraction_numerical': 0.015, 'mean_word_length': 7.464788732394366, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1340083', 'n_tokens_mistral': 196, 'n_tokens_neox': 193, 'n_words': 30}