<commit_before># -*- encoding: utf-8 -*-
require File.expand_path('../lib/log_weaver/version', __FILE__)

Gem::Specification.new do |gem|
  gem.add_development_dependency('readme', '~> 0.1')
  require 'readme'
  r = Readme.file
  gem.authors       = r.authors
  gem.email         = ["<EMAIL>"]
  gem.description   = r.description
  gem.summary       = "Weaves log files by timestamp."
  gem.homepage      = r.homepage

  gem.files         = `hg manifest`.split($\)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.name          = "log_weaver"
  gem.require_paths = ["lib"]
  gem.version       = LogWeaver::VERSION

  gem.add_development_dependency('yard', '~> 0.8')
  gem.add_development_dependency('unindent', '~> 1.0')
  gem.add_development_dependency('aruba', '~> 0.5')
  gem.add_development_dependency('cucumber', '~> 1.2')
  gem.add_development_dependency('rspec', '~> 2.13')
  gem.add_development_dependency('factory_girl', '~> 4.2')
  gem.add_development_dependency('rake','~> 0.9')
  gem.add_dependency('methadone', '~> 1.2')
  gem.add_dependency('require_all', '~> 1.2')
end


<commit_msg>Generate manifest from git or hg.<commit_after># -*- encoding: utf-8 -*-
require File.expand_path('../lib/log_weaver/version', __FILE__)

Gem::Specification.new do |gem|
  gem.add_development_dependency('readme', '~> 0.1')
  require 'readme'
  r = Readme.file
  gem.authors       = r.authors
  gem.email         = ["<EMAIL>"]
  gem.description   = r.description
  gem.summary       = "Weaves log files by timestamp."
  gem.homepage      = r.homepage

  if File.directory?('.hg')
    gem.files         = `hg manifest`.split($\)
  elsif File.directory?('.git')
    gem.files         = `git ls-files`.split($\)
  else
    raise "Need to build from a git or hg repo to generate manifest."
  end

  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.name          = "log_weaver"
  gem.require_paths = ["lib"]
  gem.version       = LogWeaver::VERSION

  gem.add_development_dependency('yard', '~> 0.8')
  gem.add_development_dependency('unindent', '~> 1.0')
  gem.add_development_dependency('aruba', '~> 0.5')
  gem.add_development_dependency('cucumber', '~> 1.2')
  gem.add_development_dependency('rspec', '~> 2.13')
  gem.add_development_dependency('factory_girl', '~> 4.2')
  gem.add_development_dependency('rake','~> 0.9')
  gem.add_dependency('methadone', '~> 1.2')
  gem.add_dependency('require_all', '~> 1.2')
end



{'fraction_non_alphanumeric': 0.18028385116992712, 'fraction_numerical': 0.016877637130801686, 'mean_word_length': 3.591549295774648, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '6156347', 'n_tokens_mistral': 1020, 'n_tokens_neox': 943, 'n_words': 153}