<commit_before>require 'dashboard/version'

module Dashboard
  def self.settings
    @settings ||= {}
  end

  def self.configure(options = {})
    unless self.settings[:asset_paths]
      self.settings[:asset_paths] = [
        File.expand_path('../javascripts', __FILE__),
        File.expand_path('../stylesheets', __FILE__)
      ]
    end
  end

  module Sprockets
    # Append asset paths to an existing Sprockets environment
    def self.setup(environment, options = {})
      Dashboard.configure(options)
      Dashboard.settings[:asset_paths].each do |path|
        environment.append_path(path)
      end
    end
  end
end
<commit_msg>dashboard: Fix asset paths in gem<commit_after>require 'dashboard/version'

module Dashboard
  def self.settings
    @settings ||= {}
  end

  def self.configure(options = {})
    unless self.settings[:asset_paths]
      self.settings[:asset_paths] = [
        File.expand_path('../javascripts', __FILE__),
        File.expand_path('../stylesheets', __FILE__),
        File.expand_path('../images', __FILE__)
      ]
    end
  end

  module Sprockets
    # Append asset paths to an existing Sprockets environment
    def self.setup(environment, options = {})
      Dashboard.configure(options)
      Dashboard.settings[:asset_paths].each do |path|
        environment.append_path(path)
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.0, 'mean_word_length': 2.953488372093023, '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': '2988609', 'n_tokens_mistral': 404, 'n_tokens_neox': 410, 'n_words': 89}