<commit_before>require "fat_free_crm"
require 'nestful'

FatFreeCRM::Plugin.register(:crm_service_hooks, self) do
           name "Fat Free CRM - Service Hooks"
         author "<NAME>"
        version "1.0"
    description "Service Hooks - Send POST requests to specified URLs after a given action"
   dependencies :haml
            tab :admin, :text => "Service Hooks", :url => { :controller => "admin/service_hooks" }
end

require "crm_service_hooks"
<commit_msg>Added note about setting up a merge url.<commit_after>require "fat_free_crm"
require 'nestful'

FatFreeCRM::Plugin.register(:crm_service_hooks, self) do
           name "Fat Free CRM - Service Hooks"
         author "<NAME>"
        version "1.0"
    description "Service Hooks - Send POST requests to specified URLs after a given action"
   dependencies :haml
            tab :admin, :text => "Service Hooks", :url => { :controller => "admin/service_hooks" }
end

if (Setting[:service_hooks].blank? rescue true)
  puts "Please configure your service hook settings in the admin screen."
end

require "crm_service_hooks"
{'fraction_non_alphanumeric': 0.10046082949308756, 'fraction_numerical': 0.003686635944700461, 'mean_word_length': 3.5822784810126582, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4676638', 'n_tokens_mistral': 325, 'n_tokens_neox': 322, 'n_words': 109}