<commit_before>require 'platform_info/depcheck'

PlatformInfo::Depcheck.define('bundler >= 0.9.26') do
  name "Bundler >= 0.9.26"
  website "http://gembundler.com/"
  define_checker do
    found, message = check_for_ruby_library('bundler')
    if found
      begin
        require 'bundler/version'
        if Bundler::VERSION >= '0.9.26'
          [true]
        else
          [false, "only found older version #{Bundler::VERSION}"]
        end
      rescue LoadError
        [false]
      end
    else
      [false]
    end
  end
  
  gem_install "bundler"
end<commit_msg>Standardize on Bundler 1.0.<commit_after>require 'platform_info/depcheck'

PlatformInfo::Depcheck.define('bundler >= 1.0.0') do
  name "Bundler >= 1.0.0"
  website "http://gembundler.com/"
  define_checker do
    found, message = check_for_ruby_library('bundler')
    if found
      begin
        require 'bundler/version'
        if Bundler::VERSION >= '1.0.0'
          [true]
        else
          [false, "only found older version #{Bundler::VERSION}"]
        end
      rescue LoadError
        [false]
      end
    else
      [false]
    end
  end
  
  gem_install "bundler"
end
{'fraction_non_alphanumeric': 0.11369509043927649, 'fraction_numerical': 0.019810508182601206, 'mean_word_length': 2.3011363636363638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6120843', 'n_tokens_mistral': 394, 'n_tokens_neox': 385, 'n_words': 88}