spectre-core 1.8.3 → 1.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/spectre +11 -4
- data/lib/spectre.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7998a15470727e16f944045357a1e089ea6a120bc5c10f8a9986dbb98bf52c54
|
4
|
+
data.tar.gz: 4c2ad03dfad8712359cf715f86f2eabc81e485c1f57619b8c257930d39d48140
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef2767b0d3dd65ff86a0925fbe08bd2b93c408f6e808c03f52389ca5eae9b0b324db92e04ce8f26dcef3c84a077b85a4789ea687a774fd49340998016afff3db
|
7
|
+
data.tar.gz: 61f62091ebbef3ed05b3cdd0aa4ae2a172b31a42dbc97f32eca0736b8ab1928b7d4a04262f793035653c95484aa26ec0cecacdd8a122a750df43fc0ff8e1db7c
|
data/exe/spectre
CHANGED
@@ -303,12 +303,19 @@ if action == 'run'
|
|
303
303
|
.select { |mod| !cfg['exclude'].include? mod }
|
304
304
|
.each do |mod|
|
305
305
|
begin
|
306
|
-
|
307
|
-
|
308
|
-
|
306
|
+
spectre_lib_mod = File.join('../lib', mod)
|
307
|
+
|
308
|
+
if File.exists? mod
|
309
309
|
require_relative mod
|
310
|
+
|
311
|
+
elsif File.exists? spectre_lib_mod
|
312
|
+
require_relative spectre_lib_mod
|
313
|
+
|
314
|
+
else
|
315
|
+
require mod
|
310
316
|
end
|
311
|
-
|
317
|
+
|
318
|
+
rescue LoadError => e
|
312
319
|
puts "Unable to load module #{mod}. Check if the module exists or remove it from your spectre config:\n#{e.message}"
|
313
320
|
exit 1
|
314
321
|
end
|
data/lib/spectre.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectre-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Neubauer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ectoplasm
|