# frozen_string_literal: true

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

Gem::Specification.new do |spec|
  spec.name = "mihari"
  spec.version = Mihari::VERSION
  spec.authors = ["Manabu Niseki"]
  spec.email = ["manabu.niseki@gmail.com"]

  spec.summary = "A framework for continuous OSINT based threat hunting"
  spec.homepage = "https://github.com/ninoseki/mihari"
  spec.license = "MIT"

  spec.required_ruby_version = ">= 2.7"

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir = "exe"
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 2.2"
  spec.add_development_dependency "coveralls_reborn", "~> 0.22"
  spec.add_development_dependency "fakefs", "~> 1.3"
  spec.add_development_dependency "mysql2", "~> 0.5"
  spec.add_development_dependency "overcommit", "~> 0.58"
  spec.add_development_dependency "pg", "~> 1.2"
  spec.add_development_dependency "rack-test", "~> 1.1"
  spec.add_development_dependency "rake", "~> 13.0"
  spec.add_development_dependency "rspec", "~> 3.10"
  spec.add_development_dependency "standard", "~> 1.1"
  spec.add_development_dependency "timecop", "~> 0.9"
  spec.add_development_dependency "vcr", "~> 6.0"
  spec.add_development_dependency "webmock", "~> 3.13"

  spec.add_dependency "active_model_serializers", "~> 0.10"
  spec.add_dependency "activerecord", "~> 6.1"
  spec.add_dependency "activerecord-filter", "~> 6.1"
  spec.add_dependency "addressable", "~> 2.7"
  spec.add_dependency "awrence", "~> 1.2"
  spec.add_dependency "binaryedge", "~> 0.1"
  spec.add_dependency "censysx", "~> 0.1"
  spec.add_dependency "colorize", "~> 0.8"
  spec.add_dependency "crtsh-rb", "~> 0.3"
  spec.add_dependency "cymbal", "~> 2.0"
  spec.add_dependency "dnpedia", "~> 0.1"
  spec.add_dependency "dnstwister", "~> 0.1"
  spec.add_dependency "dry-configurable", "~> 0.12"
  spec.add_dependency "dry-files", "~> 0.1"
  spec.add_dependency "dry-initializer", "~> 3.0"
  spec.add_dependency "dry-validation", "~> 1.6"
  spec.add_dependency "email_address", "~> 0.1"
  spec.add_dependency "hachi", "~> 1.0"
  spec.add_dependency "launchy", "~> 2.5"
  spec.add_dependency "mem", "~> 0.1"
  spec.add_dependency "misp", "~> 0.1"
  spec.add_dependency "net-ping", "~> 2.0"
  spec.add_dependency "onyphe", "~> 2.0"
  spec.add_dependency "otx_ruby", "~> 0.9"
  spec.add_dependency "parallel", "~> 1.20"
  spec.add_dependency "passive_circl", "~> 0.1"
  spec.add_dependency "passivetotalx", "~> 0.1"
  spec.add_dependency "public_suffix", "~> 4.0"
  spec.add_dependency "pulsedive", "~> 0.1"
  spec.add_dependency "puma", "~> 5.3"
  spec.add_dependency "rack", "~> 2.2"
  spec.add_dependency "rack-contrib", "~> 2.3"
  spec.add_dependency "safe_shell", "~> 1.1"
  spec.add_dependency "securitytrails", "~> 1.0"
  spec.add_dependency "shodanx", "~> 0.2"
  spec.add_dependency "sinatra", "~> 2.1"
  spec.add_dependency "sinatra-contrib", "~> 2.1"
  spec.add_dependency "sinatra-param", "~> 1.6"
  spec.add_dependency "slack-notifier", "~> 2.4"
  spec.add_dependency "spysex", "~> 0.1"
  spec.add_dependency "sqlite3", "~> 1.4"
  spec.add_dependency "thor", "~> 1.1"
  spec.add_dependency "thread_safe", "~> 0.3"
  spec.add_dependency "urlscan", "~> 0.7"
  spec.add_dependency "uuidtools", "~> 2.2"
  spec.add_dependency "virustotalx", "~> 1.1"
  spec.add_dependency "zoomeye-rb", "~> 0.2"
end
