<commit_before>require_dependency 'projects_helper'

module CloneTicketProjectsHelperPatch
  def self.include(base)
    base.send(:include, ProjectsHelperMethodCloneTicket)
    base.class_eval do
      alias_method_chain :project_settings_tab, :clone_ticket
    end
  end

  module ProjectsHelperMethodCloneTicket
    def project_settings_tab_with_clone_ticket
      puts 'test'
      tabs = project_settings_tab_without_clone_ticket # call super
      @clone_ticket_settings = CloneTicketSettings.find_or_create(@project_id)
      action =
        {
          name: 'clone_ticket',
          controller: 'clone_ticket_settings',
          action: :edit,
          partial: 'clone_ticket_settings/edit',
          label: :clone_ticket
        }
      tabs << action
      tabs
    end
  end
end<commit_msg>Fix typos<commit_after>require_dependency 'projects_helper'

module CloneTicketProjectsHelperPatch
  def self.included(base)
    base.send(:include, ProjectsHelperMethodCloneTicket)
    base.class_eval do
      alias_method_chain :project_settings_tab, :clone_ticket
    end
  end

  module ProjectsHelperMethodCloneTicket
    def project_settings_tab_with_clone_ticket
      puts 'test'
      tabs = project_settings_tab_without_clone_ticket # call super
      @clone_ticket_settings = CloneTicketSettings.find_or_create(@project_id)
      action =
        {
          name: 'clone_ticket',
          controller: 'clone_ticket_settings',
          action: :edit,
          partial: 'clone_ticket_settings/edit',
          label: :clone_ticket
        }
      tabs << action
      tabs
    end
  end
end
{'fraction_non_alphanumeric': 0.062150403977625855, 'fraction_numerical': 0.0, 'mean_word_length': 3.149484536082474, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1565031', 'n_tokens_mistral': 492, 'n_tokens_neox': 466, 'n_words': 88}