<commit_before>require 'gemlock'
require 'rails'

module Gemlock
  class Railtie < Rails::Railtie
    rake_tasks do
      load 'tasks/gemlock.rake'
    end

    initializer 'Check for updates using Gemlock' do
      Gemlock.initializer
    end
  end
end<commit_msg>[#20297929] Only check for gem updates in production<commit_after>require 'gemlock'
require 'rails'

module Gemlock
  class Railtie < Rails::Railtie
    rake_tasks do
      load 'tasks/gemlock.rake'
    end

    initializer 'Check for updates using Gemlock' do
      Gemlock.initializer if Rails.env.production?
    end
  end
end
{'fraction_non_alphanumeric': 0.06734006734006734, 'fraction_numerical': 0.013468013468013467, 'mean_word_length': 3.375, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4855241', 'n_tokens_mistral': 202, 'n_tokens_neox': 183, 'n_words': 58}