<commit_before>require 'logger'

require 'eventmachine'
require 'em-http-request'

require 'concurrent_downloader/version'
require 'concurrent_downloader/response'
require 'concurrent_downloader/processor'

module ConcurrentDownloader

  class << self
    def process_queue!(queue, options={}, &block)
      Processor.process_queue!(queue, options, &block)
    end

    def logger
      @logger ||= Logger.new('/dev/null')
    end

    def logger=(logger)
      @logger = logger
    end<commit_msg>remove const defined warning in 1.8<commit_after>require 'logger'

require 'eventmachine'
require 'em-http-request'

require 'concurrent_downloader/response'
require 'concurrent_downloader/processor'

module ConcurrentDownloader

  class << self
    def process_queue!(queue, options={}, &block)
      Processor.process_queue!(queue, options, &block)
    end

    def logger
      @logger ||= Logger.new('/dev/null')
    end

    def logger=(logger)
      @logger = logger
    end
{'fraction_non_alphanumeric': 0.1083844580777096, 'fraction_numerical': 0.002044989775051125, 'mean_word_length': 4.046391752577319, 'pattern_counts': {'":': 0, '<': 7, '<?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': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '215251', 'n_tokens_mistral': 289, 'n_tokens_neox': 279, 'n_words': 70}