<commit_before>require 'codeclimate-test-reporter'
require 'coveralls'
CodeClimate::TestReporter.start
Coveralls.wear!

$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')

require 'simple-api-auth'

support_glob = File.expand_path('support/**/*.rb', File.dirname(__FILE__))
Dir[support_glob].each { |f| require f }

RSpec.configure do |config|
  config.include SpecHelpers::Dummy
  config.extend SpecHelpers::Requests

  config.before(:each) do
    allow(Time).to receive(:now) { Time.utc(2014, 11, 8, 0, 7) }
    SimpleApiAuth.config.reset!
    SimpleApiAuth.config.hasher = SpecHelpers::Auth::DummyHasher
  end
end

class String
  def unindent
    first_line_spaces = self[/\A\s*/]
    gsub(/^#{first_line_spaces}/, '')
  end
end
<commit_msg>Temporarily remove coveralls.<commit_after>require 'codeclimate-test-reporter'
# require 'coveralls'
CodeClimate::TestReporter.start
# Coveralls.wear!

$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')

require 'simple-api-auth'

support_glob = File.expand_path('support/**/*.rb', File.dirname(__FILE__))
Dir[support_glob].each { |f| require f }

RSpec.configure do |config|
  config.include SpecHelpers::Dummy
  config.extend SpecHelpers::Requests

  config.before(:each) do
    allow(Time).to receive(:now) { Time.utc(2014, 11, 8, 0, 7) }
    SimpleApiAuth.config.reset!
    SimpleApiAuth.config.hasher = SpecHelpers::Auth::DummyHasher
  end
end

class String
  def unindent
    first_line_spaces = self[/\A\s*/]
    gsub(/^#{first_line_spaces}/, '')
  end
end

{'fraction_non_alphanumeric': 0.14973614775725594, 'fraction_numerical': 0.011873350923482849, 'mean_word_length': 4.790076335877862, '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': '2315238', 'n_tokens_mistral': 549, 'n_tokens_neox': 535, 'n_words': 96}