<commit_before>class Service::Kanbanery < Service
  string :project_id, :project_token
  white_list :project_id

  def receive_push
    project_id = data['project_id']
    token = data['project_token']

    http_post "http://kanbanery.com/api/v1/projects/#{project_id}/git_commits",
      payload.to_json,
      'X-Kanbanery-ProjectGitHubToken' => token,
      'Content-Type' => 'application/json'
  end
end
<commit_msg>Forces SSL when delivering payloads to kanbanery.com<commit_after>class Service::Kanbanery < Service
  string :project_id, :project_token
  white_list :project_id

  def receive_push
    project_id = data['project_id']
    token = data['project_token']

    http_post "https://kanbanery.com/api/v1/projects/#{project_id}/git_commits",
      payload.to_json,
      'X-Kanbanery-ProjectGitHubToken' => token,
      'Content-Type' => 'application/json'
  end
end

{'fraction_non_alphanumeric': 0.11931818181818182, 'fraction_numerical': 0.0022727272727272726, 'mean_word_length': 4.182352941176471, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 1, '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': '197505', 'n_tokens_mistral': 303, 'n_tokens_neox': 292, 'n_words': 52}