<commit_before>$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "shackles/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "shackles"
  s.version     = Shackles::VERSION
  s.authors     = ["<NAME>"]
  s.email       = "<EMAIL>"
  s.homepage    = "http://github.com/instructure/shackles"
  s.summary     = "ActiveRecord database environment switching for slaves and least-privilege"
  s.description = "Allows multiple environments in database.yml, and dynamically switching them."
  s.license     = "MIT"

  s.files = Dir["lib/**/*"] + ["LICENSE", "README.md"]
  s.test_files = Dir["spec/**/*"]

  s.required_ruby_version = '>= 2.0'

  s.add_dependency "activerecord", ">= 4.0", "< 5.1"

  s.add_development_dependency "appraisal"
  s.add_development_dependency "byebug"
  s.add_development_dependency "mocha"
  s.add_development_dependency "rspec", "~> 3.0"
  s.add_development_dependency "sqlite3"
end
<commit_msg>add railties as an explicit dependency<commit_after>$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "shackles/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "shackles"
  s.version     = Shackles::VERSION
  s.authors     = ["<NAME>"]
  s.email       = "<EMAIL>"
  s.homepage    = "http://github.com/instructure/shackles"
  s.summary     = "ActiveRecord database environment switching for slaves and least-privilege"
  s.description = "Allows multiple environments in database.yml, and dynamically switching them."
  s.license     = "MIT"

  s.files = Dir["lib/**/*"] + ["LICENSE", "README.md"]
  s.test_files = Dir["spec/**/*"]

  s.required_ruby_version = '>= 2.0'

  s.add_dependency "activerecord", ">= 4.0", "< 5.1"
  s.add_dependency "railties", ">= 4.0", "< 5.1"

  s.add_development_dependency "appraisal"
  s.add_development_dependency "byebug"
  s.add_development_dependency "mocha"
  s.add_development_dependency "rspec", "~> 3.0"
  s.add_development_dependency "sqlite3"
end

{'fraction_non_alphanumeric': 0.1491395793499044, 'fraction_numerical': 0.010516252390057362, 'mean_word_length': 3.901639344262295, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 14, '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': '2683937', 'n_tokens_mistral': 765, 'n_tokens_neox': 708, 'n_words': 157}