<commit_before>#!/usr/bin/ruby

require 'rubygems'
gem 'github-api-client'

$:.unshift File.dirname(__FILE__) if Dir.pwd != Gem.loaded_specs['github-api-client'].full_gem_path # devel trick

require 'net/http'
require 'uri'
require 'yaml'
require 'singleton'
require 'active_record'
require 'core_ext/habtm'
require 'rainbow'
require 'progressbar'
require 'github-api-client/config'

GitHub::Config.setup<commit_msg>Use bundler in application, simplify devel trick (after Gemfile development gem of self, Dir.pwd is the same as loaded_spec full_gem_path), don't require progressbar.<commit_after>#!/usr/bin/ruby

require 'rubygems'
require 'bundler/setup'
gem 'github-api-client'

$:.unshift Gem.loaded_specs['github-api-client'].full_gem_path # devel trick

require 'net/http'
require 'uri'
require 'yaml'
require 'singleton'
require 'active_record'
require 'core_ext/habtm'
require 'rainbow'
require 'github-api-client/config'

GitHub::Config.setup
{'fraction_non_alphanumeric': 0.12526315789473685, 'fraction_numerical': 0.0, 'mean_word_length': 6.4296875, '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': '4705300', 'n_tokens_mistral': 329, 'n_tokens_neox': 318, 'n_words': 80}