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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a10d35b4824401e5731ad470bbdc042ee63a11e9df5abd1eec5552005e44f25f
4
- data.tar.gz: 28859b54116afb3847fcc96a32260aa00f8deb3d02135149a219d14fe58f4261
3
+ metadata.gz: 9fc4d66127ccaa7f2a28e6a7de2a6c1f319b078783e8361febbb4fc9a093211d
4
+ data.tar.gz: 388985f1b51fe5afd61b1e32033f303f74fceee1d84af8939511703ab6fc3147
5
5
  SHA512:
6
- metadata.gz: a78047b2e601f90fe6008ebfb2ea0c440e4168ee9493fcd5f6ad83108a752fabfec9f957d0892b302565a0549220179e3a796dc9bc0fd7ab35ccfd9db61bffd9
7
- data.tar.gz: fdc98737aed0b3fcc042cb745b6093d2a17790705932096df952ff48e8eea714275f57a3a9f9313d60e5fb5fc4798da23e5af8695e5e914c7aa08c79cc5074a4
6
+ metadata.gz: f7e12fabb51be908626346c60fcfe944cbd4e77ea6e9a09c7b48ad47ec6950afde0bd12fcb7b703d975de68d920a0e2844314d495fcc61716a75c375d30ba82b
7
+ data.tar.gz: b040b33e65b875e4794748ee00c7cabfd006278923c8dd96d6fad4b8e28ce32579407432047d13d19d998a7320dda59bb3e82e53b14d2e34f4ac662b60b190fb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spektr (0.3.0)
4
+ spektr (0.3.1)
5
5
  activesupport (~> 6.1.0)
6
6
  erubi
7
7
  haml (~> 5.1)
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:, root: './')
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)
@@ -1,3 +1,3 @@
1
1
  module Spektr
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spektr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Molnar