<commit_before>module Rack

  class Heartbeat::Railtie < Rails::Railtie
    initializer "rack.heartbeat.initializer" do |app|
      app.middleware.insert 0, 'Rack::Heartbeat'
    end
  end

end<commit_msg>fix deprecation warning in Rails 5.<commit_after>module Rack

  class Heartbeat::Railtie < Rails::Railtie
    initializer "rack.heartbeat.initializer" do |app|
      app.middleware.insert 0, Rack::Heartbeat
    end
  end

end
{'fraction_non_alphanumeric': 0.09534883720930233, 'fraction_numerical': 0.0069767441860465115, 'mean_word_length': 4.070588235294117, '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': '750289', 'n_tokens_mistral': 160, 'n_tokens_neox': 138, 'n_words': 34}