<commit_before>CarrierWave.configure do |config|
  config.root = Rails.root.join('tmp')
  config.delete_tmp_file_after_storage = true
  config.fog_credentials = {
    :provider           => 'Rackspace',
    :rackspace_username => Cloudsdale.config['rackspace_cloudfiles']['username'],
    :rackspace_api_key  => Cloudsdale.config['rackspace_cloudfiles']['api_key']
  }
  config.fog_directory = Cloudsdale.config['rackspace_cloudfiles']['fog_directory']
  config.fog_host = Cloudsdale.config['rackspace_cloudfiles']['fog_host']
end
<commit_msg>Now using service net for carrier wave uploads<commit_after>CarrierWave.configure do |config|
  config.root = Rails.root.join('tmp')
  config.delete_tmp_file_after_storage = true
  config.fog_credentials = {
    :provider           => 'Rackspace',
    :rackspace_username => Cloudsdale.config['rackspace_cloudfiles']['username'],
    :rackspace_api_key  => Cloudsdale.config['rackspace_cloudfiles']['api_key'],
    :rackspace_servicenet => Rails.env.production?
  }
  config.fog_directory = Cloudsdale.config['rackspace_cloudfiles']['fog_directory']
  config.fog_host = Cloudsdale.config['rackspace_cloudfiles']['fog_host']
end


{'fraction_non_alphanumeric': 0.13054607508532423, 'fraction_numerical': 0.0, 'mean_word_length': 5.9, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '1537647', 'n_tokens_mistral': 395, 'n_tokens_neox': 375, 'n_words': 47}