<commit_before>$:.unshift File.join(File.dirname(__FILE__), 'lib')

require 'regexp_parser/version'

Gem::Specification.new do |gem|
  gem.name          = 'regexp_parser'
  gem.version       = ::Regexp::Parser::VERSION

  gem.summary       = "Scanner, lexer, parser for ruby's regular expressions"
  gem.description   = 'A library for tokenizing, lexing, and parsing Ruby regular expressions.'
  gem.homepage      = 'http://github.com/ammar/regexp_parser'

  if gem.respond_to?(:metadata)
    gem.metadata    = { 'issue_tracker' => 'https://github.com/ammar/regexp_parser/issues' }
  end

  gem.authors       = ['<NAME>']
  gem.email         = ['<EMAIL>']

  gem.license       = 'MIT'

  gem.require_paths = ['lib']

  gem.files         = Dir.glob('{lib,test}/**/*.rb') +
                      Dir.glob('lib/**/*.rl') +
                      %w(Gemfile Rakefile LICENSE README.md ChangeLog regexp_parser.gemspec)

  gem.test_files    = Dir.glob('test/**/*.rb')

  gem.rdoc_options  = ["--inline-source", "--charset=UTF-8"]

  gem.platform      = Gem::Platform::RUBY

  gem.required_ruby_version = '>= 1.8.7'
end<commit_msg>Update minimum ruby version in gemspec to 1.9.1<commit_after>$:.unshift File.join(File.dirname(__FILE__), 'lib')

require 'regexp_parser/version'

Gem::Specification.new do |gem|
  gem.name          = 'regexp_parser'
  gem.version       = ::Regexp::Parser::VERSION

  gem.summary       = "Scanner, lexer, parser for ruby's regular expressions"
  gem.description   = 'A library for tokenizing, lexing, and parsing Ruby regular expressions.'
  gem.homepage      = 'http://github.com/ammar/regexp_parser'

  if gem.respond_to?(:metadata)
    gem.metadata    = { 'issue_tracker' => 'https://github.com/ammar/regexp_parser/issues' }
  end

  gem.authors       = ['<NAME>']
  gem.email         = ['<EMAIL>']

  gem.license       = 'MIT'

  gem.require_paths = ['lib']

  gem.files         = Dir.glob('{lib,test}/**/*.rb') +
                      Dir.glob('lib/**/*.rl') +
                      %w(Gemfile Rakefile LICENSE README.md ChangeLog regexp_parser.gemspec)

  gem.test_files    = Dir.glob('test/**/*.rb')

  gem.rdoc_options  = ["--inline-source", "--charset=UTF-8"]

  gem.platform      = Gem::Platform::RUBY

  gem.required_ruby_version = '>= 1.9.1'
end
{'fraction_non_alphanumeric': 0.16228070175438597, 'fraction_numerical': 0.004824561403508772, 'mean_word_length': 2.727124183006536, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '7620759', 'n_tokens_mistral': 807, 'n_tokens_neox': 756, 'n_words': 138}