<commit_before>require 'rake/gempackagetask'

class Rake::GemPackageTask

  def define_intercepted
    define_method_call
    desc "Install the gem file #{gem_file}"
    task :install => :gem do
      require 'rubygems/installer'
      Gem::Installer.new(File.join('pkg',gem_file)).install
    end
  end

  alias define_method_call define
  alias define define_intercepted

end<commit_msg>Moved install task to gem namespace<commit_after>require 'rake/gempackagetask'

class Rake::GemPackageTask

  def define_intercepted
    define_method_call
    namespace 'gem' do
      desc "Install the gem file #{gem_file}"
      task :install => :gem do
        require 'rubygems/installer'
        Gem::Installer.new(File.join('pkg',gem_file)).install
      end
    end
  end

  alias define_method_call define
  alias define define_intercepted

end
{'fraction_non_alphanumeric': 0.07847800237812129, 'fraction_numerical': 0.0, 'mean_word_length': 3.784090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5679734', 'n_tokens_mistral': 267, 'n_tokens_neox': 264, 'n_words': 66}