<commit_before>Rails.application.routes.draw do

  match 'api/:action', :controller => 'api', :via => [:get, :post]
<commit_msg>list API methods individually because this is deprecated in rails 5.2<commit_after>Rails.application.routes.draw do

  post 'api/notify' => 'api#notify'
  post 'api/register' => 'api#register'
  post 'api/add_auth_key' => 'api#add_auth_key'
  post 'api/remove_auth_key' => 'api#remove_auth_key'

{'fraction_non_alphanumeric': 0.15130023640661938, 'fraction_numerical': 0.004728132387706856, 'mean_word_length': 5.625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6463008', 'n_tokens_mistral': 150, 'n_tokens_neox': 147, 'n_words': 33}