<commit_before>module Typekit
  Error = Class.new(StandardError)

  @defaults = { version: 1, format: :json }.freeze

  @schema = Proc.new do |version, format|
    address "https://typekit.com/api/v#{ version }/#{ format }"

    resources :families, only: :show do
      show ':variant', on: :member
    end

    resources :kits do
      resources :families, only: [ :show, :update, :delete ]
      show :published, on: :member
      update :publish, on: :member
    end

    resources :libraries, only: [ :index, :show ]
  end

  @dictionary = { :update => :post }.freeze # not PUT, Typekit’s exception

  @headers = Proc.new do |token|
    { 'X-Typekit-Token' => token }
  end

  singleton_class.class_eval do
    attr_reader :defaults, :schema, :dictionary, :headers
  end
end<commit_msg>Fixed a typo in the definition of the Typekit resources<commit_after>module Typekit
  Error = Class.new(StandardError)

  @defaults = { version: 1, format: :json }.freeze

  @schema = Proc.new do |version, format|
    address "https://typekit.com/api/v#{ version }/#{ format }"

    resources :families, only: :show do
      show ':variation', on: :member
    end

    resources :kits do
      resources :families, only: [ :show, :update, :delete ]
      show :published, on: :member
      update :publish, on: :member
    end

    resources :libraries, only: [ :index, :show ]
  end

  @dictionary = { :update => :post }.freeze # not PUT, Typekit’s exception

  @headers = Proc.new do |token|
    { 'X-Typekit-Token' => token }
  end

  singleton_class.class_eval do
    attr_reader :defaults, :schema, :dictionary, :headers
  end
end
{'fraction_non_alphanumeric': 0.13161131611316113, 'fraction_numerical': 0.0012300123001230013, 'mean_word_length': 3.1717948717948716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1505449', 'n_tokens_mistral': 555, 'n_tokens_neox': 520, 'n_words': 162}