-
Notifications
You must be signed in to change notification settings - Fork 101
/
Copy pathmihari.gemspec
121 lines (109 loc) · 5.01 KB
/
mihari.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "mihari/version"
def ci_env?
# CI=true in GitHub Actions
ENV["CI"]
end
Gem::Specification.new do |spec|
spec.name = "mihari"
spec.version = Mihari::VERSION
spec.authors = ["Manabu Niseki"]
spec.email = ["[email protected]"]
spec.summary = "A query aggregator for OSINT based threat hunting"
spec.homepage = "https://github.com/ninoseki/mihari"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2"
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.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(.github|.vscode|docs|docker|frontend|images|spec|)/}) }
end
# Include frontend assets in lib/mihari/web/public
spec.files += Dir.glob("lib/mihari/web/public/**/*")
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.1"
spec.add_development_dependency "binding_of_caller", "~> 1.0.1"
spec.add_development_dependency "bundler", "~> 2.5"
spec.add_development_dependency "capybara", "~> 3.40"
spec.add_development_dependency "factory_bot", "~> 6.5.0"
spec.add_development_dependency "fakefs", "~> 2.8.0"
spec.add_development_dependency "faker", "~> 3.5.1"
spec.add_development_dependency "fuubar", "~> 2.5.1"
spec.add_development_dependency "mysql2", "~> 0.5.6"
spec.add_development_dependency "pg", "~> 1.5.9"
spec.add_development_dependency "rack-test", "~> 2.2"
spec.add_development_dependency "rake", "~> 13.2.1"
spec.add_development_dependency "rb-fsevent", "~> 0.11.2"
spec.add_development_dependency "rerun", "~> 0.14"
spec.add_development_dependency "rspec-httpbin", "~> 0.1.0"
spec.add_development_dependency "rspec-parameterized", "~> 1.0.2"
spec.add_development_dependency "rspec", "~> 3.13"
spec.add_development_dependency "rubocop-capybara", "~> 2.21"
spec.add_development_dependency "rubocop-factory_bot", "~> 2.26.1"
spec.add_development_dependency "rubocop-rake", "~> 0.6"
spec.add_development_dependency "rubocop-rspec", "~> 3.3.0"
spec.add_development_dependency "rubocop-yard", "~> 0.10.0"
spec.add_development_dependency "simplecov-lcov", "~> 0.8"
spec.add_development_dependency "simplecov", "~> 0.22"
spec.add_development_dependency "standard", "~> 1.43.0"
spec.add_development_dependency "test-prof", "~> 1.4.4"
spec.add_development_dependency "timecop", "~> 0.9.10"
spec.add_development_dependency "vcr", "~> 6.3.1"
spec.add_development_dependency "webmock", "~> 3.24.0"
unless ci_env?
spec.add_development_dependency "lefthook", "~> 1.10.1"
spec.add_development_dependency "ruby-lsp-rspec", "~> 0.1.12"
spec.add_development_dependency "solargraph", "~> 0.50"
end
spec.add_dependency "activerecord", "8.0.1"
spec.add_dependency "addressable", "~> 2.8"
spec.add_dependency "anyway_config", "2.6.4"
spec.add_dependency "awrence", "3.0.0"
spec.add_dependency "csv", "~> 3.3"
spec.add_dependency "dotenv", "3.1.7"
spec.add_dependency "dry-container", "0.11.0"
spec.add_dependency "dry-files", "1.1.0"
spec.add_dependency "dry-monads", "1.7.0"
spec.add_dependency "dry-schema", "1.14.0"
spec.add_dependency "dry-struct", "1.7.0"
spec.add_dependency "dry-validation", "1.11.0"
spec.add_dependency "email_address", "0.2.4"
spec.add_dependency "grape", "2.2.0"
spec.add_dependency "grape-entity", "1.0.1"
spec.add_dependency "grape-swagger", "2.1.2"
spec.add_dependency "grape-swagger-entity", "0.5.5"
spec.add_dependency "http", "5.2.0"
spec.add_dependency "jbuilder", "2.13.0"
spec.add_dependency "jr-cli", "0.6.0"
spec.add_dependency "launchy", "3.0.1"
spec.add_dependency "memo_wise", "1.10.0"
spec.add_dependency "normalize_country", "0.3.2"
spec.add_dependency "parallel", "1.26.3"
spec.add_dependency "plissken", "3.0.0"
spec.add_dependency "public_suffix", "6.0.1"
spec.add_dependency "puma", "6.5.0"
spec.add_dependency "rack", "3.1.8"
spec.add_dependency "rack-cors", "2.0.2"
spec.add_dependency "rack-session", "2.1.0"
spec.add_dependency "rackup", "2.2.1"
spec.add_dependency "search_cop", "1.4.0"
spec.add_dependency "semantic_logger", "4.16.1"
spec.add_dependency "sentry-ruby", "~> 5.22.1"
spec.add_dependency "sentry-sidekiq", "~> 5.22.1"
spec.add_dependency "sidekiq", "7.3.7"
spec.add_dependency "stringio", "~> 3.1"
spec.add_dependency "slack-notifier", "2.4.0"
spec.add_dependency "sqlite3", "~> 2.5"
spec.add_dependency "thor", "1.3.2"
spec.add_dependency "thor-hollaback", "0.2.1"
spec.add_dependency "tilt", "2.5.0"
spec.add_dependency "tilt-jbuilder", "0.7.1"
spec.add_dependency "uuidtools", "2.2.0"
spec.add_dependency "whois", "6.0.1"
spec.add_dependency "whois-parser", "2.0.0"
end