<commit_before>require 'spec_helper'
require 'queueing_rabbit/extensions/threaded'

describe QueueingRabbit::JobExtensions::Threaded do

  let(:test_job) {
    Class.new(QueueingRabbit::AbstractJob) do

      include QueueingRabbit::JobExtensions::Threaded

      exchange 'test_job'<commit_msg>Don’t run threaded_spec on Ruby 1.8.7.<commit_after>require 'spec_helper'
require 'queueing_rabbit/extensions/threaded'

describe QueueingRabbit::JobExtensions::Threaded, :ruby => '1.8.7'  do

  let(:test_job) {
    Class.new(QueueingRabbit::AbstractJob) do

      include QueueingRabbit::JobExtensions::Threaded

      exchange 'test_job'
{'fraction_non_alphanumeric': 0.10725552050473186, 'fraction_numerical': 0.00946372239747634, 'mean_word_length': 5.827956989247312, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4149003', 'n_tokens_mistral': 221, 'n_tokens_neox': 201, 'n_words': 34}