<commit_before>require 'rake'
require 'rake/tasklib'

class Rake::Application
  attr_accessor :jeweler
end

class Jeweler
  class Tasks < ::Rake::TaskLib
    attr_accessor :gemspec, :jeweler

    def initialize(gemspec = nil, &block)
      @gemspec = gemspec || Gem::Specification.new
      @jeweler = Jeweler.new(@gemspec)
      yield @gemspec if block_given?

      Rake.application.jeweler = @jeweler
      define
    end

  private
    def define
      desc "Setup initial version of 0.0.0"
      task :version_required do
        unless jeweler.version_exists?
          abort "Expected VERSION or VERSION.yml to exist. See version:write to create an initial one."
        end
      end

      desc "Build gem"
      task :build do
        jeweler.build_gem
      end

      desc "Install gem using sudo"
      task :install => :build do
        jeweler.install_gem
      end<commit_msg>Removed misleading docstring for version_required rake task [#17]<commit_after>require 'rake'
require 'rake/tasklib'

class Rake::Application
  attr_accessor :jeweler
end

class Jeweler
  class Tasks < ::Rake::TaskLib
    attr_accessor :gemspec, :jeweler

    def initialize(gemspec = nil, &block)
      @gemspec = gemspec || Gem::Specification.new
      @jeweler = Jeweler.new(@gemspec)
      yield @gemspec if block_given?

      Rake.application.jeweler = @jeweler
      define
    end

  private
    def define
      task :version_required do
        unless jeweler.version_exists?
          abort "Expected VERSION or VERSION.yml to exist. See version:write to create an initial one."
        end
      end

      desc "Build gem"
      task :build do
        jeweler.build_gem
      end

      desc "Install gem using sudo"
      task :install => :build do
        jeweler.install_gem
      end
{'fraction_non_alphanumeric': 0.07421875, 'fraction_numerical': 0.0027901785714285715, 'mean_word_length': 2.529527559055118, 'pattern_counts': {'":': 0, '<': 5, '<?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': '73212', 'n_tokens_mistral': 556, 'n_tokens_neox': 545, 'n_words': 166}