<commit_before>if defined?(ChefSpec)
  def create_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:jenkins_ci_cookbook_ci, :create, cookbook)
  end

  def enable_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:jenkins_ci_cookbook_ci, :enable, cookbook)
  end

  def disable_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:jenkins_ci_cookbook_ci, :disable, cookbook)
  end

  def delete_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:jenkins_ci_cookbook_ci, :delete, cookbook)
  end
end
<commit_msg>Chef 12 Updating matcher<commit_after>if defined?(ChefSpec)
  def create_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:cookbook_ci, :create, cookbook)
  end

  def enable_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:cookbook_ci, :enable, cookbook)
  end

  def disable_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:cookbook_ci, :disable, cookbook)
  end

  def delete_cookbook_ci(cookbook)
    ChefSpec::Matchers::ResourceMatcher.new(:cookbook_ci, :delete, cookbook)
  end
end

{'fraction_non_alphanumeric': 0.10403587443946188, 'fraction_numerical': 0.0017937219730941704, 'mean_word_length': 7.205882352941177, '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': '2091846', 'n_tokens_mistral': 399, 'n_tokens_neox': 392, 'n_words': 57}