<commit_before>lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'active_record/acts_as/version'

Gem::Specification.new do |spec|
  spec.name          = "active_record-acts_as"
  spec.version       = ActiveRecord::ActsAs::VERSION
  spec.authors       = ["<NAME>", "<NAME>"]
  spec.email         = ["<EMAIL>", "<EMAIL>"]
  spec.summary       = %q{Simulate multi-table inheritance for activerecord models}
  spec.description   = %q{Simulate multi-table inheritance for activerecord models using a polymorphic association}
  spec.homepage      = "http://github.com/krautcomputing/active_record-acts_as"
  spec.license       = "MIT"

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

  spec.required_ruby_version = ">= 2.2"

  spec.add_development_dependency "sqlite3", "~> 1.3"
  spec.add_development_dependency "bundler", "~> 1.6"
  spec.add_development_dependency "rspec", "~> 3"
  spec.add_development_dependency "rake", "~> 10"
  spec.add_development_dependency "appraisal", "~> 2.1"
  spec.add_development_dependency "guard-rspec", "~> 4.7"

  spec.add_dependency "activesupport", ">= 4.2"
  spec.add_dependency "activerecord", ">= 4.2"
end<commit_msg>Restrict active_record version from 5.2.2 onwards<commit_after>lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'active_record/acts_as/version'

Gem::Specification.new do |spec|
  spec.name          = "active_record-acts_as"
  spec.version       = ActiveRecord::ActsAs::VERSION
  spec.authors       = ["<NAME>", "<NAME>"]
  spec.email         = ["<EMAIL>", "<EMAIL>"]
  spec.summary       = %q{Simulate multi-table inheritance for activerecord models}
  spec.description   = %q{Simulate multi-table inheritance for activerecord models using a polymorphic association}
  spec.homepage      = "http://github.com/krautcomputing/active_record-acts_as"
  spec.license       = "MIT"

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

  spec.required_ruby_version = ">= 2.2"

  spec.add_development_dependency "sqlite3", "~> 1.3"
  spec.add_development_dependency "bundler", "~> 1.6"
  spec.add_development_dependency "rspec", "~> 3"
  spec.add_development_dependency "rake", "~> 10"
  spec.add_development_dependency "appraisal", "~> 2.1"
  spec.add_development_dependency "guard-rspec", "~> 4.7"

  spec.add_dependency "activesupport", ">= 4.2", "< 5.2.2.rc1"
  spec.add_dependency "activerecord", ">= 4.2", "< 5.2.2.rc1"
end
{'fraction_non_alphanumeric': 0.16292134831460675, 'fraction_numerical': 0.01720505617977528, 'mean_word_length': 4.051418439716312, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 29, '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': '3490204', 'n_tokens_mistral': 1083, 'n_tokens_neox': 984, 'n_words': 170}