<commit_before>module ActiveSupport # :nodoc:all
  module Deprecation
    class << self
      def deprecation_message(callstack, message = nil)
        "DEPRECATION WARNING: #{message} #{deprecation_caller_message(callstack)}"
      end
    end
  end
end<commit_msg>Only fix ActiveSupport deprecation message pre-2.2, and fix it to the actual message which will be used in 2.2.<commit_after>require 'active_support'
require 'active_support/version'

module ActiveSupport # :nodoc:all
  if VERSION::MAJOR <= 2 && VERSION::MINOR <= 1
    module Deprecation
      class << self
        def deprecation_message(callstack, message = nil)
          message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
          "DEPRECATION WARNING: #{message}. #{deprecation_caller_message(callstack)}"
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.08333333333333333, 'fraction_numerical': 0.00684931506849315, 'mean_word_length': 3.5677083333333335, 'pattern_counts': {'":': 0, '<': 9, '<?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': '1669128', 'n_tokens_mistral': 259, 'n_tokens_neox': 253, 'n_words': 82}