<commit_before>require 'yaml'

version_yaml = YAML.load(File.open('VERSION.yml').read)
version = "#{version_yaml['major']}.#{version_yaml['minor']}.#{version_yaml['patch']}"
gem_name = "json-schema"

Gem::Specification.new do |s|
  s.name = gem_name
  s.version = version
  s.authors = ["<NAME>"]
  s.email = "<EMAIL>"
  s.homepage = "http://github.com/hoxworth/json-schema/tree/master"
  s.summary = "Ruby JSON Schema Validator"
  s.files = Dir[ "lib/**/*", "resources/*.json" ]
  s.require_path = "lib"
  s.test_files = Dir[ "test/**/test*", "test/{data,schemas}/*.json" ]
  s.extra_rdoc_files = ["README.textile","LICENSE.md"]
  s.required_ruby_version = ">= 1.8.7"
  s.license = "MIT"
  s.required_rubygems_version = ">= 1.8"
end<commit_msg>Added json_gem as a dependency for ruby 1.8 (only)<commit_after>require 'yaml'

version_yaml = YAML.load(File.open('VERSION.yml').read)
version = "#{version_yaml['major']}.#{version_yaml['minor']}.#{version_yaml['patch']}"
gem_name = "json-schema"

Gem::Specification.new do |s|
  s.name = gem_name
  s.version = version
  s.authors = ["<NAME>"]
  s.email = "<EMAIL>"
  s.homepage = "http://github.com/hoxworth/json-schema/tree/master"
  s.summary = "Ruby JSON Schema Validator"
  s.files = Dir[ "lib/**/*", "resources/*.json" ]
  s.require_path = "lib"
  s.test_files = Dir[ "test/**/test*", "test/{data,schemas}/*.json" ]
  s.extra_rdoc_files = ["README.textile","LICENSE.md"]
  s.required_ruby_version = ">= 1.8.7"
  s.license = "MIT"
  s.required_rubygems_version = ">= 1.8"

  if RUBY_VERSION.start_with?("1.8")
    s.add_dependency "json"
  end
end
{'fraction_non_alphanumeric': 0.20575359599749843, 'fraction_numerical': 0.008755472170106316, 'mean_word_length': 4.3872053872053876, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '7444202', 'n_tokens_mistral': 648, 'n_tokens_neox': 625, 'n_words': 102}