<commit_before># frozen_string_literal: true

version = File.read(File.expand_path('VERSION', __dir__)).strip

Gem::Specification.new do |s|
  s.required_ruby_version = '>= 2.4.0'
  s.name        = 'license_finder'
  s.version     = version

  s.authors = [
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>'
  ]

  s.email       = ['<EMAIL>']
  s.homepage    = 'https://github.com/pivotal/LicenseFinder'
  s.summary     = "Audit the OSS licenses of your application's dependencies."

  s.description = <<-DESCRIPTION
    LicenseFinder works with your package managers to find
    dependencies, detect the licenses of the packages in them, compare
    those licenses against a user-defined list of permitted licenses,
    and give you an actionable exception report.
  DESCRIPTION

  s.license = 'MIT'

  s.add_dependency 'bundler'
  s.add_dependency 'rubyzip', '>=1', '<3'
  s.add_dependency 'thor', '~> 1.2'
  s.add_dependency 'tomlrb', '>= 1.3', '< 2.1'
  s.add_dependency 'with_env', '1.1.0'
  s.add_dependency 'xml-simple', '~> 1.1.9'

  s.add_development_dependency 'addressable', '2.8.0'
  s.add_development_dependency 'capybara', '~> 3.32.2'
  s.add_development_dependency 'cocoapods', '>= 1.0.0' if RUBY_PLATFORM.match?(/darwin/)
  s.add_development_dependency 'e2mmap', '~> 0.1.0'
  s.add_development_dependency 'fakefs', '~> 1.4.1'
  s.add_development_dependency 'matrix', '~> 0.1.0'
  s.add_development_dependency 'mime-types', '3.4.1'
  s.add_development_dependency 'pry', '~> 0.14.1'
  s.add_development_dependency 'rake', '~> 13.0.6'
  s.add_development_dependency 'rspec', '~> 3'
  s.add_development_dependency 'rspec-its', '~> 1.3.0'
  s.add_development_dependency 'rubocop', '~> 1.12.1'
  s.add_development_dependency 'rubocop-performance', '~> 1.13.2'
  s.add_development_dependency 'webmock', '~> 3.14'

  s.add_development_dependency 'nokogiri', '~>1.10'
  s.add_development_dependency 'rack', '~> 2.2.3'
  s.add_development_dependency 'rack-test', '~> 1.1.0', '> 0.7'

  s.files         = `git ls-files`.split("\n").reject { |f| f.start_with?('spec', 'features') }
  s.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
end<commit_msg>Fix rubocop version for ruby 2.4<commit_after># frozen_string_literal: true

version = File.read(File.expand_path('VERSION', __dir__)).strip

Gem::Specification.new do |s|
  s.required_ruby_version = '>= 2.4.0'
  s.name        = 'license_finder'
  s.version     = version

  s.authors = [
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>',
    '<NAME>'
  ]

  s.email       = ['<EMAIL>']
  s.homepage    = 'https://github.com/pivotal/LicenseFinder'
  s.summary     = "Audit the OSS licenses of your application's dependencies."

  s.description = <<-DESCRIPTION
    LicenseFinder works with your package managers to find
    dependencies, detect the licenses of the packages in them, compare
    those licenses against a user-defined list of permitted licenses,
    and give you an actionable exception report.
  DESCRIPTION

  s.license = 'MIT'

  s.add_dependency 'bundler'
  s.add_dependency 'rubyzip', '>=1', '<3'
  s.add_dependency 'thor', '~> 1.2'
  s.add_dependency 'tomlrb', '>= 1.3', '< 2.1'
  s.add_dependency 'with_env', '1.1.0'
  s.add_dependency 'xml-simple', '~> 1.1.9'

  s.add_development_dependency 'addressable', '2.8.0'
  s.add_development_dependency 'capybara', '~> 3.32.2'
  s.add_development_dependency 'cocoapods', '>= 1.0.0' if RUBY_PLATFORM.match?(/darwin/)
  s.add_development_dependency 'e2mmap', '~> 0.1.0'
  s.add_development_dependency 'fakefs', '~> 1.4.1'
  s.add_development_dependency 'matrix', '~> 0.1.0'
  s.add_development_dependency 'mime-types', '3.4.1'
  s.add_development_dependency 'pry', '~> 0.14.1'
  s.add_development_dependency 'rake', '~> 13.0.6'
  s.add_development_dependency 'rspec', '~> 3'
  s.add_development_dependency 'rspec-its', '~> 1.3.0'
  s.add_development_dependency 'rubocop', '~> 1.12.1'
  s.add_development_dependency 'rubocop-performance', '~> 1.10.2'
  s.add_development_dependency 'webmock', '~> 3.14'

  s.add_development_dependency 'nokogiri', '~>1.10'
  s.add_development_dependency 'rack', '~> 2.2.3'
  s.add_development_dependency 'rack-test', '~> 1.1.0', '> 0.7'

  s.files         = `git ls-files`.split("\n").reject { |f| f.start_with?('spec', 'features') }
  s.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
end
{'fraction_non_alphanumeric': 0.18911115693957517, 'fraction_numerical': 0.030934213239843265, 'mean_word_length': 3.5284780578898225, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 87, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '733354', 'n_tokens_mistral': 1990, 'n_tokens_neox': 1891, 'n_words': 352}