<commit_before>require 'emblem/rails/template'

module Emblem
  module Rails
    class Engine < ::Rails::Engine
      initializer "ember_rails.setup", :after => :append_assets_path, :group => :all do |app|
        sprockets = if ::Rails::VERSION::MAJOR == 4
          Sprockets.respond_to?('register_engine') ? Sprockets : app.assets
        else
          app.assets
        end
        sprockets.register_engine '.emblem', Emblem::Rails::Template
      end
    end
  end
end<commit_msg>Register engine with app isntead of Sprockets<commit_after>require 'emblem/rails/template'

module Emblem
  module Rails
    class Engine < ::Rails::Engine
      initializer "ember_rails.setup", :after => :append_assets_path, :group => :all do |app|
        app.assets.register_engine '.emblem', Emblem::Rails::Template
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.11017964071856287, 'fraction_numerical': 0.0011976047904191617, 'mean_word_length': 3.2436548223350252, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1431437', 'n_tokens_mistral': 267, 'n_tokens_neox': 261, 'n_words': 63}