<commit_before># frozen_string_literal: true

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "hanami/version"

Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
  spec.name          = "hanami"
  spec.version       = Hanami::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]
  spec.summary       = "The web, with simplicity"
  spec.description   = "Hanami is a web framework for Ruby"
  spec.homepage      = "http://hanamirb.org"
  spec.license       = "MIT"

  spec.files         = `git ls-files -c -o --exclude-standard -z -- lib/* bin/* LICENSE.md README.md CODE_OF_CONDUCT.md CHANGELOG.md FEATURES.md hanami.gemspec`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test)/})
  spec.require_paths = ["lib"]
  spec.required_ruby_version = ">= 2.6.0"

  spec.metadata["allowed_push_host"] = "https://rubygems.org"

  spec.add_dependency "bundler",           ">= 1.16", "< 3"
  spec.add_dependency "dry-cli",           "~> 0.6"
  spec.add_dependency "dry-core",          "~> 0.4"
  spec.add_dependency "dry-inflector",     "~> 0.1", ">= 0.1.2"
  spec.add_dependency "dry-monitor"
  spec.add_dependency "dry-system",        "~> 0.19", ">= 0.19.0"
  spec.add_dependency "hanami-cli",        "~> 2.0.alpha"
  spec.add_dependency "hanami-controller", "~> 2.0.alpha"
  spec.add_dependency "hanami-router",     "~> 2.0.alpha"
  spec.add_dependency "hanami-utils",      "~> 2.0.alpha"
  spec.add_dependency "hanami-view",       "~> 2.0.alpha"
  spec.add_dependency "zeitwerk",          "~> 2.4"

  spec.add_development_dependency "rspec",     "~> 3.8"
  spec.add_development_dependency "rack-test", "~> 1.1"
  spec.add_development_dependency "rake",      "~> 13.0"
end<commit_msg>Make web-specific gems optional (#1102)<commit_after># frozen_string_literal: true

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "hanami/version"

Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
  spec.name          = "hanami"
  spec.version       = Hanami::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]
  spec.summary       = "The web, with simplicity"
  spec.description   = "Hanami is a web framework for Ruby"
  spec.homepage      = "http://hanamirb.org"
  spec.license       = "MIT"

  spec.files         = `git ls-files -c -o --exclude-standard -z -- lib/* bin/* LICENSE.md README.md CODE_OF_CONDUCT.md CHANGELOG.md FEATURES.md hanami.gemspec`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test)/})
  spec.require_paths = ["lib"]
  spec.required_ruby_version = ">= 2.6.0"

  spec.metadata["allowed_push_host"] = "https://rubygems.org"

  spec.add_dependency "bundler",           ">= 1.16", "< 3"
  spec.add_dependency "dry-core",          "~> 0.4"
  spec.add_dependency "dry-inflector",     "~> 0.1", ">= 0.1.2"
  spec.add_dependency "dry-monitor"
  spec.add_dependency "dry-system",        "~> 0.19", ">= 0.19.0"
  spec.add_dependency "hanami-cli",        "~> 2.0.alpha"
  spec.add_dependency "hanami-utils",      "~> 2.0.alpha"
  spec.add_dependency "zeitwerk",          "~> 2.4"

  spec.add_development_dependency "rspec",     "~> 3.8"
  spec.add_development_dependency "rack-test", "~> 1.1"
  spec.add_development_dependency "rake",      "~> 13.0"
end
{'fraction_non_alphanumeric': 0.17555303460011346, 'fraction_numerical': 0.023255813953488372, 'mean_word_length': 3.040091638029782, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 37, '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': '3571379', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1303, 'n_words': 223}