<commit_before># Minimal stub allowing a plugin to work

require 'guard/compat/plugin'

module Guard
  class Plugin
    attr_reader :options

    def initialize(options)
      @options = options
    end
  end

  # Stub, but allow real Notifier to be used, because e.g. guard-minitest uses
  # is while guard-process is being tested
  unless Guard.const_defined?('Notifier')
    module Notifier
      def self.notify(_msg, _options = {})
        fail NotImplementedError, 'stub this method in your tests'
      end
    end
  end<commit_msg>allow initialize without args<commit_after># Minimal stub allowing a plugin to work

require 'guard/compat/plugin'

module Guard
  class Plugin
    attr_reader :options

    def initialize(options = {})
      @options = options
    end
  end

  # Stub, but allow real Notifier to be used, because e.g. guard-minitest uses
  # is while guard-process is being tested
  unless Guard.const_defined?('Notifier')
    module Notifier
      def self.notify(_msg, _options = {})
        fail NotImplementedError, 'stub this method in your tests'
      end
    end
  end
{'fraction_non_alphanumeric': 0.07006369426751592, 'fraction_numerical': 0.0, 'mean_word_length': 3.074074074074074, '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': '222056', 'n_tokens_mistral': 319, 'n_tokens_neox': 317, 'n_words': 118}