<commit_before>if defined?(ChefSpec)
  ChefSpec.define_matcher(:windowsapps_installsite)
  ChefSpec.define_matcher(:windowsapps_installservice)

  def installsite_windowsapp(resource)
    ChefSpec::Matchers::ResourceMatcher.new(:windowsapps_installsite,
                                            :install,
                                            resource)
  end
  def installservice_windowsapp(resource)
    ChefSpec::Matchers::ResourceMatcher.new(:windowsapps_installservice,
                                            :install,<commit_msg>update matchers to match resources<commit_after>if defined?(ChefSpec)
  ChefSpec.define_matcher(:windowsapps_installsite)
  ChefSpec.define_matcher(:windowsapps_installservice)

  def installsite_windowsapp(resource)
    ChefSpec::Matchers::ResourceMatcher.new(:windowsapps_installsite,
                                            :installsite,
                                            resource)
  end
  def installservice_windowsapp(resource)
    ChefSpec::Matchers::ResourceMatcher.new(:windowsapps_installservice,
                                            :installservice,
{'fraction_non_alphanumeric': 0.06914893617021277, 'fraction_numerical': 0.0, 'mean_word_length': 2.310850439882698, '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': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3179755', 'n_tokens_mistral': 265, 'n_tokens_neox': 264, 'n_words': 31}