<commit_before># frozen_string_literal: true
require "active_support/deprecation"

module GraphQL
  class Client
    if ActiveSupport::Deprecation.is_a?(Class)
      Deprecation = ActiveSupport::Deprecation.new("0.9", "graphql-client")
    else
      module Deprecation
        extend self

        def silence(&block)
          ActiveSupport::Deprecation.silence(&block)
        end

        def warn(*args)
          ActiveSupport::Deprecation.warn(*args)
        end

        def deprecate_methods(*args)
          # TODO
        end

        def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil)
          warn "#{deprecated_method_name} is deprecated and will be removed from graphql-client 0.9 (#{message})"
        end
      end
    end
  end
end<commit_msg>Update deprecation horizon<commit_after># frozen_string_literal: true
require "active_support/deprecation"

module GraphQL
  class Client
    if ActiveSupport::Deprecation.is_a?(Class)
      Deprecation = ActiveSupport::Deprecation.new("10.0", "graphql-client")
    else
      module Deprecation
        extend self

        def silence(&block)
          ActiveSupport::Deprecation.silence(&block)
        end

        def warn(*args)
          ActiveSupport::Deprecation.warn(*args)
        end

        def deprecate_methods(*args)
          # TODO
        end

        def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil)
          warn "#{deprecated_method_name} is deprecated and will be removed from graphql-client 0.9 (#{message})"
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.08322981366459627, 'fraction_numerical': 0.0055900621118012426, 'mean_word_length': 2.6864988558352403, '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': '7129136', 'n_tokens_mistral': 468, 'n_tokens_neox': 455, 'n_words': 109}