<commit_before>module RSpec
  module Core
    class Configuration
      def mock_with(use_me_to_mock)
        self.mock_framework = use_me_to_mock
      end
    end

    module ConstMissing
      def const_missing(name)
        if :Spec == name
          RSpec.warn <<-WARNING
*****************************************************************
DEPRECATION WARNING: you are using a deprecated constant that will
be removed from a future version of RSpec.

* Spec is deprecated.
* RSpec is the new top-level module in RSpec-2

#{caller(0)[1]}
*****************************************************************
WARNING<commit_msg>add Rspec to const_missing (was supposed to do this last commit)<commit_after>module RSpec
  module Core
    class Configuration
      def mock_with(use_me_to_mock)
        self.mock_framework = use_me_to_mock
      end
    end

    module ConstMissing
      def const_missing(name)
        case name
        when :Rspec
          RSpec
        when :Spec
          RSpec.warn <<-WARNING
*****************************************************************
DEPRECATION WARNING: you are using a deprecated constant that will
be removed from a future version of RSpec.

* Spec is deprecated.
* RSpec is the new top-level module in RSpec-2

#{caller(0)[1]}
*****************************************************************
WARNING
{'fraction_non_alphanumeric': 0.2379540400296516, 'fraction_numerical': 0.004447739065974796, 'mean_word_length': 3.6551724137931036, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5615832', 'n_tokens_mistral': 352, 'n_tokens_neox': 334, 'n_words': 117}