spektr 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/spektr/app.rb +2 -2
- data/lib/spektr/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: 9fc4d66127ccaa7f2a28e6a7de2a6c1f319b078783e8361febbb4fc9a093211d
|
4
|
+
data.tar.gz: 388985f1b51fe5afd61b1e32033f303f74fceee1d84af8939511703ab6fc3147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7e12fabb51be908626346c60fcfe944cbd4e77ea6e9a09c7b48ad47ec6950afde0bd12fcb7b703d975de68d920a0e2844314d495fcc61716a75c375d30ba82b
|
7
|
+
data.tar.gz: b040b33e65b875e4794748ee00c7cabfd006278923c8dd96d6fad4b8e28ce32579407432047d13d19d998a7320dda59bb3e82e53b14d2e34f4ac662b60b190fb
|
data/Gemfile.lock
CHANGED
data/lib/spektr/app.rb
CHANGED
@@ -7,7 +7,7 @@ module Spektr
|
|
7
7
|
@@parser ||= Parser::CurrentRuby
|
8
8
|
end
|
9
9
|
|
10
|
-
def initialize(checks:, ignore
|
10
|
+
def initialize(checks:, ignore: [], root: './')
|
11
11
|
@root = root
|
12
12
|
@checks = checks
|
13
13
|
@controllers = []
|
@@ -17,7 +17,7 @@ module Spektr
|
|
17
17
|
app: {},
|
18
18
|
advisories: []
|
19
19
|
}
|
20
|
-
@ignore = ignore
|
20
|
+
@ignore = ignore
|
21
21
|
@ruby_version = '2.7.1'
|
22
22
|
version_file = File.join(root, '.ruby-version')
|
23
23
|
@ruby_version = File.read(version_file).lines.first if File.exist?(version_file)
|
data/lib/spektr/version.rb
CHANGED