mihari.gemspec in mihari-5.7.2 vs mihari.gemspec in mihari-6.0.0
- old
+ new
@@ -8,25 +8,21 @@
def ci_env?
# CI=true in GitHub Actions
ENV["CI"]
end
-def is_ruby2?
- RUBY_VERSION.to_s.start_with?("2.")
-end
-
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 query aggregator for OSINT based threat hunting"
spec.homepage = "https://github.com/ninoseki/mihari"
spec.license = "MIT"
- spec.required_ruby_version = ">= 2.7"
+ spec.required_ruby_version = ">= 3.1"
spec.metadata["rubygems_mfa_required"] = "true"
# 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.
@@ -38,32 +34,34 @@
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
+ spec.add_development_dependency "better_errors", "~> 2.10"
+ spec.add_development_dependency "binding_of_caller", "~> 1.0"
spec.add_development_dependency "bundler", "~> 2.4"
spec.add_development_dependency "coveralls_reborn", "~> 0.28"
spec.add_development_dependency "fakefs", "~> 2.5"
spec.add_development_dependency "faker", "~> 3.2"
spec.add_development_dependency "fuubar", "~> 2.5"
spec.add_development_dependency "mysql2", "~> 0.5"
spec.add_development_dependency "pg", "~> 1.5"
spec.add_development_dependency "rack-test", "~> 2.1"
- spec.add_development_dependency "rake", "~> 13.0"
+ spec.add_development_dependency "rake", "~> 13.1"
spec.add_development_dependency "rb-fsevent", "~> 0.11"
spec.add_development_dependency "rerun", "~> 0.14"
spec.add_development_dependency "rspec", "~> 3.12"
+ spec.add_development_dependency "rspec-parameterized", "~> 1.0"
spec.add_development_dependency "rubocop-rspec", "~> 2.25"
+ spec.add_development_dependency "rubocop-yard", "~> 0.8"
spec.add_development_dependency "simplecov-lcov", "~> 0.8"
- spec.add_development_dependency "standard", "~> 1.31"
+ spec.add_development_dependency "standard", "~> 1.32"
spec.add_development_dependency "test-prof", "~> 1.2"
spec.add_development_dependency "timecop", "~> 0.9"
spec.add_development_dependency "vcr", "~> 6.2"
spec.add_development_dependency "webmock", "~> 3.19"
- spec.add_development_dependency "rubocop-yard", "~> 0.7" unless is_ruby2?
-
unless ci_env?
spec.add_development_dependency "lefthook", "~> 1.5"
spec.add_development_dependency "solargraph", "~> 0.49"
end
@@ -77,21 +75,21 @@
spec.add_dependency "dry-monads", "1.6.0"
spec.add_dependency "dry-schema", "1.13.3"
spec.add_dependency "dry-struct", "1.6.0"
spec.add_dependency "dry-validation", "1.10.0"
spec.add_dependency "email_address", "0.2.4"
- spec.add_dependency "grape", "1.8.0"
+ spec.add_dependency "grape", "2.0.0"
spec.add_dependency "grape-entity", "1.0.0"
- spec.add_dependency "grape-swagger", "1.6.1"
+ spec.add_dependency "grape-swagger", "2.0.0"
spec.add_dependency "grape-swagger-entity", "0.5.2"
spec.add_dependency "http", "5.1.1"
spec.add_dependency "jr-cli", "0.6.0"
spec.add_dependency "launchy", "2.5.2"
spec.add_dependency "memist", "2.0.2"
spec.add_dependency "normalize_country", "0.3.2"
spec.add_dependency "parallel", "1.23.0"
spec.add_dependency "plissken", "2.0.1"
- spec.add_dependency "public_suffix", "5.0.3"
+ spec.add_dependency "public_suffix", "5.0.4"
spec.add_dependency "puma", "6.4.0"
spec.add_dependency "rack", "3.0.8"
spec.add_dependency "rack-cors", "2.0.1"
spec.add_dependency "rackup", "2.1.0"
spec.add_dependency "semantic_logger", "4.15.0"