<commit_before>require 'forwardable'
require 'kss/parser'

class Styleguide
  extend Forwardable

  def_delegator :@parser, :sections

  def initialize
    paths = [Rails.root.join('app/assets/stylesheets'),
             "#{Bundler.rubygems.find_name('dough-ruby').first.full_gem_path}/app/assets/stylesheets/dough"]

    @parser = Kss::Parser.new(*paths)
  end
end<commit_msg>Revert "Use the new location of Dough stylesheets in the styleguide"<commit_after>require 'forwardable'
require 'kss/parser'

class Styleguide
  extend Forwardable

  def_delegator :@parser, :sections

  def initialize
    paths = [Rails.root.join('app/assets/stylesheets'),
             Rails.root.join('vendor/assets/bower_components/frontend-assets/stylesheets')]

    @parser = Kss::Parser.new(*paths)
  end
end
{'fraction_non_alphanumeric': 0.11994949494949494, 'fraction_numerical': 0.0, 'mean_word_length': 4.394557823129252, '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': '1273373', 'n_tokens_mistral': 271, 'n_tokens_neox': 262, 'n_words': 49}