<commit_before>ENV['THEME'] = 'railsmx' if Rails.env.test?

Rails.application.config.theme = ENV['THEME'].downcase
Rails.application.config.assets.precompile += ["#{ENV['THEME'].downcase}.css", "#{ENV['THEME'].downcase}.js"]

# Facebook_AppID
Rails.application.config.facebook_appid = ENV['FACEBOOK_APPID']<commit_msg>Implemented right the them lookup to avoid crashes when variables are not exported<commit_after>theme = ENV['THEME'] || ''

theme = 'railsmx' if Rails.env.test?

Rails.application.config.theme = theme.downcase
Rails.application.config.assets.precompile += ["#{theme.downcase}.css", "#{theme.downcase}.js"]

# Facebook_AppID
Rails.application.config.facebook_appid = ENV['FACEBOOK_APPID']
{'fraction_non_alphanumeric': 0.16595744680851063, 'fraction_numerical': 0.0, 'mean_word_length': 6.932584269662922, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1342035', 'n_tokens_mistral': 242, 'n_tokens_neox': 237, 'n_words': 37}