mihari 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mihari/cli.rb +5 -1
- data/lib/mihari/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44cc5eea0746aa47918f5102cf4834fcd436b67f371b37f8a1e4fe6999902c82
|
4
|
+
data.tar.gz: e0dd701f1d5b705239d73125ca8865fa15c949d4b62cb59a2c9beef8e01e363d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36722428cc688eaefd3f293f1de99db20b8671945082b1d5f1d08d61c9b977491e46f45122311010650d80b1f0077dd7ec9323e304c02fdcf9c4fc1b22c66672
|
7
|
+
data.tar.gz: ad9e0603040bc4069194df7f21c0963e096beaa3e6e2ac13ea0d66803217619b885f3afef4624c0c45ae4282c64f8bda905bf61d8c564f9aef8c7a5b33bb2dca
|
data/lib/mihari/cli.rb
CHANGED
@@ -286,7 +286,11 @@ module Mihari
|
|
286
286
|
|
287
287
|
def load_configuration
|
288
288
|
config = options["config"]
|
289
|
-
|
289
|
+
return unless config
|
290
|
+
|
291
|
+
Config.load_from_yaml(config)
|
292
|
+
# reload database settings
|
293
|
+
load File.expand_path("./database.rb", __dir__)
|
290
294
|
end
|
291
295
|
|
292
296
|
def run_analyzer(analyzer_class, query:, options:)
|
data/lib/mihari/version.rb
CHANGED