<commit_before>$TESTING = true
require 'rubygems'
# require 'simplecov'
# SimpleCov.start
require 'minitest/pride'
require 'minitest/autorun'
require 'mocha/setup'
require 'memcached_mock'

ENV['MEMCACHED_SASL_PWDB'] = "#{File.dirname(__FILE__)}/sasldb"

WANT_RAILS_VERSION = ENV['RAILS_VERSION'] || '>= 3.0.0'
gem 'rails', WANT_RAILS_VERSION
require 'rails'
puts "Testing with Rails #{Rails.version}"

require 'dalli'
require 'logger'

Dalli.logger = Logger.new(STDOUT)<commit_msg>Disable minitest/pride under Rubinius, because Rubinius specs exit improperly with this extension<commit_after>$TESTING = true
require 'rubygems'
# require 'simplecov'
# SimpleCov.start
require 'minitest/pride' unless RUBY_ENGINE == 'rbx'
require 'minitest/autorun'
require 'mocha/setup'
require 'memcached_mock'

ENV['MEMCACHED_SASL_PWDB'] = "#{File.dirname(__FILE__)}/sasldb"

WANT_RAILS_VERSION = ENV['RAILS_VERSION'] || '>= 3.0.0'
gem 'rails', WANT_RAILS_VERSION
require 'rails'
puts "Testing with Rails #{Rails.version}"

require 'dalli'
require 'logger'

Dalli.logger = Logger.new(STDOUT)
{'fraction_non_alphanumeric': 0.13568773234200743, 'fraction_numerical': 0.0055762081784386614, 'mean_word_length': 7.097744360902255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3985604', 'n_tokens_mistral': 432, 'n_tokens_neox': 405, 'n_words': 85}