<commit_before># coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yt/annotations/version'

Gem::Specification.new do |spec|
  spec.name          = 'yt-annotations'
  spec.version       = Yt::Annotations::VERSION
  spec.authors       = ['claudiob']
  spec.email         = ['<EMAIL>']

  spec.summary       = %q{Fetch annotations and cards from YouTube videos.}
  spec.description   = %q{A Ruby library to retrieve every type of annotation from
    any YouTube video, including branding, featured content and info cards.}
  spec.homepage      = 'https://github.com/fullscreen/yt-annotations'
  spec.license       = 'MIT'

  spec.required_ruby_version = '>= 2.0'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'activesupport', '~> 4.0'

  spec.add_development_dependency 'bundler', '~> 1.7'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.3'
  spec.add_development_dependency 'coveralls', '~> 0.8.2'
  spec.add_development_dependency 'pry-nav', '~> 0.2.4'
end
<commit_msg>Allow gem to be used with ActiveSupport 5<commit_after># coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yt/annotations/version'

Gem::Specification.new do |spec|
  spec.name          = 'yt-annotations'
  spec.version       = Yt::Annotations::VERSION
  spec.authors       = ['claudiob']
  spec.email         = ['<EMAIL>']

  spec.summary       = %q{Fetch annotations and cards from YouTube videos.}
  spec.description   = %q{A Ruby library to retrieve every type of annotation from
    any YouTube video, including branding, featured content and info cards.}
  spec.homepage      = 'https://github.com/fullscreen/yt-annotations'
  spec.license       = 'MIT'

  spec.required_ruby_version = '>= 2.0'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'activesupport', '>= 4', '< 6'

  spec.add_development_dependency 'bundler', '~> 1.7'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.3'
  spec.add_development_dependency 'coveralls', '~> 0.8.2'
  spec.add_development_dependency 'pry-nav', '~> 0.2.4'
end

{'fraction_non_alphanumeric': 0.1584493789988709, 'fraction_numerical': 0.014678208505833647, 'mean_word_length': 3.5591766723842198, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 19, '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': '1270546', 'n_tokens_mistral': 971, 'n_tokens_neox': 906, 'n_words': 188}